Home
last modified time | relevance | path

Searched refs:blockcount (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng.c528 int blockcount = 0; in n2rng_collect_diag_bits() local
570 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_collect_diag_bits()
616 blockcount = 0; in n2rng_collect_diag_bits()
632 if (++blockcount > in n2rng_collect_diag_bits()
662 blockcount = 0; in n2rng_collect_diag_bits()
677 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_collect_diag_bits()
731 int blockcount = 0; in n2rng_getentropy() local
788 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_getentropy()
844 int blockcount = 0; in n2rng_ctl_wait() local
864 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_ctl_wait()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h619 #define SD_TGTBLOCKS2BYTES(un, blockcount) \ argument
620 (blockcount * (un)->un_tgt_blocksize)
627 #define SD_SYSBLOCKS2BYTES(blockcount) \ argument
628 (blockcount * DEV_BSIZE)
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c908 diskaddr_t lba, uint32_t blockcount);
910 struct buf *bp, diskaddr_t lba, uint32_t blockcount);
12895 size_t blockcount; in sd_initpkt_for_buf() local
12933 blockcount = SD_BYTES2TGTBLOCKS(un, bp->b_bcount); in sd_initpkt_for_buf()
12943 startblock, blockcount); in sd_initpkt_for_buf()
13019 "lba:0x%08lx len:0x%08lx\n", startblock, blockcount); in sd_initpkt_for_buf()
13072 diskaddr_t lba, uint32_t blockcount) in sd_setup_rw_pkt() argument
13091 if ((lba + blockcount - 1 <= sd_cdbtab[i].sc_maxlba) && in sd_setup_rw_pkt()
13092 (blockcount <= sd_cdbtab[i].sc_maxlen)) { in sd_setup_rw_pkt()
13130 blockcount -= in sd_setup_rw_pkt()
[all …]