Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h611 #define SD_BYTES2TGTBLOCKS(un, bytecount) \ macro
635 (SD_BYTES2TGTBLOCKS(un, bytecount) * (un)->un_tgt_blocksize)
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c11935 requested_nblocks = SD_BYTES2TGTBLOCKS(un, bp->b_bcount); in sd_mapblockaddr_iostart()
12933 blockcount = SD_BYTES2TGTBLOCKS(un, bp->b_bcount); in sd_initpkt_for_buf()
13131 SD_BYTES2TGTBLOCKS(un, in sd_setup_rw_pkt()
13242 SD_BYTES2TGTBLOCKS(un, pktp->pkt_resid); in sd_setup_next_rw_pkt()
20703 ubd->ubd_lba = BE_64(SD_BYTES2TGTBLOCKS(un,
20705 ubd->ubd_lba_cnt = BE_32(SD_BYTES2TGTBLOCKS(un, len));
21247 block_count = SD_BYTES2TGTBLOCKS(un, buflen);
25551 nblk -= SD_BYTES2TGTBLOCKS(un, dma_resid);
29410 num_blks_not_xfered = SD_BYTES2TGTBLOCKS(un, bytes_not_xfered);
29416 SD_BYTES2TGTBLOCKS(un, bp->b_bcount - bytes_not_xfered);