Searched refs:f2fs_info (Results 1 – 3 of 3) sorted by relevance
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.h | 37 struct f2fs_info { struct 62 uint64_t get_num_blocks_used(struct f2fs_info *info); argument 63 struct f2fs_info *generate_f2fs_info(int fd); 64 void free_f2fs_info(struct f2fs_info *info); 66 int run_on_used_blocks(uint64_t startblock, struct f2fs_info *info, int (*func)(uint64_t pos, void …
|
D | f2fs_sparseblock.c | 129 static void dbg_print_info_struct(struct f2fs_info *info) in dbg_print_info_struct() 262 …int_info(int fd, struct f2fs_super_block *sb, struct f2fs_checkpoint **cp, struct f2fs_info *info) in get_valid_checkpoint_info() 311 static int gather_sit_info(int fd, struct f2fs_info *info) in gather_sit_info() 345 static inline uint64_t sum_blk_addr(struct f2fs_checkpoint *cp, struct f2fs_info *info, int base, i… 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 uint64_t get_num_blocks_used(struct f2fs_info *info) in get_num_blocks_used() 485 int run_on_used_blocks(uint64_t startblock, struct f2fs_info *info, int (*func)(uint64_t pos, void … in run_on_used_blocks() [all …]
|
/system/vold/ |
D | EncryptInplace.cpp | 392 struct f2fs_info* f2fs_info = NULL; in cryptfs_enable_inplace_f2fs() local 417 f2fs_info = generate_f2fs_info(data.realfd); in cryptfs_enable_inplace_f2fs() 418 if (!f2fs_info) goto errout; in cryptfs_enable_inplace_f2fs() 424 data.tot_used_blocks = get_num_blocks_used(f2fs_info); in cryptfs_enable_inplace_f2fs() 436 data.buffer = (char*)malloc(f2fs_info->block_size); in cryptfs_enable_inplace_f2fs() 445 rc = run_on_used_blocks(data.blocks_already_done, f2fs_info, &encrypt_one_block_f2fs, &data); in cryptfs_enable_inplace_f2fs() 460 free(f2fs_info); in cryptfs_enable_inplace_f2fs()
|