Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 36) sorted by relevance

12

/illumos-kvm-cmd/target-alpha/
H A Dtranslate.c745 tcg_gen_andi_i64(cpu_fir[rc], cpu_fir[rc], 0x3fffffff); in gen_fcvtlq()
746 tcg_gen_or_i64(cpu_fir[rc], cpu_fir[rc], tmp); in gen_fcvtlq()
765 tcg_gen_shli_i64(cpu_fir[rc], cpu_fir[rc], 29); in gen_fcvtql()
766 tcg_gen_or_i64(cpu_fir[rc], cpu_fir[rc], tmp); in gen_fcvtql()
1203 gen_zapnoti(cpu_ir[rc], cpu_ir[rc], byte_mask); in gen_ext_h()
1225 gen_zapnoti(cpu_ir[rc], cpu_ir[rc], byte_mask); in gen_ext_l()
1264 tcg_gen_shri_i64(cpu_ir[rc], cpu_ir[rc], 1); in gen_ins_h()
1603 tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]); in translate_one()
1644 tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]); in translate_one()
1997 tcg_gen_andi_i64(cpu_ir[rc], cpu_ir[rc], in translate_one()
[all …]
/illumos-kvm-cmd/hw/
H A Dxen_domainbuild.c138 int rc; in xen_domain_poll() local
163 int fd[2], i, n, rc; in xen_domain_watcher() local
190 rc = read(fd[0], &byte, 1); in xen_domain_watcher()
191 switch (rc) { in xen_domain_watcher()
235 int rc; in xen_domain_build_pv() local
239 if (rc < 0) { in xen_domain_build_pv()
252 if (rc < 0) { in xen_domain_build_pv()
259 if (rc < 0) { in xen_domain_build_pv()
266 if (rc < 0) { in xen_domain_build_pv()
279 if (rc < 0) { in xen_domain_build_pv()
[all …]
H A Dioh3420.c99 int rc; in ioh3420_initfn() local
102 rc = pci_bridge_initfn(d); in ioh3420_initfn()
103 if (rc < 0) { in ioh3420_initfn()
104 return rc; in ioh3420_initfn()
115 if (rc < 0) { in ioh3420_initfn()
121 if (rc < 0) { in ioh3420_initfn()
125 if (rc < 0) { in ioh3420_initfn()
132 if (rc < 0) { in ioh3420_initfn()
134 return rc; in ioh3420_initfn()
138 if (rc < 0) { in ioh3420_initfn()
[all …]
H A Dxio3130_downstream.c63 int rc; in xio3130_downstream_initfn() local
66 rc = pci_bridge_initfn(d); in xio3130_downstream_initfn()
67 if (rc < 0) { in xio3130_downstream_initfn()
68 return rc; in xio3130_downstream_initfn()
79 if (rc < 0) { in xio3130_downstream_initfn()
84 if (rc < 0) { in xio3130_downstream_initfn()
89 if (rc < 0) { in xio3130_downstream_initfn()
96 rc = pcie_chassis_add_slot(s); in xio3130_downstream_initfn()
97 if (rc < 0) { in xio3130_downstream_initfn()
102 if (rc < 0) { in xio3130_downstream_initfn()
[all …]
H A Dxio3130_upstream.c59 int rc; in xio3130_upstream_initfn() local
62 rc = pci_bridge_initfn(d); in xio3130_upstream_initfn()
63 if (rc < 0) { in xio3130_upstream_initfn()
64 return rc; in xio3130_upstream_initfn()
75 if (rc < 0) { in xio3130_upstream_initfn()
78 rc = pci_bridge_ssvid_init(d, XIO3130_SSVID_OFFSET, in xio3130_upstream_initfn()
80 if (rc < 0) { in xio3130_upstream_initfn()
85 if (rc < 0) { in xio3130_upstream_initfn()
90 rc = pcie_aer_init(d, XIO3130_AER_OFFSET); in xio3130_upstream_initfn()
91 if (rc < 0) { in xio3130_upstream_initfn()
[all …]
H A Dxen_nic.c120 RING_IDX rc, rp; in net_tx_packets() local
125 rc = netdev->tx_ring.req_cons; in net_tx_packets()
129 while ((rc != rp)) { in net_tx_packets()
140 net_tx_error(netdev, &txreq, rc); in net_tx_packets()
145 net_tx_error(netdev, &txreq, rc); in net_tx_packets()
231 RING_IDX rc, rp; in net_rx_ok() local
236 rc = netdev->rx_ring.req_cons; in net_rx_ok()
240 if (rc == rp || RING_REQUEST_CONS_OVERFLOW(&netdev->rx_ring, rc)) { in net_rx_ok()
242 __FUNCTION__, rc, rp); in net_rx_ok()
252 RING_IDX rc, rp; in net_rx_packet() local
[all …]
H A Dxen_backend.c94 int rc = -1; in xenstore_read_int() local
98 rc = 0; in xenstore_read_int()
100 return rc; in xenstore_read_int()
151 int rc; in xen_be_set_state() local
154 if (rc < 0) in xen_be_set_state()
155 return rc; in xen_be_set_state()
383 int rc = 0; in xen_be_try_init() local
394 return rc; in xen_be_try_init()
427 return rc; in xen_be_try_connect()
492 rc = -1; in xen_be_check_state()
[all …]
H A Dusb-desc.c79 int i, rc, count; in usb_desc_config() local
97 if (rc < 0) { in usb_desc_config()
98 return rc; in usb_desc_config()
100 wTotalLength += rc; in usb_desc_config()
111 int i, rc, pos = 0; in usb_desc_iface() local
130 if (rc < 0) { in usb_desc_iface()
131 return rc; in usb_desc_iface()
133 pos += rc; in usb_desc_iface()
138 if (rc < 0) { in usb_desc_iface()
139 return rc; in usb_desc_iface()
[all …]
H A Ddec_pci.c55 int rc; in dec_21154_initfn() local
57 rc = pci_bridge_initfn(dev); in dec_21154_initfn()
58 if (rc < 0) { in dec_21154_initfn()
59 return rc; in dec_21154_initfn()
H A Dxen_disk.c309 int i, rc, len = 0; in ioreq_runio_qemu_sync() local
321 rc = bdrv_read(blkdev->bs, pos / BLOCK_SIZE, in ioreq_runio_qemu_sync()
324 if (rc != 0) { in ioreq_runio_qemu_sync()
340 rc = bdrv_write(blkdev->bs, pos / BLOCK_SIZE, in ioreq_runio_qemu_sync()
343 if (rc != 0) { in ioreq_runio_qemu_sync()
501 memcpy(&ioreq->req, RING_GET_REQUEST(&blkdev->rings.native, rc), in blk_get_request()
518 RING_IDX rc, rp; in blk_handle_requests() local
523 rc = blkdev->rings.common.req_cons; in blk_handle_requests()
529 while (rc != rp) { in blk_handle_requests()
538 blk_get_request(blkdev, ioreq, rc); in blk_handle_requests()
[all …]
H A Dscsi-bus.c38 int rc = -1; in scsi_qdev_init() local
58 rc = dev->info->init(dev); in scsi_qdev_init()
59 if (rc != 0) { in scsi_qdev_init()
64 return rc; in scsi_qdev_init()
382 int rc; in scsi_req_parse() local
385 rc = scsi_req_stream_length(req, buf); in scsi_req_parse()
387 rc = scsi_req_length(req, buf); in scsi_req_parse()
389 if (rc != 0) in scsi_req_parse()
390 return rc; in scsi_req_parse()
H A Dxenfb.c365 int rc; in input_connect() local
372 if (rc != 0) in input_connect()
373 return rc; in input_connect()
871 int rc; in fb_connect() local
877 if (rc != 0) in fb_connect()
878 return rc; in fb_connect()
884 if (rc != 0) in fb_connect()
885 return rc; in fb_connect()
887 rc = xenfb_map_fb(fb); in fb_connect()
888 if (rc != 0) in fb_connect()
[all …]
H A Dapb_pci.c300 int rc; in apb_pci_bridge_initfn() local
302 rc = pci_bridge_initfn(dev); in apb_pci_bridge_initfn()
303 if (rc < 0) { in apb_pci_bridge_initfn()
304 return rc; in apb_pci_bridge_initfn()
H A Dusb-bus.c69 int rc; in usb_qdev_init() local
75 rc = dev->info->init(dev); in usb_qdev_init()
76 if (rc == 0 && dev->auto_attach) in usb_qdev_init()
78 return rc; in usb_qdev_init()
H A Dhda-audio.c480 bool rc; in hda_audio_input_cb() local
492 rc = hda_codec_xfer(&st->state->hda, st->stream, false, in hda_audio_input_cb()
494 if (!rc) { in hda_audio_input_cb()
506 bool rc; in hda_audio_output_cb() local
510 rc = hda_codec_xfer(&st->state->hda, st->stream, true, in hda_audio_output_cb()
512 if (!rc) { in hda_audio_output_cb()
H A Dpci.c1720 int devfn, rc; in pci_qdev_init() local
1740 rc = info->init(pci_dev); in pci_qdev_init()
1741 if (rc != 0) { in pci_qdev_init()
1743 return rc; in pci_qdev_init()
1757 rc = bus->hotplug(bus->hotplug_qdev, pci_dev, in pci_qdev_init()
1760 if (rc != 0) { in pci_qdev_init()
1763 return rc; in pci_qdev_init()
2213 int rc = -ENODEV; in pci_qdev_find_device() local
2218 rc = 0; in pci_qdev_find_device()
2222 rc = tmp; in pci_qdev_find_device()
[all …]
H A Dloader.c564 int rc, fd = -1; in rom_add_file() local
589 rc = read(fd, rom->data, rom->romsize); in rom_add_file()
590 if (rc != rom->romsize) { in rom_add_file()
592 rom->name, rc, rom->romsize); in rom_add_file()
H A Dscsi-disk.c1038 int rc; in scsi_send_command() local
1093 rc = scsi_disk_emulate_command(r, outbuf); in scsi_send_command()
1094 if (rc < 0) { in scsi_send_command()
1098 r->iov.iov_len = rc; in scsi_send_command()
1169 rc = bdrv_discard(s->bs, r->req.cmd.lba * s->cluster_size, in scsi_send_command()
1171 if (rc < 0) { in scsi_send_command()
/illumos-kvm-cmd/
H A Dqemu-sockets.c126 int slisten,rc,to,try_next; in inet_listen_opts() local
151 if (rc != 0) { in inet_listen_opts()
153 gai_strerror(rc)); in inet_listen_opts()
227 int sock,rc; in inet_connect_opts() local
247 if (0 != (rc = getaddrinfo(addr, port, &ai, &res))) { in inet_connect_opts()
249 gai_strerror(rc)); in inet_connect_opts()
297 int sock = -1, rc; in inet_dgram_opts() local
320 if (0 != (rc = getaddrinfo(addr, port, &ai, &peer))) { in inet_dgram_opts()
322 gai_strerror(rc)); in inet_dgram_opts()
344 if (0 != (rc = getaddrinfo(addr, port, &ai, &local))) { in inet_dgram_opts()
[all …]
H A Dqemu-config.c515 int rc, offset; in qemu_set_option() local
517 rc = sscanf(str, "%63[^.].%63[^.].%63[^=]%n", group, id, arg, &offset); in qemu_set_option()
518 if (rc < 3 || str[offset] != '=') { in qemu_set_option()
545 int rc, offset; in qemu_global_option() local
547 rc = sscanf(str, "%63[^.].%63[^=]%n", driver, property, &offset); in qemu_global_option()
548 if (rc < 2 || str[offset] != '=') { in qemu_global_option()
H A Dqemu-option.c643 int rc = 0; in qemu_opt_foreach() local
646 rc = func(opt->name, opt->str, opaque); in qemu_opt_foreach()
647 if (abort_on_failure && rc != 0) in qemu_opt_foreach()
650 return rc; in qemu_opt_foreach()
966 int rc = 0; in qemu_opts_foreach() local
971 rc |= func(opts, opaque); in qemu_opts_foreach()
972 if (abort_on_failure && rc != 0) in qemu_opts_foreach()
976 return rc; in qemu_opts_foreach()
H A Dqemu-kvm-x86.c588 int rc; in kvm_arch_load_regs() local
599 rc = kvm_put_msrs(env, level); in kvm_arch_load_regs()
600 if (rc < 0) { in kvm_arch_load_regs()
623 int rc; in kvm_arch_save_regs() local
634 rc = kvm_get_msrs(env); in kvm_arch_save_regs()
635 if (rc < 0) { in kvm_arch_save_regs()
/illumos-kvm-cmd/linux-user/
H A Dm68k-sim.c140 int rc; in do_m68k_simcall() local
142 rc = check_err(env, fstat(ARG(0), &s)); in do_m68k_simcall()
143 if (rc == 0) { in do_m68k_simcall()
/illumos-kvm-cmd/ui/
H A Dspice-core.c444 int rc; in add_channel() local
456 rc = spice_server_set_channel_security(spice_server, NULL, security); in add_channel()
458 rc = spice_server_set_channel_security(spice_server, value, security); in add_channel()
460 if (rc != 0) { in add_channel()
/illumos-kvm-cmd/pc-bios/
H A Dsmartos-gpxe.patch59 ( ( rc = multiboot_load_raw ( image, &hdr ) ) != 0 ) )
60 return rc;

Completed in 124 milliseconds

12