Searched refs:SD_BYTES2TGTBLOCKS (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h583 #define SD_BYTES2TGTBLOCKS(un, bytecount) \ macro
607 (SD_BYTES2TGTBLOCKS(un, bytecount) * (un)->un_tgt_blocksize)
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c12723 requested_nblocks = SD_BYTES2TGTBLOCKS(un, bp->b_bcount);
13729 blockcount = SD_BYTES2TGTBLOCKS(un, bp->b_bcount);
13927 SD_BYTES2TGTBLOCKS(un,
14038 SD_BYTES2TGTBLOCKS(un, pktp->pkt_resid);
21875 block_count = SD_BYTES2TGTBLOCKS(un, buflen);
26118 nblk -= SD_BYTES2TGTBLOCKS(un, dma_resid);
29979 num_blks_not_xfered = SD_BYTES2TGTBLOCKS(un, bytes_not_xfered);
29985 SD_BYTES2TGTBLOCKS(un, bp->b_bcount - bytes_not_xfered);

Completed in 128 milliseconds