Home
last modified time | relevance | path

Searched refs:xfer (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/vioblk/
H A Dvioblk.c114 bd_xfer_t *xfer; member
165 static int vioblk_read(void *arg, bd_xfer_t *xfer);
166 static int vioblk_write(void *arg, bd_xfer_t *xfer);
167 static int vioblk_flush(void *arg, bd_xfer_t *xfer);
261 vioblk_rw(struct vioblk_softc *sc, bd_xfer_t *xfer, int type, in vioblk_rw() argument
272 if ((xfer->x_blkno + xfer->x_nblks) > sc->sc_nblks) { in vioblk_rw()
288 req->hdr.sector = xfer->x_blkno; in vioblk_rw()
289 req->xfer = xfer; in vioblk_rw()
297 virtio_ve_add_cookie(ve_hdr, xfer->x_dmah, xfer->x_dmac, in vioblk_rw()
298 xfer->x_ndmac, write ? B_TRUE : B_FALSE); in vioblk_rw()
[all …]
/titanic_41/usr/src/uts/common/io/sdcard/impl/
H A Dsda_mem.c88 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 …]
/titanic_41/usr/src/cmd/listen/
H A Dnstoa.c89 char *xfer(), *prescan();
153 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) == NULL)
322 char *xfer();
345 return xfer(str, sbuf, o_atos(sbuf+2, addr->buf, addr->len) + 2,
353 return xfer(str, sbuf, x_atos(sbuf+2, addr->buf, addr->len) + 2,
357 base = xfer(str, addr->buf,
459 xfer(dest, src, len, max) in xfer() function
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Dfsm.txt53 cdb | * * start-xfer start-xfer rd-intr-reason
54 datain | * * continue-xfer * rd-intr-reason
55 dataout | * * * continue-xfer rd-intr-reason
/titanic_41/usr/src/common/fs/
H A Dpcfs.c279 uint_t count = 0, xfer, i; in bpcfs_read() local
321 xfer = MIN(SECSIZ - (off % SECSIZ), c - count); in bpcfs_read()
322 if (xfer == 0) in bpcfs_read()
329 dprintf("bpcfs_read: read %d bytes\n", xfer); in bpcfs_read()
331 (void) bcopy(&block[off % SECSIZ], b, xfer); in bpcfs_read()
332 count += xfer; in bpcfs_read()
333 off += xfer; in bpcfs_read()
334 b += xfer; in bpcfs_read()
/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c149 int xfer; in tcp_print() local
156 if ((xfer = xfer_file(sockfd, pa, in tcp_print()
158 return (xfer); in tcp_print()
H A Dnet.c55 int xfer; in bsd_print() local
96 if ((xfer = xfer_file(sockfd, pa, filesize, bsdjob->np_timeout)) != 0) { in bsd_print()
97 return (xfer); in bsd_print()
/titanic_41/usr/src/lib/libnsl/dial/
H A Dstoa.c66 static char *xfer(char *, char *, unsigned, unsigned);
137 if ((addr->buf = xfer(addr->buf, sbuf, addr->len, addr->maxlen)) == in stoa()
216 xfer(char *dest, char *src, unsigned len, unsigned max) in xfer() function
/titanic_41/usr/src/cmd/bnu/
H A Dstoa.c60 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
/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_dma.c200 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 Dghd_dma.h42 uint_t *xfer);
/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme.c3125 nvme_fill_prp(nvme_cmd_t *cmd, bd_xfer_t *xfer) in nvme_fill_prp() argument
3131 if (xfer->x_ndmac == 0) in nvme_fill_prp()
3134 cmd->nc_sqe.sqe_dptr.d_prp[0] = xfer->x_dmac.dmac_laddress; in nvme_fill_prp()
3135 ddi_dma_nextcookie(xfer->x_dmah, &xfer->x_dmac); in nvme_fill_prp()
3137 if (xfer->x_ndmac == 1) { in nvme_fill_prp()
3140 } else if (xfer->x_ndmac == 2) { in nvme_fill_prp()
3141 cmd->nc_sqe.sqe_dptr.d_prp[1] = xfer->x_dmac.dmac_laddress; in nvme_fill_prp()
3145 xfer->x_ndmac--; in nvme_fill_prp()
3149 nprp = (xfer->x_ndmac + nprp_page - 1) / nprp_page; in nvme_fill_prp()
3165 xfer->x_ndmac > 0; in nvme_fill_prp()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs.conf107 max-xfer-size=339968;
/titanic_41/usr/src/uts/common/io/skd/
H A Dskd.c125 static int skd_bd_read(void *arg, bd_xfer_t *xfer);
126 static int skd_bd_write(void *arg, bd_xfer_t *xfer);
438 bd_xfer_t *xfer; in skd_io_done() local
442 xfer = pbuf->x_xfer; in skd_io_done()
462 error, xfer->x_blkno, xfer->x_nblks, in skd_io_done()
468 bd_xfer_done(xfer, error); in skd_io_done()
637 bd_xfer_t *xfer; in skd_blkdev_preop_sg_list() local
650 xfer = pbuf->x_xfer; in skd_blkdev_preop_sg_list()
651 n_sg = xfer->x_ndmac; in skd_blkdev_preop_sg_list()
657 skreq->io_dma_handle = xfer->x_dmah; in skd_blkdev_preop_sg_list()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c1762 struct ecpp_transfer_parms xfer; in usbprn_setparms() local
1766 if (ddi_copyin((caddr_t)arg, &xfer, in usbprn_setparms()
1771 if ((xfer.write_timeout < USBPRN_XFER_TIMEOUT_MIN) || in usbprn_setparms()
1772 (xfer.write_timeout > USBPRN_XFER_TIMEOUT_MAX)) { in usbprn_setparms()
1776 if (!((xfer.mode == ECPP_CENTRONICS) || in usbprn_setparms()
1777 (xfer.mode == ECPP_COMPAT_MODE) || in usbprn_setparms()
1778 (xfer.mode == ECPP_NIBBLE_MODE) || in usbprn_setparms()
1779 (xfer.mode == ECPP_ECP_MODE) || in usbprn_setparms()
1780 (xfer.mode == ECPP_DIAG_MODE))) { in usbprn_setparms()
1785 if (xfer.mode != ECPP_CENTRONICS) { in usbprn_setparms()
[all …]
/titanic_41/usr/src/uts/common/sys/dktp/
H A Dtgdk.h134 #define TGDK_IOB_ALLOC(X, logblk, xfer, sleep) \ argument
136 (((struct tgdk_obj *)(X))->tg_data, (logblk), (xfer), (sleep))
H A Ddadk.h125 ssize_t xfer, int kmsflg);
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c1569 uint32_t xfer, bsize, saddr, ofst; in ql_r_m_w_flash() local
1585 xfer = bc > bsize ? bsize : bc; in ql_r_m_w_flash()
1586 if (ofst + xfer > bsize) { in ql_r_m_w_flash()
1587 xfer = bsize - ofst; in ql_r_m_w_flash()
1591 bc, ofst, xfer); in ql_r_m_w_flash()
1593 if (ofst || xfer < bsize) { in ql_r_m_w_flash()
1603 if ((rval = ddi_copyin(dp, (caddr_t)(bp + ofst), xfer, in ql_r_m_w_flash()
1606 "xfer=%xh\n", rval, (void *)dp, ofst, xfer); in ql_r_m_w_flash()
1617 bc -= xfer; in ql_r_m_w_flash()
1618 dp += xfer; in ql_r_m_w_flash()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A DREADME184 usba_hcdi_cb USB_PIPE_STATE_ACTIVE One time xfer Before doing callback USB_PIPE_STATE_IDLE
261 usba_hcdi_cb USB_PIPE_STATE_ACTIVE One time xfer Before doing callback USB_PIPE_STATE_IDLE
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c1030 dadk_iob_alloc(opaque_t objp, daddr_t blkno, ssize_t xfer, int kmsflg) in dadk_iob_alloc() argument
1047 iobp->b_pbytecnt = ((iobp->b_pbyteoff + xfer + dadkp->DAD_SECSIZ - 1) in dadk_iob_alloc()
1065 iobp->b_xfer = xfer; in dadk_iob_alloc()
1067 iobp->b_xfer = xfer; in dadk_iob_alloc()
/titanic_41/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y1436 pool_component_t *xfer[2] = {NULL}; in transfer_list_walk() local
1444 xfer[0] = comp; in transfer_list_walk()
1445 if (pool_resource_xtransfer(conf, src, tgt, xfer) != in transfer_list_walk()
/titanic_41/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1924 bd_xfer_done(bd_xfer_t *xfer, int err) in bd_xfer_done() argument
1926 bd_xfer_impl_t *xi = (void *)xfer; in bd_xfer_done()
1997 bd_error(bd_xfer_t *xfer, int error) in bd_error() argument
1999 bd_xfer_impl_t *xi = (void *)xfer; in bd_error()
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c5138 int xfer; in log_read_log() local
5155 xfer = MIN(NB_LEFT_IN_SECTOR(*addr), nb); in log_read_log()
5157 memcpy(va, bp + blkoff(fs, *addr), xfer); in log_read_log()
5158 va += xfer; in log_read_log()
5160 nb -= xfer; in log_read_log()
5161 *addr += xfer; in log_read_log()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.c1279 int sfvc, ssize_t *xfer) in nl7c_sendfilev() argument
1423 *xfer += len; in nl7c_sendfilev()
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s235 .xfer: label
279 b,a .xfer

12