Home
last modified time | relevance | path

Searched refs:numblocks (Results 1 – 17 of 17) 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()
Dinitialize.c95 blk_t numblocks; in ext2fs_initialize() local
474 numblocks = super->s_inodes_per_group; in ext2fs_initialize()
476 if (numblocks > reserved_inos) { in ext2fs_initialize()
477 numblocks -= reserved_inos; in ext2fs_initialize()
480 reserved_inos -= numblocks; in ext2fs_initialize()
481 numblocks = 0; in ext2fs_initialize()
484 ext2fs_bg_itable_unused_set(fs, i, numblocks); in ext2fs_initialize()
486 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
488 numblocks += 2 + fs->inode_blocks_per_group; in ext2fs_initialize()
490 free_blocks += numblocks; in ext2fs_initialize()
[all …]
Dclosefs.c72 blk_t numblocks = 0; in ext2fs_super_and_bgd_loc2() local
90 numblocks++; in ext2fs_super_and_bgd_loc2()
99 numblocks += old_desc_blocks; in ext2fs_super_and_bgd_loc2()
108 numblocks++; in ext2fs_super_and_bgd_loc2()
119 *ret_used_blks = numblocks; in ext2fs_super_and_bgd_loc2()
148 blk_t numblocks; in ext2fs_super_and_bgd_loc() local
156 numblocks = ext2fs_group_blocks_count(fs, group); in ext2fs_super_and_bgd_loc()
169 numblocks -= 2 + fs->inode_blocks_per_group + ret_used_blks; in ext2fs_super_and_bgd_loc()
171 return numblocks; in ext2fs_super_and_bgd_loc()
/external/android-clat/
Dring.c51 ring->numblocks = TP_NUM_BLOCKS; in ring_create()
53 int total_frames = TP_FRAMES * ring->numblocks; in ring_create()
58 .tp_block_nr = ring->numblocks, // Number of blocks. in ring_create()
67 size_t buflen = TP_BLOCK_SIZE * ring->numblocks; in ring_create()
100 if (ring->block < ring->numblocks) { in ring_advance()
Dring.h49 int block, numblocks; member
/external/e2fsprogs/misc/
Dfilefrag.c262 unsigned long numblocks, int is_ext2) in filefrag_fibmap() argument
280 i < numblocks; in filefrag_fibmap()
339 unsigned long numblocks; local
401 numblocks = (st.st_size + fsinfo.f_bsize - 1) / fsinfo.f_bsize;
407 width = int_log10(numblocks);
413 numblocks * fsinfo.f_bsize >> blk_shift,
414 numblocks == 1 ? "" : "s", 1 << blk_shift);
419 &st, numblocks, is_ext2);
/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/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.c168 if (dx_dir->numblocks == 0) in e2fsck_pass2()
183 b < dx_dir->numblocks; in e2fsck_pass2()
202 b < dx_dir->numblocks; in e2fsck_pass2()
248 dx_dir->numblocks = 0; in e2fsck_pass2()
606 if (blk >= (blk_t) dx_dir->numblocks) { in parse_int_node()
649 dx_dir->numblocks = 0; in parse_int_node()
812 if (dx_dir && dx_dir->numblocks) { in check_dir_block()
813 if (db->blockcnt >= dx_dir->numblocks) { in check_dir_block()
817 dx_dir->numblocks = 0; in check_dir_block()
841 dx_dir->numblocks = 0; in check_dir_block()
Ddx_dirinfo.c69 dir->numblocks = num_blocks; in e2fsck_add_dx_dir()
De2fsck.h108 int numblocks; /* number of blocks */ member
/external/zopfli/src/zopfli/
Dblocksplitter.c226 size_t numblocks = 1; in ZopfliBlockSplitLZ77() local
241 if (maxblocks > 0 && numblocks >= maxblocks) { in ZopfliBlockSplitLZ77()
264 numblocks++; in ZopfliBlockSplitLZ77()
/external/e2fsprogs/resize/
Dresize2fs.c321 blk64_t old_numblocks, numblocks, adjblocks; in adjust_fs_info() local
486 numblocks = (ext2fs_blocks_count(fs->super) - in adjust_fs_info()
489 if (!numblocks) in adjust_fs_info()
490 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
492 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
494 …ext2fs_bg_free_blocks_count_set(fs, i, ext2fs_bg_free_blocks_count(fs, i) + (numblocks - old_numbl… in adjust_fs_info()
546 numblocks = ext2fs_group_blocks_count(fs, i); in adjust_fs_info()
578 numblocks -= adjblocks; in adjust_fs_info()
583 ext2fs_bg_free_blocks_count_set(fs, i, numblocks); in adjust_fs_info()
/external/strace/linux/
Dmtd-abi.h139 __u32 numblocks; /* Number of blocks in this region */ member
/external/kernel-headers/original/uapi/mtd/
Dmtd-abi.h140 __u32 numblocks; /* Number of blocks in this region */ member
/external/strace/
Dmtd.c130 rinfo.offset, rinfo.erasesize, rinfo.numblocks); in mtd_ioctl()