Searched refs:f2fs_info (Results 1 – 3 of 3) sorted by relevance
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.h | 39 struct f2fs_info { struct 64 u64 get_num_blocks_used(struct f2fs_info *info); argument 65 struct f2fs_info *generate_f2fs_info(int fd); 66 void free_f2fs_info(struct f2fs_info *info); 68 int run_on_used_blocks(u64 startblock, struct f2fs_info *info, int (*func)(u64 pos, void *data), vo…
|
D | f2fs_sparseblock.c | 127 static void dbg_print_info_struct(struct f2fs_info *info) in dbg_print_info_struct() 259 …int_info(int fd, struct f2fs_super_block *sb, struct f2fs_checkpoint **cp, struct f2fs_info *info) in get_valid_checkpoint_info() 312 static int gather_sit_info(int fd, struct f2fs_info *info) in gather_sit_info() 345 static inline u64 sum_blk_addr(struct f2fs_checkpoint *cp, struct f2fs_info *info, int base, int ty… in sum_blk_addr() 351 static int get_sit_summary(int fd, struct f2fs_info *info, struct f2fs_checkpoint *cp) in get_sit_summary() 379 struct f2fs_info *generate_f2fs_info(int fd) in generate_f2fs_info() 383 struct f2fs_info *info; in generate_f2fs_info() 455 void free_f2fs_info(struct f2fs_info *info) in free_f2fs_info() 470 u64 get_num_blocks_used(struct f2fs_info *info) in get_num_blocks_used() 485 int run_on_used_blocks(u64 startblock, struct f2fs_info *info, int (*func)(u64 pos, void *data), vo… in run_on_used_blocks() [all …]
|
/system/vold/ |
D | cryptfs.c | 2603 struct f2fs_info *f2fs_info = NULL; local 2626 f2fs_info = generate_f2fs_info(data.realfd); 2627 if (!f2fs_info) 2634 data.tot_used_blocks = get_num_blocks_used(f2fs_info); 2641 data.buffer = malloc(f2fs_info->block_size); 2650 rc = run_on_used_blocks(data.blocks_already_done, f2fs_info, &encrypt_one_block_f2fs, &data); 2666 free(f2fs_info);
|