Home
last modified time | relevance | path

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

12

/third_party/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()
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()
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()
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()
/third_party/e2fsprogs/e2fsck/
Dpass2.c381 if (db_a->blockcnt && !db_b->blockcnt) in special_dir_block_cmp()
384 if (!db_a->blockcnt && db_b->blockcnt) in special_dir_block_cmp()
393 return (int) (db_a->blockcnt - db_b->blockcnt); in special_dir_block_cmp()
650 if (db->blockcnt == 0) { in parse_int_node()
730 dx_db->parent = db->blockcnt; in parse_int_node()
754 db->blockcnt, min_hash, max_hash); in parse_int_node()
756 dx_db = &dx_dir->dx_block[db->blockcnt]; in parse_int_node()
1110 cd->pctx.blkcount = db->blockcnt; in check_dir_block()
1138 if (db->blockcnt) in check_dir_block()
1149 db->blockcnt, ino); in check_dir_block()
[all …]
Demptydir.c98 db->blk, db->blockcnt, db->ino); in add_empty_dirblock()
106 db->blk, db->blockcnt); in add_empty_dirblock()
119 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, in empty_pass1() argument
126 if (blockcnt < 0) in empty_pass1()
Dpass1b.c87 e2_blkcnt_t blockcnt, blk64_t ref_blk,
377 e2_blkcnt_t blockcnt, in process_pass1b_block() argument
391 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
421 if (blockcnt < 0 || lc != p->cur_cluster || pc != p->phys_cluster) in process_pass1b_block()
644 e2_blkcnt_t blockcnt, in delete_file_block() argument
662 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
791 e2_blkcnt_t blockcnt, in clone_file_block() argument
817 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
848 blockcnt, &new_block); in clone_file_block()
871 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,
123 int blockcnt EXT2FS_ATTR((unused)), in check_bb_inode_blocks()
Drehash.c122 e2_blkcnt_t blockcnt, in fill_dir_block() argument
134 if (blockcnt < 0) in fill_dir_block()
137 offset = blockcnt * fs->blocksize; in fill_dir_block()
168 int extended = hash_in_entry && !is_fake_entry(fs, blockcnt, dir_offset); in fill_dir_block()
894 e2_blkcnt_t blockcnt, in write_dir_block() argument
903 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block()
905 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block()
911 if (blockcnt < wd->outdir->num) in write_dir_block()
912 dir = wd->outdir->buf + (blockcnt * fs->blocksize); in write_dir_block()
Dextents.c141 static int find_blocks(ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, in find_blocks() argument
148 if (blockcnt < 0) { in find_blocks()
164 if (last->e_lblk + last->e_len == (__u64) blockcnt && in find_blocks()
187 list->extents[list->count].e_lblk = blockcnt; in find_blocks()
192 blockcnt, 1); in find_blocks()
Dpass3.c794 e2_blkcnt_t blockcnt, in expand_dir_proc() argument
808 if (es->guaranteed_size && blockcnt >= es->guaranteed_size) in expand_dir_proc()
811 if (blockcnt > 0) in expand_dir_proc()
812 es->last_block = blockcnt; in expand_dir_proc()
818 if (blockcnt && in expand_dir_proc()
834 if (blockcnt > 0) { in expand_dir_proc()
/third_party/skia/third_party/externals/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.c297 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
323 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_output()
330 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
/third_party/flutter/skia/third_party/externals/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()
/third_party/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()
/third_party/e2fsprogs/debugfs/
Dfilefrag.c106 blk64_t *blocknr, e2_blkcnt_t blockcnt, in filefrag_blocks_proc() argument
113 if (blockcnt < 0 || *blocknr == 0) in filefrag_blocks_proc()
116 if ((fs->num == 0) || (blockcnt != fs->logical_start + fs->num) || in filefrag_blocks_proc()
119 if (blockcnt == fs->logical_start + fs->num) in filefrag_blocks_proc()
123 fs->logical_start = blockcnt; in filefrag_blocks_proc()
Dhtree.c405 e2_blkcnt_t blockcnt, blk64_t ref_blk,
442 e2_blkcnt_t blockcnt, in search_dir_block() argument
453 if (blockcnt < 0) in search_dir_block()
479 "phys %llu, offset %u\n", (long long)blockcnt, in search_dir_block()
/third_party/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()

12