/external/e2fsprogs/lib/ext2fs/ |
D | dblist.c | 160 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_add_dir_block2() argument 182 new_entry->blockcnt = blockcnt; in ext2fs_add_dir_block2() 193 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_set_dir_block2() argument 201 (dblist->list[i].blockcnt != blockcnt)) in ext2fs_set_dir_block2() 258 return (db_a->blockcnt - db_b->blockcnt); in dir_block_cmp2() 298 int blockcnt) in ext2fs_add_dir_block() argument 300 return ext2fs_add_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_add_dir_block() 307 int blockcnt) in ext2fs_set_dir_block() argument 309 return ext2fs_set_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_set_dir_block() 346 db.blockcnt = (int) db_info->blockcnt; in passthrough_func() [all …]
|
D | block.c | 326 e2_blkcnt_t blockcnt, in ext2fs_block_iterate3() argument 392 e2_blkcnt_t blockcnt = 0; in ext2fs_block_iterate3() local 416 r = (*ctx.func)(fs, &blk, blockcnt, in ext2fs_block_iterate3() 424 (blk64_t) blockcnt++, in ext2fs_block_iterate3() 472 extent.e_len, blockcnt); in ext2fs_block_iterate3() 474 if (extent.e_lblk + extent.e_len <= (blk64_t) blockcnt) in ext2fs_block_iterate3() 476 if (extent.e_lblk > (blk64_t) blockcnt) in ext2fs_block_iterate3() 477 blockcnt = extent.e_lblk; in ext2fs_block_iterate3() 478 j = blockcnt - extent.e_lblk; in ext2fs_block_iterate3() 480 for (blockcnt = extent.e_lblk, j = 0; in ext2fs_block_iterate3() [all …]
|
D | expanddir.c | 30 e2_blkcnt_t blockcnt, in expand_dir_proc() argument 41 if (blockcnt >= 0) in expand_dir_proc() 45 if (blockcnt && in expand_dir_proc() 58 if (blockcnt > 0) { in expand_dir_proc() 75 if (blockcnt >= 0) in expand_dir_proc()
|
D | bb_inode.c | 45 e2_blkcnt_t blockcnt, 49 e2_blkcnt_t blockcnt, 152 e2_blkcnt_t blockcnt, in clear_bad_block_proc() argument 174 if (blockcnt < 0) { in clear_bad_block_proc() 209 e2_blkcnt_t blockcnt, in set_bad_block_proc() argument 219 if (blockcnt >= 0) { in set_bad_block_proc()
|
D | bmove.c | 40 e2_blkcnt_t blockcnt, blk64_t ref_block, in process_block() argument 81 (unsigned) pb->ino, blockcnt, in process_block() 87 block, blockcnt); in process_block()
|
D | read_bb.c | 41 e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), in mark_bad_block() 48 if (blockcnt < 0) in mark_bad_block()
|
D | dir_iterate.c | 180 e2_blkcnt_t blockcnt, in ext2fs_process_dir_block() argument 195 if (blockcnt < 0) in ext2fs_process_dir_block() 198 entry = blockcnt ? DIRENT_OTHER_FILE : DIRENT_DOT_FILE; in ext2fs_process_dir_block()
|
D | mkjournal.c | 229 e2_blkcnt_t blockcnt, in mkjournal_proc() argument 242 if (blockcnt && in mkjournal_proc() 255 if (blockcnt >= 0) in mkjournal_proc() 259 if (blockcnt <= 0) in mkjournal_proc() 280 if (blockcnt == 0) in mkjournal_proc()
|
D | dblist_dir.c | 75 db_info->blockcnt, 0, 0, priv_data); in db_dir_proc()
|
/external/e2fsprogs/e2fsck/ |
D | pass2.c | 331 if (db_a->blockcnt && !db_b->blockcnt) in special_dir_block_cmp() 334 if (!db_a->blockcnt && db_b->blockcnt) in special_dir_block_cmp() 343 return (int) (db_a->blockcnt - db_b->blockcnt); in special_dir_block_cmp() 557 if (db->blockcnt == 0) { in parse_int_node() 621 dx_db->parent = db->blockcnt; in parse_int_node() 640 db->blockcnt, min_hash, max_hash); in parse_int_node() 642 dx_db = &dx_dir->dx_block[db->blockcnt]; in parse_int_node() 773 cd->pctx.blkcount = db->blockcnt; in check_dir_block() 784 if (db->blockcnt) in check_dir_block() 795 db->blockcnt, ino); in check_dir_block() [all …]
|
D | emptydir.c | 98 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()
|
D | pass1b.c | 86 e2_blkcnt_t blockcnt, blk64_t ref_blk, 345 e2_blkcnt_t blockcnt, in process_pass1b_block() argument 358 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block() 582 e2_blkcnt_t blockcnt, in delete_file_block() argument 600 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block() 696 e2_blkcnt_t blockcnt, in clone_file_block() argument 715 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block() 750 new_block += EXT2FS_CLUSTER_MASK(fs) & blockcnt; in clone_file_block() 751 if (cs->dir && (blockcnt >= 0)) { in clone_file_block() 753 cs->dir, new_block, blockcnt); in clone_file_block() [all …]
|
D | pass1.c | 59 e2_blkcnt_t blockcnt, blk64_t ref_blk, 62 e2_blkcnt_t blockcnt, blk64_t ref_blk, 1793 e2_blkcnt_t blockcnt; in scan_extent_node() local 1935 for (blk = extent.e_pblk, blockcnt = extent.e_lblk, i = 0; in scan_extent_node() 1937 blk++, blockcnt++, i++) { in scan_extent_node() 1943 ((unsigned) blockcnt & EXT2FS_CLUSTER_MASK(ctx->fs)))) { in scan_extent_node() 1951 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pctx->ino, blk, blockcnt); in scan_extent_node() 1954 pctx->num = blockcnt; in scan_extent_node() 1964 pb->last_db_block = blockcnt - 1; in scan_extent_node() 2274 e2_blkcnt_t blockcnt, in process_block() argument [all …]
|
D | badblocks.c | 16 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, 119 int blockcnt EXT2FS_ATTR((unused)), in check_bb_inode_blocks()
|
D | pass3.c | 692 e2_blkcnt_t blockcnt, in expand_dir_proc() argument 706 if (es->guaranteed_size && blockcnt >= es->guaranteed_size) in expand_dir_proc() 709 if (blockcnt > 0) in expand_dir_proc() 710 es->last_block = blockcnt; in expand_dir_proc() 716 if (blockcnt && in expand_dir_proc() 732 if (blockcnt > 0) { in expand_dir_proc() 772 e2_blkcnt_t blockcnt, in find_new_blocks_proc() argument
|
D | rehash.c | 82 e2_blkcnt_t blockcnt, in fill_dir_block() argument 94 if (blockcnt < 0) in fill_dir_block() 97 offset = blockcnt * fs->blocksize; in fill_dir_block() 636 e2_blkcnt_t blockcnt, in write_dir_block() argument 647 if (blockcnt >= wd->outdir->num) { in write_dir_block() 664 if (blockcnt < 0) in write_dir_block() 667 dir = wd->outdir->buf + (blockcnt * fs->blocksize); in write_dir_block()
|
D | super.c | 60 e2_blkcnt_t blockcnt, in release_inode_block() argument 76 pctx->blkcount = blockcnt; in release_inode_block() 104 if (blockcnt < 0) { in release_inode_block() 123 if (blockcnt >= 0 && blockcnt < pb->truncate_block) in release_inode_block() 129 if ((blockcnt == pb->truncate_block) && pb->truncate_offset) { in release_inode_block()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jccoefct.c | 149 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()
|
D | fpdfapi_jctrans.c | 284 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/ |
D | jccoefct.c | 148 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local 169 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data() 179 ypos, xpos, (JDIMENSION) blockcnt); in compress_data() 180 if (blockcnt < compptr->MCU_width) { in compress_data() 182 jzero_far((void *) coef->MCU_buffer[blkn + blockcnt], in compress_data() 183 (compptr->MCU_width - blockcnt) * sizeof(JBLOCK)); in compress_data() 184 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
|
D | jctrans.c | 297 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()
|
/external/opencv3/3rdparty/libjpeg/ |
D | jccoefct.c | 150 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local 173 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data() 184 ypos, xpos, (JDIMENSION) blockcnt); in compress_data() 185 if (blockcnt < compptr->MCU_width) { in compress_data() 187 FMEMZERO((void FAR *) coef->MCU_buffer[blkn + blockcnt], in compress_data() 188 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data() 189 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
|
D | jctrans.c | 281 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local 307 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_output() 314 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
|
/external/e2fsprogs/debugfs/ |
D | filefrag.c | 102 blk64_t *blocknr, e2_blkcnt_t blockcnt, in filefrag_blocks_proc() argument 109 if (blockcnt < 0 || *blocknr == 0) in filefrag_blocks_proc() 112 if ((fs->num == 0) || (blockcnt != fs->logical_start + fs->num) || in filefrag_blocks_proc() 115 if (blockcnt == fs->logical_start + fs->num) in filefrag_blocks_proc() 119 fs->logical_start = blockcnt; in filefrag_blocks_proc()
|
D | htree.c | 326 e2_blkcnt_t blockcnt, blk64_t ref_blk, 362 e2_blkcnt_t blockcnt, in search_dir_block() argument 373 if (blockcnt < 0) in search_dir_block() 399 "phys %llu, offset %u\n", (long long)blockcnt, in search_dir_block()
|