Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c254 int block_count; in main() local
316 block_count = tnf_header->block_count - in main()
321 calloc(block_count, sizeof (BLOCK_STATUS)); in main()
328 for (bsp = block_stat; bsp != block_stat + block_count; ++bsp) in main()
338 while (block_num != block_count) { in main()
369 while (block_num != block_count) { in main()
/titanic_44/usr/src/lib/libtnf/
H A Dreader.c91 tnf->block_count = _GET_UINT32(tnf, (tnf_uint32_t *)p); in tnf_reader_begin()
96 tnf->block_count -= tnf->directory_size / tnf->block_size; in tnf_reader_begin()
103 tmpsz = tnf->directory_size + tnf->block_count * tnf->block_size; in tnf_reader_begin()
H A Daccess.c47 return (tnf->block_count); in tnf_get_block_count()
53 if (index >= tnf->block_count) in tnf_get_block_absolute()
H A Dlibtnf.h150 unsigned block_count; /* number of data blocks */ member
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh68 total_size=$($ECHO "$total_size * $block_count" | bc)
95 typeset -l block_count=0
99 ((block_count=1024*1024))
/titanic_44/usr/src/common/crypto/md5/
H A Dmd5.c255 uint32_t block_count; in MD5Update() local
313 block_count = (input_len - i) >> 6; in MD5Update()
314 if (block_count > 0) { in MD5Update()
315 md5_block_asm_host_order(ctx, &input[i], block_count); in MD5Update()
316 i += block_count << 6; in MD5Update()
/titanic_44/usr/src/uts/common/tnf/
H A Dtnf_buf.c102 bcount = fh->com.block_count; /* total block count */ in tnfw_b_alloc_block()
386 fh->com.block_count = blocks; in tnfw_b_init_buffer()
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c476 unsigned int block_count = INFO->journal_block_count; in journal_init() local
485 journal_read (block_count, sizeof (header), (char *) &header); in journal_init()
487 if (desc_block >= block_count) in journal_init()
507 commit_block = (desc_block + desc.j_len + 1) & (block_count - 1); in journal_init()
556 desc_block = (commit_block + 1) & (block_count - 1); in journal_init()
/titanic_44/usr/src/common/crypto/sha2/
H A Dsha2.c772 uint32_t block_count; in SHA2Update() local
843 block_count = (input_len - i) >> 6; in SHA2Update()
844 if (block_count > 0) { in SHA2Update()
846 block_count); in SHA2Update()
847 i += block_count << 6; in SHA2Update()
850 block_count = (input_len - i) >> 7; in SHA2Update()
851 if (block_count > 0) { in SHA2Update()
853 block_count); in SHA2Update()
854 i += block_count << 7; in SHA2Update()
/titanic_44/usr/src/common/crypto/sha1/
H A Dsha1.c338 uint32_t block_count; in SHA1Update() local
380 block_count = (input_len - i) >> 6; in SHA1Update()
381 if (block_count > 0) { in SHA1Update()
382 SHA1_TRANSFORM_BLOCKS(ctx, &input[i], block_count); in SHA1Update()
383 i += block_count << 6; in SHA1Update()
/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet.c3196 for (block = leaf->block + leaf->block_count - 1; in find_active_media()
3775 for (block = leaf->block + leaf->block_count -1; in do_phy()
4105 leaf->block_count = *vi++; in parse_controller_leaf()
4107 if (leaf->block_count > MAX_MEDIA) { in parse_controller_leaf()
4109 leaf->block_count = 1; in parse_controller_leaf()
4111 for (i = 0; i <= leaf->block_count; i++) { in parse_controller_leaf()
4118 leaf->default_block = leaf->block + leaf->block_count -1; in parse_controller_leaf()
4336 leaf->block_count = 4; /* 100 cards are highly unlikely to have BNC */ in setup_legacy_blocks()
4358 leaf->block_count = 5; /* 100TX, 100TX-FD, 10T 10T-FD, BNC */ in setup_legacy_blocks()
4406 leaf->block_count = 1; in setup_legacy_blocks()
[all …]
H A Ddnet.h332 int block_count; member
/titanic_44/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c140 while (b < fh->com.block_count) { in tnfw_b_alloc_block()
235 if (prev_block == fh->com.block_count) { in tnfw_b_alloc_block()
394 fh->com.block_count = blocks; in tnfw_b_init_buffer()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c97 static void ufs_undo_allocation(inode_t *ip, int block_count,
1045 int block_count, in ufs_undo_allocation() argument
1067 for (i = 0; i < block_count; i++) { in ufs_undo_allocation()
1165 for (i = 0; i < block_count; i++) { in ufs_undo_allocation()
/titanic_44/usr/src/uts/common/sys/
H A Dtnf_com.h219 tnf_uint32_t block_count; member
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c1251 ud_zero_it(struct ud_inode *ip, uint32_t start_block, uint32_t block_count) in ud_zero_it() argument
1267 ip->i_icb_prn, start_block, block_count, &dummy); in ud_zero_it()
1269 dummy = block_count << udf_vfsp->udf_l2b_shift; in ud_zero_it()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dsd.c21855 uint32_t block_count; local
21875 block_count = SD_BYTES2TGTBLOCKS(un, buflen);
21882 bufaddr, buflen, start_block, block_count);
21901 FORMG0COUNT(&cdb, block_count);
21906 FORMG1COUNT(&cdb, block_count);
21911 FORMG4COUNT(&cdb, block_count);