/external/e2fsprogs/lib/ext2fs/ |
badblocks.c | 45 retval = ext2fs_get_array(bb->size, sizeof(blk_t), &bb->list); 51 memcpy(bb->list, list, bb->size * sizeof(blk_t)); 53 memset(bb->list, 0, bb->size * sizeof(blk_t)); 153 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk) 205 int ext2fs_badblocks_list_test(ext2_badblocks_list bb, blk_t blk) 283 int ext2fs_badblocks_list_iterate(ext2_badblocks_iterate iter, blk_t *blk) 313 if (memcmp(bb1->list, bb2->list, bb1->num * sizeof(blk_t)) != 0)
|
ext_attr.c | 63 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) 76 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) 102 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk,
|
bitmaps.c | 101 blk_t end, blk_t *oend) 168 blk_t start, unsigned int num, 177 blk_t start, unsigned int num,
|
mkjournal.c | 93 blk_t size, int flags) 98 blk_t i; 148 errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num, 149 blk_t *ret_blk, int *ret_count) 201 blk_t goal; 202 blk_t blk_to_zero; 209 blk_t *blocknr, 211 blk_t ref_block EXT2FS_ATTR((unused)), 216 blk_t new_blk; 275 blk_t size, int flags [all...] |
closefs.c | 63 blk_t *ret_super_blk, 64 blk_t *ret_old_desc_blk, 65 blk_t *ret_new_desc_blk, 68 blk_t group_block, super_blk = 0, old_desc_blk = 0, new_desc_blk = 0; 70 blk_t numblocks, old_desc_blocks; 202 blk_t group_block, 296 blk_t super_blk, old_desc_blk, new_desc_blk;
|
bmove.c | 39 static int process_block(ext2_filsys fs, blk_t *block_nr, 40 e2_blkcnt_t blockcnt, blk_t ref_block, 46 blk_t block, orig;
|
alloc_sb.c | 47 blk_t super_blk, old_desc_blk, new_desc_blk;
|
getsize.c | 73 blk_t *retblocks) 277 blk_t *retblocks) 287 *retblocks = (blk_t) blocks; 296 blk_t blocks;
|
rw_bitmaps.c | 39 blk_t blk; 40 blk_t blk_itr = fs->super->s_first_data_block; 149 blk_t blk; 150 blk_t blk_itr = fs->super->s_first_data_block; 151 blk_t blk_cnt;
|
gen_bitmap.c | 161 blk_t bitno) 181 blk_t bitno) 270 blk_t i; 428 blk_t block, int num) 454 blk_t block, int num) 468 blk_t block, int num)
|
mkdir.c | 40 blk_t blk;
|
/external/e2fsprogs/e2fsck/ |
jfs_user.h | 21 blk_t b_blocknr; 125 int journal_bmap(journal_t *journal, blk_t block, unsigned long *phys); 126 struct buffer_head *getblk(kdev_t ctx, blk_t blocknr, int blocksize);
|
pass1b.c | 57 blk_t block; 85 static int process_pass1b_block(ext2_filsys fs, blk_t *blocknr, 86 e2_blkcnt_t blockcnt, blk_t ref_blk, 92 static int check_if_fs_block(e2fsck_t ctx, blk_t test_blk); 118 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk_t blk, 330 blk_t *block_nr, 332 blk_t ref_blk EXT2FS_ATTR((unused)), 548 static void decrement_badcount(e2fsck_t ctx, blk_t block, struct dup_block *p) 557 blk_t *block_nr, 559 blk_t ref_block EXT2FS_ATTR((unused)) [all...] |
pass1.c | 58 static int process_block(ext2_filsys fs, blk_t *blocknr, 59 e2_blkcnt_t blockcnt, blk_t ref_blk, 61 static int process_bad_block(ext2_filsys fs, blk_t *block_nr, 62 e2_blkcnt_t blockcnt, blk_t ref_blk, 77 /* static char *describe_illegal_block(ext2_filsys fs, blk_t block); */ 84 blk_t max_blocks; 88 blk_t previous_block; 172 blk_t blocks; 407 blk_t blk; [all...] |
super.c | 57 blk_t *block_nr, 59 blk_t ref_blk EXT2FS_ATTR((unused)), 66 blk_t blk = *block_nr; 104 blk_t *bp; 112 for (i = 0, bp = (blk_t *) pb->buf; 314 blk_t blk, pblk, expect; 457 blk_t first_block, last_block; 461 blk_t blocks_per_group = fs->super->s_blocks_per_group; 462 blk_t bpg_max; 469 blk_t should_be [all...] |
/external/e2fsprogs/debugfs/ |
htree.c | 34 blk_t blk, char *buf) 42 blk_t pblk; 112 blk_t blk, char *buf, int level); 161 blk_t blk, char *buf, int level) 165 blk_t pblk; 202 blk_t blk; 351 static int search_dir_block(ext2_filsys fs, blk_t *blocknr, 352 e2_blkcnt_t blockcnt, blk_t ref_blk, 387 static int search_dir_block(ext2_filsys fs, blk_t *blocknr, 389 blk_t ref_blk EXT2FS_ATTR((unused)) [all...] |
debugfs.h | 37 extern int strtoblk(const char *cmd, const char *str, blk_t *ret); 44 blk_t *block, blk_t *count);
|
icheck.c | 22 blk_t blk; 34 blk_t *block_nr, 36 blk_t ref_block EXT2FS_ATTR((unused)),
|
util.c | 273 int strtoblk(const char *cmd, const char *str, blk_t *ret) 275 blk_t blk; 331 blk_t *block, blk_t *count)
|
/external/e2fsprogs/tests/progs/ |
test_rel.c | 55 const char *str, blk_t *blk) 92 static void display_brel_entry(blk_t old, 147 blk_t max_blk; 177 blk_t old, new, offset=0, owner=0; 218 blk_t blk; 256 blk_t blk; 278 blk_t blk; 307 blk_t old, new; 332 blk_t blk; 538 blk_t block, offset [all...] |
/external/e2fsprogs/resize/ |
online.c | 22 blk_t *new_size, int flags EXT2FS_ATTR((unused))) 33 blk_t size; 143 input.reserved_blocks = (blk_t) (percent * input.blocks_count
|
resize2fs.c | 44 static errcode_t adjust_superblock(ext2_resize_t rfs, blk_t new_size); 75 errcode_t resize_fs(ext2_filsys fs, blk_t *new_size, int flags, 193 blk_t i, blk, super_blk, old_desc_blk, new_desc_blk; 257 blk_t blk; 295 ext2fs_block_bitmap reserve_blocks, blk_t new_size) 300 blk_t blk, group_block; 568 static errcode_t adjust_superblock(ext2_resize_t rfs, blk_t new_size) 573 blk_t group_block; 686 blk_t b; 731 int group, blk_t blk [all...] |
/external/e2fsprogs/misc/ |
badblocks.c | 105 static blk_t currently_testing = 0; 106 static blk_t num_blocks = 0; 109 static blk_t next_bad = 0; 139 static int bb_output (blk_t bad) 261 blk_t current_block) 327 blk_t current_block) 434 static unsigned int test_ro (int dev, blk_t last_block, 435 int block_size, blk_t first_block, 549 static unsigned int test_rw (int dev, blk_t last_block, 550 int block_size, blk_t first_block [all...] |
tune2fs.c | 91 blk_t old_loc; 92 blk_t new_loc; 253 static int release_blocks_proc(ext2_filsys fs, blk_t *blocknr, 257 blk_t block; 1024 blk_t j, needed_blocks = 0; 1025 blk_t start_blk, end_blk; 1067 static int ext2fs_is_meta_block(ext2_filsys fs, blk_t blk) 1078 static int ext2fs_is_block_in_group(ext2_filsys fs, dgrp_t group, blk_t blk) 1080 blk_t start_blk, end_blk; 1100 blk_t blk, new_blk, goal [all...] |
e2image.c | 170 blk_t *blocks) 218 blk_t *block_nr, 220 blk_t ref_block EXT2FS_ATTR((unused)), 235 blk_t *block_nr, 237 blk_t ref_block EXT2FS_ATTR((unused)), 249 blk_t first_block, b; 312 int blocksize, blk_t block) 344 static void scramble_dir_block(ext2_filsys fs, blk_t blk, char *buf) 409 blk_t blk;
|