/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | time_data.c | 84 struct vm_data_xfer xfer = { in test_valid_read_time_data() local 91 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in test_valid_read_time_data() 102 struct vm_data_xfer xfer = { in test_valid_write_time_data() local 109 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) != 0) { in test_valid_write_time_data() 131 struct vm_data_xfer xfer = { in test_invalid_read_time_data() local 139 if (ioctl(vmfd, VM_DATA_READ, &xfer) == 0) { in test_invalid_read_time_data() 149 should_eq_u32("vdx_result_len", xfer.vdx_result_len, in test_invalid_read_time_data() 160 struct vm_data_xfer xfer = { in test_invalid_write_time_data() local 168 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) == 0) { in test_invalid_write_time_data() 178 should_eq_u32("vdx_result_len", xfer.vdx_result_len, in test_invalid_write_time_data() [all …]
|
H A D | import_vlapic.c | 49 struct vm_data_xfer xfer = { in test_ccr_clamp() local 58 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in test_ccr_clamp() 63 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) != 0) { in test_ccr_clamp() 77 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) != 0) { in test_ccr_clamp() 119 struct vm_data_xfer xfer = { in test_timer_icr_constraints() local 127 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in test_timer_icr_constraints() 145 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in test_timer_icr_constraints() 162 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) == 0) { in test_timer_icr_constraints()
|
H A D | pause_resume.c | 41 struct vm_data_xfer xfer = { in check_paused() local 51 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in check_paused()
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/ |
H A D | usbdi.h | 463 #define USB_GET_STATE(xfer) (usbd_xfer_state(xfer)) argument 557 void usbd_transfer_submit(struct usb_xfer *xfer); 558 void usbd_transfer_clear_stall(struct usb_xfer *xfer); 559 void usbd_transfer_drain(struct usb_xfer *xfer); 560 uint8_t usbd_transfer_pending(struct usb_xfer *xfer); 561 void usbd_transfer_start(struct usb_xfer *xfer); 562 void usbd_transfer_stop(struct usb_xfer *xfer); 574 usbd_xfer_old_frame_length(struct usb_xfer *xfer, usb_frcount_t frindex); 575 void usbd_xfer_status(struct usb_xfer *xfer, int *actlen, int *sumlen, 579 void *usbd_xfer_softc(struct usb_xfer *xfer); [all …]
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_mem.c | 88 bd_xfer_t *xfer = sda_cmd_data(cmdp); in sda_mem_done() local 91 bd_xfer_done(xfer, sda_mem_errno(errno)); in sda_mem_done() 96 sda_mem_rw(sda_slot_t *slot, bd_xfer_t *xfer, uint8_t cmd, uint16_t flags) in sda_mem_rw() argument 103 blkno = xfer->x_blkno; in sda_mem_rw() 104 nblks = xfer->x_nblks; in sda_mem_rw() 113 R1, xfer, KM_NOSLEEP); in sda_mem_rw() 119 cmdp->sc_dmah = xfer->x_dmah; in sda_mem_rw() 120 cmdp->sc_ndmac = xfer->x_ndmac; in sda_mem_rw() 121 cmdp->sc_dmac = xfer->x_dmac; in sda_mem_rw() 125 cmdp->sc_kvaddr = xfer->x_kaddr; in sda_mem_rw() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | usb_emul.c | 58 usb_data_xfer_append(struct usb_data_xfer *xfer, void *buf, int blen, in usb_data_xfer_append() argument 63 if (xfer->ndata >= USB_MAX_XFER_BLOCKS) in usb_data_xfer_append() 66 xb = &xfer->data[xfer->tail]; in usb_data_xfer_append() 73 xfer->ndata++; in usb_data_xfer_append() 74 xfer->tail = (xfer->tail + 1) % USB_MAX_XFER_BLOCKS; in usb_data_xfer_append()
|
H A D | usb_mouse.c | 315 umouse_request(void *scarg, struct usb_data_xfer *xfer) in umouse_request() argument 333 idx = xfer->head; in umouse_request() 334 for (i = 0; i < xfer->ndata; i++) { in umouse_request() 335 xfer->data[idx].bdone = 0; in umouse_request() 336 if (data == NULL && USB_DATA_OK(xfer,i)) { in umouse_request() 337 data = &xfer->data[idx]; in umouse_request() 341 xfer->data[idx].processed = 1; in umouse_request() 348 if (!xfer->ureq) { in umouse_request() 353 value = UGETW(xfer->ureq->wValue); in umouse_request() 354 index = UGETW(xfer->ureq->wIndex); in umouse_request() [all …]
|
H A D | pci_xhci.c | 1572 pci_xhci_xfer_complete(struct pci_xhci_softc *sc, struct usb_data_xfer *xfer, in pci_xhci_xfer_complete() argument 1599 for (i = xfer->head; xfer->ndata > 0; ) { in pci_xhci_xfer_complete() 1600 evtrb.qwTrb0 = (uint64_t)xfer->data[i].hci_data; in pci_xhci_xfer_complete() 1606 i, xfer->data[i].processed, xfer->data[i].blen, in pci_xhci_xfer_complete() 1611 if (!xfer->data[i].processed) { in pci_xhci_xfer_complete() 1612 xfer->head = i; in pci_xhci_xfer_complete() 1616 xfer->ndata--; in pci_xhci_xfer_complete() 1617 edtla += xfer->data[i].bdone; in pci_xhci_xfer_complete() 1619 trb->dwTrb3 = (trb->dwTrb3 & ~0x1) | (xfer->data[i].ccs); in pci_xhci_xfer_complete() 1622 xfer->data[i].streamid, xfer->data[i].trbnext, in pci_xhci_xfer_complete() [all …]
|
H A D | usb_emul.h | 62 int (*ue_request)(void *sc, struct usb_data_xfer *xfer); 63 int (*ue_data)(void *sc, struct usb_data_xfer *xfer, int dir, 159 struct usb_data_xfer_block *usb_data_xfer_append(struct usb_data_xfer *xfer,
|
/illumos-gate/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 359 vioblk_map_discard(vioblk_t *vib, virtio_chain_t *vic, const bd_xfer_t *xfer) in vioblk_map_discard() argument 361 const dkioc_free_list_t *dfl = xfer->x_dfl; in vioblk_map_discard() 398 vioblk_request(vioblk_t *vib, bd_xfer_t *xfer, int type) in vioblk_request() argument 402 boolean_t polled = (xfer->x_flags & BD_XFER_POLL) != 0; in vioblk_request() 410 if (xfer->x_nblks > SIZE_MAX - xfer->x_blkno || in vioblk_request() 411 (xfer->x_blkno + xfer->x_nblks) > vib->vib_nblks) { in vioblk_request() 416 if ((vbr = vioblk_common_start(vib, type, xfer->x_blkno, polled)) == in vioblk_request() 420 vbr->vbr_xfer = xfer; in vioblk_request() 428 xfer->x_nblks > 0) { in vioblk_request() 433 for (uint_t n = 0; n < xfer->x_ndmac; n++) { in vioblk_request() [all …]
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nstoa.c | 86 char *xfer(), *prescan(); 150 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) == NULL) 320 char *xfer(); 343 return xfer(str, sbuf, o_atos(sbuf+2, addr->buf, addr->len) + 2, 351 return xfer(str, sbuf, x_atos(sbuf+2, addr->buf, addr->len) + 2, 355 base = xfer(str, addr->buf, 457 xfer(dest, src, len, max) in xfer() function
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 220 uscsi_xfer_t xfer; in uscsi_max_transfer() local 223 if (ioctl(dp->fd, USCSIMAXXFER, &xfer) < 0) { in uscsi_max_transfer() 241 if (xfer > SIZE_MAX) in uscsi_max_transfer() 242 xfer = SIZE_MAX; in uscsi_max_transfer() 244 *sizep = (size_t)xfer; in uscsi_max_transfer()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/ |
H A D | guest_tsc_adjust.c | 58 struct vm_data_xfer xfer = { in main() local 64 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in main() 71 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) != 0) { in main()
|
H A D | tsc_freq_ctrl.c | 91 struct vm_data_xfer xfer = { in do_freq_test() local 97 if (ioctl(vmfd, VM_DATA_WRITE, &xfer) != 0) { in do_freq_test() 217 struct vm_data_xfer xfer = { in main() local 223 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in main()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_fsctl_copychunk.c | 363 uint32_t xfer; in smb2_fsctl_copychunk_aapl() local 379 xfer = smb2_copychunk_max_seg; in smb2_fsctl_copychunk_aapl() 380 if (off + xfer > src_size) in smb2_fsctl_copychunk_aapl() 381 xfer = (uint32_t)(src_size - off); in smb2_fsctl_copychunk_aapl() 384 cc->length = xfer; in smb2_fsctl_copychunk_aapl() 398 ccr->TotalBytesWritten += xfer; in smb2_fsctl_copychunk_aapl() 400 off += xfer; in smb2_fsctl_copychunk_aapl()
|
H A D | smb2_fsctl_sparse.c | 303 uint32_t xfer; in smb2_sparse_copy() local 406 dst_ofile->f_node, dst_ofile, &uio, &xfer, 0); in smb2_sparse_copy() 411 ASSERT(xfer <= tsize); in smb2_sparse_copy() 413 src_off += xfer; in smb2_sparse_copy() 414 dst_off += xfer; in smb2_sparse_copy() 415 *residp -= xfer; in smb2_sparse_copy()
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | fsm.txt | 53 cdb | * * start-xfer start-xfer rd-intr-reason 54 datain | * * continue-xfer * rd-intr-reason 55 dataout | * * * continue-xfer rd-intr-reason
|
/illumos-gate/usr/src/common/fs/ |
H A D | pcfs.c | 277 uint_t count = 0, xfer, i; in bpcfs_read() local 319 xfer = MIN(SECSIZ - (off % SECSIZ), c - count); in bpcfs_read() 320 if (xfer == 0) in bpcfs_read() 327 dprintf("bpcfs_read: read %d bytes\n", xfer); in bpcfs_read() 329 (void) bcopy(&block[off % SECSIZ], b, xfer); in bpcfs_read() 330 count += xfer; in bpcfs_read() 331 off += xfer; in bpcfs_read() 332 b += xfer; in bpcfs_read()
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 147 int xfer; in tcp_print() local 154 if ((xfer = xfer_file(sockfd, pa, in tcp_print() 156 return (xfer); in tcp_print()
|
H A D | net.c | 53 int xfer; in bsd_print() local 94 if ((xfer = xfer_file(sockfd, pa, filesize, bsdjob->np_timeout)) != 0) { in bsd_print() 95 return (xfer); in bsd_print()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | stoa.c | 60 static char *xfer(); 123 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) == NULL) 204 xfer(dest, src, len, max) in xfer() function
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | stoa.c | 64 static char *xfer(char *, char *, unsigned, unsigned); 135 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) == in stoa() 214 xfer(char *dest, char *src, unsigned len, unsigned max) in xfer() function
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_dma.c | 200 uint_t *xfer) in ghd_dmaget_attr() argument 205 *xfer = 0; in ghd_dmaget_attr() 242 *xfer = ghd_dmaget_next_attr(cccp, gcmdp, count, sg_size, cookie); in ghd_dmaget_attr()
|
H A D | ghd_dma.h | 40 uint_t *xfer);
|
/illumos-gate/usr/src/test/bhyve-tests/tests/perf/ |
H A D | entry_exit.c | 54 struct vm_data_xfer xfer = { in query_cpu_freq() local 61 if (ioctl(vmfd, VM_DATA_READ, &xfer) != 0) { in query_cpu_freq()
|