Home
last modified time | relevance | path

Searched refs:raw_super (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/fs/f2fs/
Dsuper.c1076 kfree(sbi->raw_super); in f2fs_put_super()
1190 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()
1192 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
2102 struct f2fs_super_block *raw_super = (struct f2fs_super_block *) in sanity_check_area_boundary() local
2105 u32 segment0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in sanity_check_area_boundary()
2106 u32 cp_blkaddr = le32_to_cpu(raw_super->cp_blkaddr); in sanity_check_area_boundary()
2107 u32 sit_blkaddr = le32_to_cpu(raw_super->sit_blkaddr); in sanity_check_area_boundary()
2108 u32 nat_blkaddr = le32_to_cpu(raw_super->nat_blkaddr); in sanity_check_area_boundary()
2109 u32 ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in sanity_check_area_boundary()
2110 u32 main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in sanity_check_area_boundary()
[all …]
Ddebug.c450 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local
457 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()
458 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats()
459 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats()
460 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats()
461 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_stats()
462 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats()
464 le32_to_cpu(raw_super->secs_per_zone); in f2fs_build_stats()
Dnamei.c180 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature()
185 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()
186 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature()
204 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in f2fs_update_extension_list()
205 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list()
206 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list()
240 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list()
242 sbi->raw_super->extension_count = in f2fs_update_extension_list()
252 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list()
262 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list()
Dsysfs.c145 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()
537 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show()
565 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
Df2fs.h155 ((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))
1054 #define RDEV(i) (raw_super->devs[i])
1135 struct f2fs_super_block *raw_super; /* raw super block pointer */ member
1451 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
1527 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
Dsegment.c3757 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local
3820 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info()
3839 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info()
4177 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local
4188 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager()
4189 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager()
4190 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()
4193 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager()
4194 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
Dfile.c2054 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt()
2058 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt()
2063 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt()
2067 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt()
2589 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features()
Dcheckpoint.c853 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()