Searched refs:blockcount (Results 1 – 3 of 3) sorted by relevance
528 int blockcount = 0; in n2rng_collect_diag_bits() local570 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() local788 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_getentropy()844 int blockcount = 0; in n2rng_ctl_wait() local864 if (++blockcount > RNG_MAX_BLOCK_ATTEMPTS) { in n2rng_ctl_wait()[all …]
619 #define SD_TGTBLOCKS2BYTES(un, blockcount) \ argument620 (blockcount * (un)->un_tgt_blocksize)627 #define SD_SYSBLOCKS2BYTES(blockcount) \ argument628 (blockcount * DEV_BSIZE)
908 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() local12933 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() argument13091 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 …]