Home
last modified time | relevance | path

Searched refs:blockcnt (Results 1 – 25 of 47) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Ddblist.c133 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_add_dir_block2() argument
155 new_entry->blockcnt = blockcnt; in ext2fs_add_dir_block2()
166 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_set_dir_block2() argument
174 (dblist->list[i].blockcnt != blockcnt)) in ext2fs_set_dir_block2()
246 return (db_a->blockcnt - db_b->blockcnt); in dir_block_cmp2()
286 int blockcnt) in ext2fs_add_dir_block() argument
288 return ext2fs_add_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_add_dir_block()
295 int blockcnt) in ext2fs_set_dir_block() argument
297 return ext2fs_set_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_set_dir_block()
334 db.blockcnt = (int) db_info->blockcnt; in passthrough_func()
[all …]
Dblock.c327 e2_blkcnt_t blockcnt, in ext2fs_block_iterate3() argument
400 e2_blkcnt_t blockcnt = 0; in ext2fs_block_iterate3() local
424 r = (*ctx.func)(fs, &blk, blockcnt, in ext2fs_block_iterate3()
432 (blk64_t) blockcnt++, in ext2fs_block_iterate3()
480 extent.e_len, blockcnt); in ext2fs_block_iterate3()
482 if (extent.e_lblk + extent.e_len <= (blk64_t) blockcnt) in ext2fs_block_iterate3()
484 if (extent.e_lblk > (blk64_t) blockcnt) in ext2fs_block_iterate3()
485 blockcnt = extent.e_lblk; in ext2fs_block_iterate3()
486 j = blockcnt - extent.e_lblk; in ext2fs_block_iterate3()
488 for (blockcnt = extent.e_lblk, j = 0; in ext2fs_block_iterate3()
[all …]
Dexpanddir.c33 e2_blkcnt_t blockcnt, in expand_dir_proc() argument
44 if (blockcnt >= 0) in expand_dir_proc()
48 if (blockcnt && in expand_dir_proc()
61 if (blockcnt > 0) { in expand_dir_proc()
73 if (blockcnt >= 0) in expand_dir_proc()
Dbb_inode.c46 e2_blkcnt_t blockcnt,
50 e2_blkcnt_t blockcnt,
156 e2_blkcnt_t blockcnt, in clear_bad_block_proc() argument
178 if (blockcnt < 0) { in clear_bad_block_proc()
213 e2_blkcnt_t blockcnt, in set_bad_block_proc() argument
223 if (blockcnt >= 0) { in set_bad_block_proc()
Dbmove.c41 e2_blkcnt_t blockcnt, blk64_t ref_block, in process_block() argument
82 (unsigned) pb->ino, blockcnt, in process_block()
88 block, blockcnt); in process_block()
Dtst_libext2fs.c36 blk64_t *blocknr, e2_blkcnt_t blockcnt, in print_blocks_proc() argument
40 printf("%6lld %8llu (%d %llu)\n", (long long) blockcnt, in print_blocks_proc()
Dread_bb.c42 e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), in mark_bad_block()
49 if (blockcnt < 0) in mark_bad_block()
Ddir_iterate.c185 e2_blkcnt_t blockcnt, in ext2fs_process_dir_block() argument
203 if (blockcnt < 0) in ext2fs_process_dir_block()
206 entry = blockcnt ? DIRENT_OTHER_FILE : DIRENT_DOT_FILE; in ext2fs_process_dir_block()
Dinline_data.c123 e2_blkcnt_t blockcnt = 0; in ext2fs_inline_data_dir_iterate() local
157 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
169 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
191 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
229 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
/external/e2fsprogs/e2fsck/
Dpass2.c354 if (db_a->blockcnt && !db_b->blockcnt) in special_dir_block_cmp()
357 if (!db_a->blockcnt && db_b->blockcnt) in special_dir_block_cmp()
366 return (int) (db_a->blockcnt - db_b->blockcnt); in special_dir_block_cmp()
583 if (db->blockcnt == 0) { in parse_int_node()
663 dx_db->parent = db->blockcnt; in parse_int_node()
687 db->blockcnt, min_hash, max_hash); in parse_int_node()
689 dx_db = &dx_dir->dx_block[db->blockcnt]; in parse_int_node()
964 cd->pctx.blkcount = db->blockcnt; in check_dir_block()
991 if (db->blockcnt) in check_dir_block()
1002 db->blockcnt, ino); in check_dir_block()
[all …]
Demptydir.c99 db->blk, db->blockcnt, db->ino); in add_empty_dirblock()
107 db->blk, db->blockcnt); in add_empty_dirblock()
120 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, in empty_pass1() argument
127 if (blockcnt < 0) in empty_pass1()
Dpass1b.c87 e2_blkcnt_t blockcnt, blk64_t ref_blk,
376 e2_blkcnt_t blockcnt, in process_pass1b_block() argument
390 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
420 if (blockcnt < 0 || lc != p->cur_cluster || pc != p->phys_cluster) in process_pass1b_block()
643 e2_blkcnt_t blockcnt, in delete_file_block() argument
661 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
786 e2_blkcnt_t blockcnt, in clone_file_block() argument
812 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
843 blockcnt, &new_block); in clone_file_block()
866 new_block += EXT2FS_CLUSTER_MASK(fs) & blockcnt; in clone_file_block()
[all …]
Dbadblocks.c17 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,
122 int blockcnt EXT2FS_ATTR((unused)), in check_bb_inode_blocks()
Dextents.c151 static int find_blocks(ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, in find_blocks() argument
158 if (blockcnt < 0) { in find_blocks()
174 if (last->e_lblk + last->e_len == (__u64) blockcnt && in find_blocks()
197 list->extents[list->count].e_lblk = blockcnt; in find_blocks()
202 blockcnt, 1); in find_blocks()
Drehash.c106 e2_blkcnt_t blockcnt, in fill_dir_block() argument
118 if (blockcnt < 0) in fill_dir_block()
121 offset = blockcnt * fs->blocksize; in fill_dir_block()
762 e2_blkcnt_t blockcnt, in write_dir_block() argument
771 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block()
773 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block()
779 if (blockcnt < wd->outdir->num) in write_dir_block()
780 dir = wd->outdir->buf + (blockcnt * fs->blocksize); in write_dir_block()
Dpass3.c788 e2_blkcnt_t blockcnt, in expand_dir_proc() argument
802 if (es->guaranteed_size && blockcnt >= es->guaranteed_size) in expand_dir_proc()
805 if (blockcnt > 0) in expand_dir_proc()
806 es->last_block = blockcnt; in expand_dir_proc()
812 if (blockcnt && in expand_dir_proc()
828 if (blockcnt > 0) { in expand_dir_proc()
Dpass1.c68 e2_blkcnt_t blockcnt, blk64_t ref_blk,
71 e2_blkcnt_t blockcnt, blk64_t ref_blk,
3584 e2_blkcnt_t blockcnt, in process_block() argument
3605 if (p->is_dir && blockcnt == 0 && blk == 0) { in process_block()
3609 pctx->num = blockcnt; in process_block()
3620 blockcnt); in process_block()
3643 blockcnt); in process_block()
3649 if (p->is_dir && blockcnt > (1 << (21 - fs->super->s_log_block_size))) in process_block()
3653 if (!p->is_dir && !p->is_reg && blockcnt > 0) in process_block()
3666 if (blockcnt < 0 && in process_block()
[all …]
Dsuper.c84 e2_blkcnt_t blockcnt, in release_inode_block() argument
101 pctx->blkcount = blockcnt; in release_inode_block()
134 if (blockcnt < 0) { in release_inode_block()
153 if (blockcnt >= 0 && blockcnt < pb->truncate_block) in release_inode_block()
159 if ((blockcnt == pb->truncate_block) && pb->truncate_offset) { in release_inode_block()
/external/libjpeg-turbo/
Djccoefct.c147 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
168 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_data()
178 ypos, xpos, (JDIMENSION)blockcnt); in compress_data()
179 if (blockcnt < compptr->MCU_width) { in compress_data()
181 jzero_far((void *)coef->MCU_buffer[blkn + blockcnt], in compress_data()
182 (compptr->MCU_width - blockcnt) * sizeof(JBLOCK)); in compress_data()
183 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
Djctrans.c296 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
322 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_output()
329 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
/external/u-boot/fs/ext4/
Dext4fs.c53 lbaint_t blockcnt; in ext4fs_read_file() local
73 blockcnt = lldiv(((len + pos) + blocksize - 1), blocksize); in ext4fs_read_file()
75 for (i = lldiv(pos, blocksize); i < blockcnt; i++) { in ext4fs_read_file()
87 if (i == blockcnt - 1) { in ext4fs_read_file()
/external/e2fsprogs/debugfs/
Dfilefrag.c103 blk64_t *blocknr, e2_blkcnt_t blockcnt, in filefrag_blocks_proc() argument
110 if (blockcnt < 0 || *blocknr == 0) in filefrag_blocks_proc()
113 if ((fs->num == 0) || (blockcnt != fs->logical_start + fs->num) || in filefrag_blocks_proc()
116 if (blockcnt == fs->logical_start + fs->num) in filefrag_blocks_proc()
120 fs->logical_start = blockcnt; in filefrag_blocks_proc()
Dhtree.c364 e2_blkcnt_t blockcnt, blk64_t ref_blk,
401 e2_blkcnt_t blockcnt, in search_dir_block() argument
412 if (blockcnt < 0) in search_dir_block()
438 "phys %llu, offset %u\n", (long long)blockcnt, in search_dir_block()
/external/e2fsprogs/contrib/android/
Dfsmap.c15 e2_blkcnt_t blockcnt, in walk_block() argument
23 return format->add_block(fs, *blocknr, blockcnt < 0, format->private); in walk_block()
/external/python/cpython3/Python/
Dpeephole.c170 int i, j, opcode, blockcnt = 0; in markblocks() local
203 blockcnt += blocks[i]; /* increment blockcnt over labels */ in markblocks()
204 blocks[i] = blockcnt; in markblocks()

12