Home
last modified time | relevance | path

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

/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()
351 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ in ec_wNAF_mul() local
410 …if (pre_comp && pre_comp->numblocks && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) =… in ec_wNAF_mul()
416 numblocks = (BN_num_bits(scalar) / blocksize) + 1; in ec_wNAF_mul()
419 if (numblocks > pre_comp->numblocks) in ec_wNAF_mul()
420 numblocks = pre_comp->numblocks; in ec_wNAF_mul()
425 if (pre_comp->num != (pre_comp->numblocks * pre_points_per_block)) in ec_wNAF_mul()
435 numblocks = 1; in ec_wNAF_mul()
440 totalnum = num + numblocks; in ec_wNAF_mul()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dclosefs.c57 int numblocks, has_super; in ext2fs_super_and_bgd_loc() local
70 numblocks = (fs->super->s_blocks_count - in ext2fs_super_and_bgd_loc()
73 if (!numblocks) in ext2fs_super_and_bgd_loc()
74 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
76 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
82 numblocks--; in ext2fs_super_and_bgd_loc()
91 numblocks -= old_desc_blocks; in ext2fs_super_and_bgd_loc()
100 numblocks--; in ext2fs_super_and_bgd_loc()
104 numblocks -= 2 + fs->inode_blocks_per_group; in ext2fs_super_and_bgd_loc()
114 return (numblocks); in ext2fs_super_and_bgd_loc()
Dread_bb.c69 blk_t numblocks; in ext2fs_read_bb_inode() local
78 numblocks = (inode.i_blocks / in ext2fs_read_bb_inode()
81 numblocks = 500; in ext2fs_read_bb_inode()
82 retval = ext2fs_badblocks_list_create(bb_list, numblocks); in ext2fs_read_bb_inode()
Dinitialize.c104 blk_t numblocks; in ext2fs_initialize() local
373 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
375 super->s_free_blocks_count += numblocks; in ext2fs_initialize()
376 fs->group_desc[i].bg_free_blocks_count = numblocks; in ext2fs_initialize()
/external/e2fsprogs/misc/
Dfilefrag.c86 unsigned long block, last_block = 0, numblocks, i; local
144 numblocks = (fileinfo.st_size + (bs-1)) / bs;
147 (long long) fileinfo.st_size, numblocks);
149 get_bmap(fd, 0), get_bmap(fd, numblocks - 1));
151 for (i=0; i < numblocks; i++) {
175 expected = (numblocks/((bs*8)-(fsinfo.f_files/8/cylgroups)-3))+1;
/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/resize/
Dresize2fs.c186 int adj, old_numblocks, numblocks, adjblocks; in adjust_fs_info() local
333 numblocks = (fs->super->s_blocks_count - in adjust_fs_info()
336 if (!numblocks) in adjust_fs_info()
337 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
339 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
341 fs->group_desc[i].bg_free_blocks_count += (numblocks-old_numblocks); in adjust_fs_info()
373 numblocks = (fs->super->s_blocks_count - in adjust_fs_info()
376 if (!numblocks) in adjust_fs_info()
377 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
379 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
[all …]
/external/e2fsprogs/e2fsck/
Dpass2.c166 if (dx_dir->numblocks == 0) in e2fsck_pass2()
181 b < dx_dir->numblocks; in e2fsck_pass2()
200 b < dx_dir->numblocks; in e2fsck_pass2()
247 dx_dir->numblocks = 0; in e2fsck_pass2()
589 if (blk >= (blk_t) dx_dir->numblocks) { in parse_int_node()
632 dx_dir->numblocks = 0; in parse_int_node()
784 if (dx_dir && dx_dir->numblocks) { in check_dir_block()
785 if (db->blockcnt >= dx_dir->numblocks) { in check_dir_block()
789 dx_dir->numblocks = 0; in check_dir_block()
812 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