Searched refs:raw_super (Results 1 – 8 of 8) sorted by relevance
1075 kfree(sbi->raw_super); in f2fs_put_super()1186 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()1188 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()2065 struct f2fs_super_block *raw_super = (struct f2fs_super_block *) in sanity_check_area_boundary() local2068 u32 segment0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in sanity_check_area_boundary()2069 u32 cp_blkaddr = le32_to_cpu(raw_super->cp_blkaddr); in sanity_check_area_boundary()2070 u32 sit_blkaddr = le32_to_cpu(raw_super->sit_blkaddr); in sanity_check_area_boundary()2071 u32 nat_blkaddr = le32_to_cpu(raw_super->nat_blkaddr); in sanity_check_area_boundary()2072 u32 ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in sanity_check_area_boundary()2073 u32 main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in sanity_check_area_boundary()[all …]
446 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local453 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()454 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats()455 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats()456 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats()457 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_stats()458 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats()460 le32_to_cpu(raw_super->secs_per_zone); in f2fs_build_stats()
178 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature()183 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()184 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature()202 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in f2fs_update_extension_list()203 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list()204 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list()238 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list()240 sbi->raw_super->extension_count = in f2fs_update_extension_list()250 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list()260 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list()
145 sbi->raw_super->extension_list; in f2fs_sbi_show()146 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show()147 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show()531 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show()559 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
155 ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)157 (F2FS_SB(sb)->raw_super->feature |= cpu_to_le32(mask))159 (F2FS_SB(sb)->raw_super->feature &= ~cpu_to_le32(mask))1053 #define RDEV(i) (raw_super->devs[i])1133 struct f2fs_super_block *raw_super; /* raw super block pointer */ member1438 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()1514 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
3723 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local3788 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info()3807 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info()4115 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local4126 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager()4127 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager()4128 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()4131 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager()4132 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
2050 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt()2054 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt()2059 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt()2063 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt()2585 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features()
842 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()