Home
last modified time | relevance | path

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

/Linux-v6.1/fs/f2fs/
Dsuper.c1619 kfree(sbi->raw_super); in f2fs_put_super()
1742 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()
1743 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
3169 struct f2fs_super_block *raw_super = (struct f2fs_super_block *) in sanity_check_area_boundary() local
3172 u32 segment0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in sanity_check_area_boundary()
3173 u32 cp_blkaddr = le32_to_cpu(raw_super->cp_blkaddr); in sanity_check_area_boundary()
3174 u32 sit_blkaddr = le32_to_cpu(raw_super->sit_blkaddr); in sanity_check_area_boundary()
3175 u32 nat_blkaddr = le32_to_cpu(raw_super->nat_blkaddr); in sanity_check_area_boundary()
3176 u32 ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in sanity_check_area_boundary()
3177 u32 main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in sanity_check_area_boundary()
[all …]
Ddebug.c66 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in update_general_status() local
70 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in update_general_status()
71 si->main_area_sections = le32_to_cpu(raw_super->section_count); in update_general_status()
73 le32_to_cpu(raw_super->secs_per_zone); in update_general_status()
583 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local
592 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()
593 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats()
594 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats()
595 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats()
596 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_stats()
[all …]
Dnamei.c196 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature()
201 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()
202 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature()
223 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in f2fs_update_extension_list()
224 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list()
225 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list()
259 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list()
261 sbi->raw_super->extension_count = in f2fs_update_extension_list()
271 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list()
281 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list()
[all …]
Dsysfs.c288 sbi->raw_super->extension_list; in f2fs_sbi_show()
289 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show()
290 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show()
1179 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show()
1206 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
Dfile.c2336 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt()
2340 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt()
2345 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt()
2349 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt()
2967 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features()
3293 count = utf16s_to_utf8s(sbi->raw_super->volume_name, in f2fs_ioc_getfslabel()
3294 ARRAY_SIZE(sbi->raw_super->volume_name), in f2fs_ioc_getfslabel()
3326 memset(sbi->raw_super->volume_name, 0, in f2fs_ioc_setfslabel()
3327 sizeof(sbi->raw_super->volume_name)); in f2fs_ioc_setfslabel()
3329 sbi->raw_super->volume_name, in f2fs_ioc_setfslabel()
[all …]
Df2fs.h202 #define __F2FS_HAS_FEATURE(raw_super, mask) \ argument
203 ((raw_super->feature & cpu_to_le32(mask)) != 0)
204 #define F2FS_HAS_FEATURE(sbi, mask) __F2FS_HAS_FEATURE(sbi->raw_super, mask)
206 (sbi->raw_super->feature |= cpu_to_le32(mask))
208 (sbi->raw_super->feature &= ~cpu_to_le32(mask))
1243 #define RDEV(i) (raw_super->devs[i])
1615 struct f2fs_super_block *raw_super; /* raw super block pointer */ member
2015 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
2091 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
Dsegment.c4167 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local
4237 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info()
4262 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info()
5067 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local
5078 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager()
5079 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager()
5080 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()
5083 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager()
5084 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
Dcheckpoint.c921 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()