Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Ddblist.c160 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 …]
Dblock.c326 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 …]
Dexpanddir.c30 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()
Dbb_inode.c45 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()
Dbmove.c40 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()
Dread_bb.c41 e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), in mark_bad_block()
48 if (blockcnt < 0) in mark_bad_block()
Ddir_iterate.c180 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()
Dmkjournal.c229 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()
Ddblist_dir.c75 db_info->blockcnt, 0, 0, priv_data); in db_dir_proc()
Dext2fs.h138 e2_blkcnt_t blockcnt; member
145 int blockcnt; member
876 int blockcnt,
885 e2_blkcnt_t blockcnt,
896 e2_blkcnt_t blockcnt,
961 blk_t blk, int blockcnt);
963 blk64_t blk, e2_blkcnt_t blockcnt);
979 blk_t blk, int blockcnt);
981 blk64_t blk, e2_blkcnt_t blockcnt);
/external/e2fsprogs/e2fsck/
Dpass2.c331 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()
544 if (db->blockcnt == 0) { in parse_int_node()
608 dx_db->parent = db->blockcnt; in parse_int_node()
627 db->blockcnt, min_hash, max_hash); in parse_int_node()
629 dx_db = &dx_dir->dx_block[db->blockcnt]; in parse_int_node()
760 cd->pctx.blkcount = db->blockcnt; in check_dir_block()
771 if (db->blockcnt) in check_dir_block()
782 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.c86 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 …]
Dpass1.c59 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 …]
Dbadblocks.c16 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()
Dpass3.c692 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
Drehash.c82 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()
Dsuper.c60 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/core/src/fxcodec/libjpeg/
Dfpdfapi_jccoefct.c150 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
171 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
181 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
182 if (blockcnt < compptr->MCU_width) { in compress_data()
184 jzero_far((void FAR *) coef->MCU_buffer[blkn + blockcnt], in compress_data()
185 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
186 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
Dfpdfapi_jctrans.c285 int blkn, ci, xindex, yindex, yoffset, blockcnt; in compress_output() local
311 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_output()
318 for (xindex = 0; xindex < blockcnt; xindex++) in compress_output()
/external/jpeg/
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 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()
Djctrans.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/e2fsprogs/debugfs/
Dfilefrag.c102 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()
Dhtree.c326 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()
Ddebugfs.c464 blk64_t *blocknr, e2_blkcnt_t blockcnt, in list_blocks_proc() argument
472 if (blockcnt >= 0) { in list_blocks_proc()
478 (lb->last_bcnt+1 == blockcnt)) { in list_blocks_proc()
480 lb->last_bcnt = blockcnt; in list_blocks_proc()
488 lb->first_bcnt = lb->last_bcnt = blockcnt; in list_blocks_proc()
499 if (blockcnt == -1) in list_blocks_proc()
501 else if (blockcnt == -2) in list_blocks_proc()
503 else if (blockcnt == -3) in list_blocks_proc()
951 e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), in print_blocks_proc()
1401 e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), in mark_blocks_proc()
[all …]

12