Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dread_bb.c70 blk_t numblocks; in ext2fs_read_bb_inode() local
78 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.c100 blk_t numblocks; in ext2fs_initialize() local
524 numblocks = super->s_inodes_per_group; in ext2fs_initialize()
526 if (numblocks > reserved_inos) { in ext2fs_initialize()
527 numblocks -= reserved_inos; in ext2fs_initialize()
530 reserved_inos -= numblocks; in ext2fs_initialize()
531 numblocks = 0; in ext2fs_initialize()
534 ext2fs_bg_itable_unused_set(fs, i, numblocks); in ext2fs_initialize()
536 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
538 numblocks += 2 + fs->inode_blocks_per_group; in ext2fs_initialize()
540 free_blocks += numblocks; in ext2fs_initialize()
[all …]
Dclosefs.c80 blk_t numblocks = 0; in ext2fs_super_and_bgd_loc2() local
98 numblocks++; in ext2fs_super_and_bgd_loc2()
107 numblocks += old_desc_blocks; in ext2fs_super_and_bgd_loc2()
116 numblocks++; in ext2fs_super_and_bgd_loc2()
127 *ret_used_blks = numblocks; in ext2fs_super_and_bgd_loc2()
156 blk_t numblocks; in ext2fs_super_and_bgd_loc() local
164 numblocks = ext2fs_group_blocks_count(fs, group); in ext2fs_super_and_bgd_loc()
177 numblocks -= 2 + fs->inode_blocks_per_group + ret_used_blks; in ext2fs_super_and_bgd_loc()
179 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.c294 unsigned long numblocks, int is_ext2) in filefrag_fibmap() argument
313 i < numblocks; in filefrag_fibmap()
389 unsigned long long numblocks; local
456 numblocks = (st.st_size + blksize - 1) / blksize;
462 width = int_log10(numblocks);
468 numblocks * blksize >> blk_shift,
469 numblocks == 1 ? "" : "s", 1 << blk_shift);
478 &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/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExecutor.h171 const Index numblocks = size / blocksize;
173 Barrier barrier(numblocks);
174 for (int i = 0; i < numblocks; ++i) {
179 if (numblocks * blocksize < size) {
181 &evaluator, numblocks * blocksize, size);
DTensorReduction.h271 const Index numblocks = blocksize > 0 ? num_coeffs / blocksize : 0;
272 eigen_assert(num_coeffs >= numblocks * blocksize);
274 Barrier barrier(internal::convert_index<unsigned int>(numblocks));
275 MaxSizeVector<typename Self::CoeffReturnType> shards(numblocks, reducer.initialize());
276 for (Index i = 0; i < numblocks; ++i) {
282 if (numblocks * blocksize < num_coeffs) {
284 self, numblocks * blocksize, num_coeffs - numblocks * blocksize,
291 for (Index i = 0; i < numblocks; ++i) {
/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/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/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/e2fsck/
Dpass2.c171 dx_dir->numblocks == 0) in e2fsck_pass2()
186 b < dx_dir->numblocks; in e2fsck_pass2()
205 b < dx_dir->numblocks; in e2fsck_pass2()
251 dx_dir->numblocks = 0; in e2fsck_pass2()
626 if (blk >= (blk_t) dx_dir->numblocks) { in parse_int_node()
669 dx_dir->numblocks = 0; in parse_int_node()
1032 if (dx_dir && dx_dir->numblocks) { in check_dir_block()
1033 if (db->blockcnt >= dx_dir->numblocks) { in check_dir_block()
1038 dx_dir->numblocks = 0; in check_dir_block()
1062 dx_dir->numblocks = 0; in check_dir_block()
Ddx_dirinfo.c73 dir->numblocks = num_blocks; in e2fsck_add_dx_dir()
De2fsck.h108 int numblocks; /* number of blocks */ member
/external/kernel-headers/original/uapi/mtd/
Dmtd-abi.h141 __u32 numblocks; /* Number of blocks in this region */ member
/external/e2fsprogs/resize/
Dresize2fs.c698 blk64_t old_numblocks, numblocks, adjblocks; in adjust_fs_info() local
896 numblocks = (ext2fs_blocks_count(fs->super) - in adjust_fs_info()
899 if (!numblocks) in adjust_fs_info()
900 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
902 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
904 …ext2fs_bg_free_blocks_count_set(fs, i, ext2fs_bg_free_blocks_count(fs, i) + (numblocks - old_numbl… in adjust_fs_info()
956 numblocks = ext2fs_group_blocks_count(fs, i); in adjust_fs_info()
987 numblocks -= adjblocks; in adjust_fs_info()
992 ext2fs_bg_free_blocks_count_set(fs, i, numblocks); in adjust_fs_info()
/external/python/cpython2/Objects/
Dobmalloc.c1793 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats() local
1820 numpools[i] = numblocks[i] = numfreeblocks[i] = 0; in _PyObject_DebugMallocStats()
1859 numblocks[sz] += p->ref.count; in _PyObject_DebugMallocStats()
1877 size_t b = numblocks[i]; in _PyObject_DebugMallocStats()
/external/python/cpython3/Objects/
Dobmalloc.c2255 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats() local
2282 numpools[i] = numblocks[i] = numfreeblocks[i] = 0; in _PyObject_DebugMallocStats()
2322 numblocks[sz] += p->ref.count; in _PyObject_DebugMallocStats()
2340 size_t b = numblocks[i]; in _PyObject_DebugMallocStats()
/external/strace/
Dmtd.c353 rinfo.numblocks); in MPERS_PRINTER_DECL()