Home
last modified time | relevance | path

Searched refs:f2fs_info (Results 1 – 3 of 3) sorted by relevance

/system/extras/f2fs_utils/
Df2fs_sparseblock.h39 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…
Df2fs_sparseblock.c127 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/
Dcryptfs.c2561 struct f2fs_info *f2fs_info = NULL; local
2584 f2fs_info = generate_f2fs_info(data.realfd);
2585 if (!f2fs_info)
2592 data.tot_used_blocks = get_num_blocks_used(f2fs_info);
2599 data.buffer = malloc(f2fs_info->block_size);
2608 rc = run_on_used_blocks(data.blocks_already_done, f2fs_info, &encrypt_one_block_f2fs, &data);
2624 free(f2fs_info);