|
| bool | is_usable_seg (struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) |
| |
| unsigned int | get_usable_seg_count (struct f2fs_sb_info *sbi) |
| |
| u32 | get_free_segments (struct f2fs_sb_info *sbi) |
| |
| void | update_free_segments (struct f2fs_sb_info *sbi) |
| |
| static void | print_xattr_entry (const struct f2fs_xattr_entry *ent) |
| |
| void | print_inode_info (struct f2fs_sb_info *sbi, struct f2fs_node *node, int name) |
| |
| void | print_node_info (struct f2fs_sb_info *sbi, struct f2fs_node *node_block, int verbose) |
| |
| void | print_extention_list (struct f2fs_super_block *sb, int cold) |
| |
| static void | DISP_label (const char *name) |
| |
| void | print_sb_debug_info (struct f2fs_super_block *sb) |
| |
| void | print_raw_sb_info (struct f2fs_super_block *sb) |
| |
| void | print_chksum (struct f2fs_checkpoint *cp) |
| |
| void | print_version_bitmap (struct f2fs_sb_info *sbi) |
| |
| void | print_ckpt_info (struct f2fs_sb_info *sbi) |
| |
| void | print_cp_state (u32 flag) |
| |
| void | print_sb_state (struct f2fs_super_block *sb) |
| |
| void | print_sb_stop_reason (struct f2fs_super_block *sb) |
| |
| void | print_sb_errors (struct f2fs_super_block *sb) |
| |
| bool | f2fs_is_valid_blkaddr (struct f2fs_sb_info *sbi, block_t blkaddr, int type) |
| |
| static block_t | current_sit_addr (struct f2fs_sb_info *sbi, unsigned int start) |
| |
| int | f2fs_ra_meta_pages (struct f2fs_sb_info *sbi, block_t start, int nrpages, int type) |
| |
| void | update_superblock (struct f2fs_super_block *sb, int sb_mask) |
| |
| static int | sanity_check_area_boundary (struct f2fs_super_block *sb, enum SB_ADDR sb_addr) |
| |
| static int | verify_sb_chksum (struct f2fs_super_block *sb) |
| |
| int | sanity_check_raw_super (struct f2fs_super_block *sb, enum SB_ADDR sb_addr) |
| |
| int | validate_super_block (struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) |
| |
| int | init_sb_info (struct f2fs_sb_info *sbi) |
| |
| static int | verify_checksum_chksum (struct f2fs_checkpoint *cp) |
| |
| static void * | get_checkpoint_version (block_t cp_addr) |
| |
| void * | validate_checkpoint (struct f2fs_sb_info *sbi, block_t cp_addr, unsigned long long *version) |
| |
| int | get_valid_checkpoint (struct f2fs_sb_info *sbi) |
| |
| bool | is_checkpoint_stop (struct f2fs_super_block *sb, bool abnormal) |
| |
| bool | is_inconsistent_error (struct f2fs_super_block *sb) |
| |
| static int | f2fs_should_proceed (struct f2fs_super_block *sb, u32 flag) |
| |
| int | sanity_check_ckpt (struct f2fs_sb_info *sbi) |
| |
| pgoff_t | current_nat_addr (struct f2fs_sb_info *sbi, nid_t start, int *pack) |
| |
| static int | f2fs_early_init_nid_bitmap (struct f2fs_sb_info *sbi) |
| |
| static int | f2fs_late_init_nid_bitmap (struct f2fs_sb_info *sbi) |
| |
| u32 | update_nat_bits_flags (struct f2fs_super_block *sb, struct f2fs_checkpoint *cp, u32 flags) |
| |
| void | write_nat_bits (struct f2fs_sb_info *sbi, struct f2fs_super_block *sb, struct f2fs_checkpoint *cp, int set) |
| |
| static int | check_nat_bits (struct f2fs_sb_info *sbi, struct f2fs_super_block *sb, struct f2fs_checkpoint *cp) |
| |
| int | init_node_manager (struct f2fs_sb_info *sbi) |
| |
| int | build_node_manager (struct f2fs_sb_info *sbi) |
| |
| int | build_sit_info (struct f2fs_sb_info *sbi) |
| |
| void | reset_curseg (struct f2fs_sb_info *sbi, int type) |
| |
| static void | read_compacted_summaries (struct f2fs_sb_info *sbi) |
| |
| static void | restore_node_summary (struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_summary_block *sum_blk) |
| |
| static void | read_normal_summaries (struct f2fs_sb_info *sbi, int type) |
| |
| void | update_sum_entry (struct f2fs_sb_info *sbi, block_t blk_addr, struct f2fs_summary *sum) |
| |
| static void | restore_curseg_summaries (struct f2fs_sb_info *sbi) |
| |
| static int | build_curseg (struct f2fs_sb_info *sbi) |
| |
| static void | check_seg_range (struct f2fs_sb_info *sbi, unsigned int segno) |
| |
| void | get_current_sit_page (struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_block *sit_blk) |
| |
| void | rewrite_current_sit_page (struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_block *sit_blk) |
| |
| void | check_block_count (struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_entry *raw_sit) |
| |
| void | __seg_info_from_raw_sit (struct seg_entry *se, struct f2fs_sit_entry *raw_sit) |
| |
| void | seg_info_from_raw_sit (struct f2fs_sb_info *sbi, struct seg_entry *se, struct f2fs_sit_entry *raw_sit) |
| |
| struct seg_entry * | get_seg_entry (struct f2fs_sb_info *sbi, unsigned int segno) |
| |
| unsigned short | get_seg_vblocks (struct f2fs_sb_info *sbi, struct seg_entry *se) |
| |
| unsigned char * | get_seg_bitmap (struct f2fs_sb_info *sbi, struct seg_entry *se) |
| |
| unsigned char | get_seg_type (struct f2fs_sb_info *sbi, struct seg_entry *se) |
| |
| struct f2fs_summary_block * | get_sum_block (struct f2fs_sb_info *sbi, unsigned int segno, int *ret_type) |
| |
| int | get_sum_entry (struct f2fs_sb_info *sbi, u32 blk_addr, struct f2fs_summary *sum_entry) |
| |
| static void | get_nat_entry (struct f2fs_sb_info *sbi, nid_t nid, struct f2fs_nat_entry *raw_nat) |
| |
| void | update_data_blkaddr (struct f2fs_sb_info *sbi, nid_t nid, u16 ofs_in_node, block_t newaddr, struct f2fs_node *node_blk) |
| |
| void | update_nat_blkaddr (struct f2fs_sb_info *sbi, nid_t ino, nid_t nid, block_t newaddr) |
| |
| void | get_node_info (struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) |
| |
| static int | build_sit_entries (struct f2fs_sb_info *sbi) |
| |
| static int | early_build_segment_manager (struct f2fs_sb_info *sbi) |
| |
| static int | late_build_segment_manager (struct f2fs_sb_info *sbi) |
| |
| void | build_sit_area_bitmap (struct f2fs_sb_info *sbi) |
| |
| void | rewrite_sit_area_bitmap (struct f2fs_sb_info *sbi) |
| |
| int | flush_sit_journal_entries (struct f2fs_sb_info *sbi) |
| |
| int | flush_nat_journal_entries (struct f2fs_sb_info *sbi) |
| |
| void | flush_journal_entries (struct f2fs_sb_info *sbi) |
| |
| void | flush_sit_entries (struct f2fs_sb_info *sbi) |
| |
| int | relocate_curseg_offset (struct f2fs_sb_info *sbi, int type) |
| |
| void | set_section_type (struct f2fs_sb_info *sbi, unsigned int segno, int type) |
| |
| static bool | write_pointer_at_zone_start (struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(zone_segno)) |
| |
| static void | zero_journal_entries_with_type (struct f2fs_sb_info *sbi, int type) |
| |
| int | find_next_free_block (struct f2fs_sb_info *sbi, u64 *to, int left, int want_type, bool new_sec) |
| |
| void | move_one_curseg_info (struct f2fs_sb_info *sbi, u64 from, int left, int i) |
| |
| void | move_curseg_info (struct f2fs_sb_info *sbi, u64 from, int left) |
| |
| void | update_curseg_info (struct f2fs_sb_info *sbi, int type) |
| |
| void | zero_journal_entries (struct f2fs_sb_info *sbi) |
| |
| void | write_curseg_info (struct f2fs_sb_info *sbi) |
| |
| void | save_curseg_warm_node_info (struct f2fs_sb_info *sbi) |
| |
| void | restore_curseg_warm_node_info (struct f2fs_sb_info *sbi) |
| |
| int | lookup_nat_in_journal (struct f2fs_sb_info *sbi, u32 nid, struct f2fs_nat_entry *raw_nat) |
| |
| void | nullify_nat_entry (struct f2fs_sb_info *sbi, u32 nid) |
| |
| void | duplicate_checkpoint (struct f2fs_sb_info *sbi) |
| |
| void | write_checkpoint (struct f2fs_sb_info *sbi) |
| |
| void | write_checkpoints (struct f2fs_sb_info *sbi) |
| |
| void | write_raw_cp_blocks (struct f2fs_sb_info *sbi, struct f2fs_checkpoint *cp, int which) |
| |
| void | build_nat_area_bitmap (struct f2fs_sb_info *sbi) |
| |
| static int | check_sector_size (struct f2fs_super_block *sb) |
| |
| static int | tune_sb_features (struct f2fs_sb_info *sbi) |
| |
| static struct fsync_inode_entry * | get_fsync_inode (struct list_head *head, nid_t ino) |
| |
| static struct fsync_inode_entry * | add_fsync_inode (struct list_head *head, nid_t ino) |
| |
| static void | del_fsync_inode (struct fsync_inode_entry *entry) |
| |
| static void | destroy_fsync_dnodes (struct list_head *head) |
| |
| static int | loop_node_chain_fix (block_t blkaddr_fast, struct f2fs_node *node_blk_fast, block_t blkaddr, struct f2fs_node *node_blk) |
| |
| static int | sanity_check_node_chain (struct f2fs_sb_info *sbi, block_t *blkaddr_fast, struct f2fs_node *node_blk_fast, block_t blkaddr, struct f2fs_node *node_blk, bool *is_detecting) |
| |
| static int | find_fsync_inode (struct f2fs_sb_info *sbi, struct list_head *head) |
| |
| static int | do_record_fsync_data (struct f2fs_sb_info *sbi, struct f2fs_node *node_blk, block_t blkaddr) |
| |
| static int | traverse_dnodes (struct f2fs_sb_info *sbi, struct list_head *inode_list) |
| |
| static int | record_fsync_data (struct f2fs_sb_info *sbi) |
| |
| int | f2fs_do_mount (struct f2fs_sb_info *sbi) |
| |
| void | f2fs_do_umount (struct f2fs_sb_info *sbi) |
| |
| int | f2fs_sparse_initialize_meta (struct f2fs_sb_info *sbi) |
| |