Searched refs:block_count (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libtnf/
H A Dreader.c91 tnf->block_count = _GET_UINT32(tnf, (tnf_uint32_t *)p);
96 tnf->block_count -= tnf->directory_size / tnf->block_size;
103 tmpsz = tnf->directory_size + tnf->block_count * tnf->block_size;
H A Daccess.c47 return (tnf->block_count);
53 if (index >= tnf->block_count)
H A Dlibtnf.h150 unsigned block_count; /* number of data blocks */ member in struct:TNF
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c254 int block_count; local
316 block_count = tnf_header->block_count -
321 calloc(block_count, sizeof (BLOCK_STATUS));
328 for (bsp = block_stat; bsp != block_stat + block_count; ++bsp)
338 while (block_num != block_count) {
369 while (block_num != block_count) {
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dapi_public.h146 lbasize_t block_count; /* no of blocks */ member in struct:device_info::__anon363::__anon364
H A Ddisk.c118 di->di_stor.block_count;
H A Dglue.c450 printf(" blk count\t\t= %ld\n", di->di_stor.block_count);
/illumos-gate/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))
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_buf.c102 bcount = fh->com.block_count; /* total block count */
386 fh->com.block_count = blocks;
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2.c795 uint32_t block_count; local
866 block_count = (input_len - i) >> 6;
867 if (block_count > 0) {
869 block_count);
870 i += block_count << 6;
873 block_count = (input_len - i) >> 7;
874 if (block_count > 0) {
876 block_count);
877 i += block_count << 7;
/illumos-gate/usr/src/common/crypto/md5/
H A Dmd5.c255 uint32_t block_count; local
313 block_count = (input_len - i) >> 6;
314 if (block_count > 0) {
315 md5_block_asm_host_order(ctx, &input[i], block_count);
316 i += block_count << 6;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c476 unsigned int block_count = INFO->journal_block_count; local
485 journal_read (block_count, sizeof (header), (char *) &header);
487 if (desc_block >= block_count)
507 commit_block = (desc_block + desc.j_len + 1) & (block_count - 1);
556 desc_block = (commit_block + 1) & (block_count - 1);
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c140 while (b < fh->com.block_count) {
235 if (prev_block == fh->com.block_count) {
394 fh->com.block_count = blocks;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c97 static void ufs_undo_allocation(inode_t *ip, int block_count,
1035 * If block_count and inode_sector_adjust are both zero, we'll do nothing.
1045 int block_count,
1067 for (i = 0; i < block_count; i++) {
1165 for (i = 0; i < block_count; i++) {
1043 ufs_undo_allocation( inode_t *ip, int block_count, struct ufs_allocated_block table[], int inode_sector_adjust) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dtnf_com.h219 tnf_uint32_t block_count; member in struct:tnf_file_header
300 #define TNF_N_BLOCK_COUNT "block_count"
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1.c338 uint32_t block_count; local
380 block_count = (input_len - i) >> 6;
381 if (block_count > 0) {
382 SHA1_TRANSFORM_BLOCKS(ctx, &input[i], block_count);
383 i += block_count << 6;
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c3196 for (block = leaf->block + leaf->block_count - 1;
3775 for (block = leaf->block + leaf->block_count -1;
4105 leaf->block_count = *vi++;
4107 if (leaf->block_count > MAX_MEDIA) {
4109 leaf->block_count = 1;
4111 for (i = 0; i <= leaf->block_count; i++) {
4118 leaf->default_block = leaf->block + leaf->block_count -1;
4336 leaf->block_count = 4; /* 100 cards are highly unlikely to have BNC */
4358 leaf->block_count = 5; /* 100TX, 100TX-FD, 10T 10T-FD, BNC */
4406 leaf->block_count
[all...]
H A Ddnet.h332 int block_count; member in struct:leaf_format
/illumos-gate/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) argument
1267 ip->i_icb_prn, start_block, block_count, &dummy);
1269 dummy = block_count << udf_vfsp->udf_l2b_shift;
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c21855 uint32_t block_count; local
21875 block_count = SD_BYTES2TGTBLOCKS(un, buflen);
21881 "bufaddr:0x%p buflen:0x%x start_block:0x%p block_count:0x%x\n",
21882 bufaddr, buflen, start_block, block_count);
21901 FORMG0COUNT(&cdb, block_count);
21906 FORMG1COUNT(&cdb, block_count);
21911 FORMG4COUNT(&cdb, block_count);

Completed in 3995 milliseconds