Home
last modified time | relevance | path

Searched refs:blockcnt (Results 1 – 25 of 44) 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()
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.c128 e2_blkcnt_t blockcnt = 0; in ext2fs_inline_data_dir_iterate() local
162 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
174 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
196 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
234 ret |= ext2fs_process_dir_block(fs, 0, blockcnt++, 0, 0, priv_data); in ext2fs_inline_data_dir_iterate()
/external/e2fsprogs/e2fsck/
Dpass2.c332 if (db_a->blockcnt && !db_b->blockcnt) in special_dir_block_cmp()
335 if (!db_a->blockcnt && db_b->blockcnt) in special_dir_block_cmp()
344 return (int) (db_a->blockcnt - db_b->blockcnt); in special_dir_block_cmp()
561 if (db->blockcnt == 0) { in parse_int_node()
641 dx_db->parent = db->blockcnt; in parse_int_node()
660 db->blockcnt, min_hash, max_hash); in parse_int_node()
662 dx_db = &dx_dir->dx_block[db->blockcnt]; in parse_int_node()
937 cd->pctx.blkcount = db->blockcnt; in check_dir_block()
956 if (db->blockcnt) in check_dir_block()
967 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,
358 e2_blkcnt_t blockcnt, in process_pass1b_block() argument
372 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
402 if (blockcnt < 0 || lc != p->cur_cluster || pc != p->phys_cluster) in process_pass1b_block()
618 e2_blkcnt_t blockcnt, in delete_file_block() argument
636 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
759 e2_blkcnt_t blockcnt, in clone_file_block() argument
779 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
810 blockcnt, &new_block); in clone_file_block()
826 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()
Dpass1.c62 e2_blkcnt_t blockcnt, blk64_t ref_blk,
65 e2_blkcnt_t blockcnt, blk64_t ref_blk,
2561 e2_blkcnt_t blockcnt; in scan_extent_node() local
2842 for (blk = extent.e_pblk, blockcnt = extent.e_lblk, i = 0; in scan_extent_node()
2844 blk++, blockcnt++, i++) { in scan_extent_node()
2850 ((unsigned) blockcnt & EXT2FS_CLUSTER_MASK(ctx->fs)))) { in scan_extent_node()
2856 blockcnt)) { in scan_extent_node()
2857 pctx->blk = blockcnt; in scan_extent_node()
2863 pb->last_block = blockcnt; in scan_extent_node()
2867 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pctx->ino, blk, blockcnt); in scan_extent_node()
[all …]
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()
698 e2_blkcnt_t blockcnt, in write_dir_block() argument
707 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block()
709 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block()
715 if (blockcnt < wd->outdir->num) in write_dir_block()
716 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()
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()
196 list->extents[list->count].e_lblk = blockcnt; in find_blocks()
201 blockcnt, 1); in find_blocks()
Dsuper.c61 e2_blkcnt_t blockcnt, in release_inode_block() argument
77 pctx->blkcount = blockcnt; in release_inode_block()
105 if (blockcnt < 0) { in release_inode_block()
124 if (blockcnt >= 0 && blockcnt < pb->truncate_block) in release_inode_block()
130 if ((blockcnt == pb->truncate_block) && pb->truncate_offset) { in release_inode_block()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jccoefct.c149 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
170 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
180 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
181 if (blockcnt < compptr->MCU_width) { in compress_data()
183 jzero_far((void FAR *) coef->MCU_buffer[blkn + blockcnt], in compress_data()
184 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
185 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
Dfpdfapi_jctrans.c284 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
310 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_output()
317 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
/external/libjpeg-turbo/
Djccoefct.c149 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
170 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
180 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
181 if (blockcnt < compptr->MCU_width) { in compress_data()
183 jzero_far((void *) coef->MCU_buffer[blkn + blockcnt], in compress_data()
184 (compptr->MCU_width - blockcnt) * sizeof(JBLOCK)); in compress_data()
185 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
Djctrans.c298 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
324 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_output()
331 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
/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.c361 e2_blkcnt_t blockcnt, blk64_t ref_blk,
397 e2_blkcnt_t blockcnt, in search_dir_block() argument
408 if (blockcnt < 0) in search_dir_block()
434 "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()

12