Home
last modified time | relevance | path

Searched refs:numblocks (Results 1 – 14 of 14) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dread_bb.c69 blk_t numblocks; in ext2fs_read_bb_inode() local
77 numblocks = inode.i_blocks; in ext2fs_read_bb_inode()
81 numblocks = numblocks / (fs->blocksize / 512); in ext2fs_read_bb_inode()
82 numblocks += 20; in ext2fs_read_bb_inode()
83 if (numblocks < 50) in ext2fs_read_bb_inode()
84 numblocks = 50; in ext2fs_read_bb_inode()
85 if (numblocks > 50000) in ext2fs_read_bb_inode()
86 numblocks = 500; in ext2fs_read_bb_inode()
87 retval = ext2fs_badblocks_list_create(bb_list, numblocks); in ext2fs_read_bb_inode()
Dclosefs.c70 blk_t numblocks, old_desc_blocks; in ext2fs_super_and_bgd_loc() local
82 numblocks = (fs->super->s_blocks_count - in ext2fs_super_and_bgd_loc()
85 if (!numblocks) in ext2fs_super_and_bgd_loc()
86 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
88 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
94 numblocks--; in ext2fs_super_and_bgd_loc()
103 numblocks -= old_desc_blocks; in ext2fs_super_and_bgd_loc()
112 numblocks--; in ext2fs_super_and_bgd_loc()
116 numblocks -= 2 + fs->inode_blocks_per_group; in ext2fs_super_and_bgd_loc()
126 return (numblocks); in ext2fs_super_and_bgd_loc()
Dinitialize.c104 blk_t numblocks; in ext2fs_initialize() local
407 numblocks = super->s_inodes_per_group; in ext2fs_initialize()
409 numblocks -= super->s_first_ino; in ext2fs_initialize()
410 fs->group_desc[i].bg_itable_unused = numblocks; in ext2fs_initialize()
412 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
414 numblocks += 2 + fs->inode_blocks_per_group; in ext2fs_initialize()
416 super->s_free_blocks_count += numblocks; in ext2fs_initialize()
417 fs->group_desc[i].bg_free_blocks_count = numblocks; in ext2fs_initialize()
/external/openssl/crypto/ec/
Dec_mult.c85 size_t numblocks; /* max. number of blocks for which we have precomputation */ member
113 ret->numblocks = 0; in ec_pre_comp_new()
353 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ in ec_wNAF_mul() local
412 …if (pre_comp && pre_comp->numblocks && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) =… in ec_wNAF_mul()
418 numblocks = (BN_num_bits(scalar) / blocksize) + 1; in ec_wNAF_mul()
421 if (numblocks > pre_comp->numblocks) in ec_wNAF_mul()
422 numblocks = pre_comp->numblocks; in ec_wNAF_mul()
427 if (pre_comp->num != (pre_comp->numblocks * pre_points_per_block)) in ec_wNAF_mul()
437 numblocks = 1; in ec_wNAF_mul()
442 totalnum = num + numblocks; in ec_wNAF_mul()
[all …]
/external/e2fsprogs/util/
Dcopy_sparse.c93 long lb, i, fd, ofd, bs, block, numblocks; in copy_sparse_file() local
126 numblocks = (fileinfo.st_size + (bs-1)) / bs; in copy_sparse_file()
129 (long long) fileinfo.st_size, numblocks); in copy_sparse_file()
147 for (lb = 0; !fd || lb < numblocks; lb++) { in copy_sparse_file()
/external/e2fsprogs/misc/
Dfilefrag.c266 unsigned long block, last_block = 0, numblocks, i, count; local
326 numblocks = (fileinfo.st_size + (bs-1)) / bs;
327 logical_width = int_log10(numblocks);
333 filename, (long long) fileinfo.st_size, numblocks,
334 numblocks == 1 ? "" : "s", bs);
337 for (i = 0, count = 0; i < numblocks; i++) {
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSuballocatedIntVector.java92 public SuballocatedIntVector(int blocksize, int numblocks) in SuballocatedIntVector() argument
99 m_numblocks = numblocks; in SuballocatedIntVector()
102 m_map = new int[numblocks][]; in SuballocatedIntVector()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBase.java198 int numblocks; in DTMDefaultBase() local
201 numblocks = DEFAULT_NUMBLOCKS_SMALL; in DTMDefaultBase()
206 numblocks = DEFAULT_NUMBLOCKS; in DTMDefaultBase()
210 m_exptype = new SuballocatedIntVector(blocksize, numblocks); in DTMDefaultBase()
211 m_firstch = new SuballocatedIntVector(blocksize, numblocks); in DTMDefaultBase()
212 m_nextsib = new SuballocatedIntVector(blocksize, numblocks); in DTMDefaultBase()
213 m_parent = new SuballocatedIntVector(blocksize, numblocks); in DTMDefaultBase()
219 m_prevsib = new SuballocatedIntVector(blocksize, numblocks); in DTMDefaultBase()
/external/e2fsprogs/e2fsck/
Dpass2.c163 if (dx_dir->numblocks == 0) in e2fsck_pass2()
178 b < dx_dir->numblocks; in e2fsck_pass2()
197 b < dx_dir->numblocks; in e2fsck_pass2()
243 dx_dir->numblocks = 0; in e2fsck_pass2()
584 if (blk >= (blk_t) dx_dir->numblocks) { in parse_int_node()
627 dx_dir->numblocks = 0; in parse_int_node()
790 if (dx_dir && dx_dir->numblocks) { in check_dir_block()
791 if (db->blockcnt >= dx_dir->numblocks) { in check_dir_block()
795 dx_dir->numblocks = 0; in check_dir_block()
819 dx_dir->numblocks = 0; in check_dir_block()
Ddx_dirinfo.c69 dir->numblocks = num_blocks; in e2fsck_add_dx_dir()
De2fsck.h100 int numblocks; /* number of blocks */ member
/external/e2fsprogs/resize/
Dresize2fs.c302 int adj, old_numblocks, numblocks, adjblocks; in adjust_fs_info() local
456 numblocks = (fs->super->s_blocks_count - in adjust_fs_info()
459 if (!numblocks) in adjust_fs_info()
460 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
462 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
464 fs->group_desc[i].bg_free_blocks_count += (numblocks-old_numblocks); in adjust_fs_info()
503 numblocks = (fs->super->s_blocks_count - in adjust_fs_info()
506 if (!numblocks) in adjust_fs_info()
507 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
509 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
[all …]
/external/kernel-headers/original/mtd/
Dmtd-abi.h68 uint32_t numblocks; /* Number of blocks in this region */ member
/external/kernel-headers/original/linux/mtd/
Dmtd.h55 u_int32_t numblocks; /* Number of blocks of erasesize in this region */ member