Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsuper.c1708 kfree(sbi->raw_super); in f2fs_put_super()
1833 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()
1834 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
3370 struct f2fs_super_block *raw_super = (struct f2fs_super_block *) in sanity_check_area_boundary() local
3373 u32 segment0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in sanity_check_area_boundary()
3374 u32 cp_blkaddr = le32_to_cpu(raw_super->cp_blkaddr); in sanity_check_area_boundary()
3375 u32 sit_blkaddr = le32_to_cpu(raw_super->sit_blkaddr); in sanity_check_area_boundary()
3376 u32 nat_blkaddr = le32_to_cpu(raw_super->nat_blkaddr); in sanity_check_area_boundary()
3377 u32 ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in sanity_check_area_boundary()
3378 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()
667 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local
676 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()
677 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats()
678 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats()
679 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats()
680 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_stats()
[all …]
Dnamei.c76 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in f2fs_update_extension_list()
77 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list()
78 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list()
112 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list()
114 sbi->raw_super->extension_count = in f2fs_update_extension_list()
124 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list()
134 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list()
142 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_compress_new_inode()
162 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_compress_new_inode()
163 hot_count = sbi->raw_super->hot_ext_count; in set_compress_new_inode()
[all …]
Dsysfs.c294 sbi->raw_super->extension_list; in f2fs_sbi_show()
295 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show()
296 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show()
1340 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show()
1367 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
Dfile.c2371 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt()
2375 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt()
2380 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt()
2384 memcpy(encrypt_pw_salt, sbi->raw_super->encrypt_pw_salt, 16); in f2fs_ioc_get_encryption_pwsalt()
3029 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features()
3357 count = utf16s_to_utf8s(sbi->raw_super->volume_name, in f2fs_ioc_getfslabel()
3358 ARRAY_SIZE(sbi->raw_super->volume_name), in f2fs_ioc_getfslabel()
3390 memset(sbi->raw_super->volume_name, 0, in f2fs_ioc_setfslabel()
3391 sizeof(sbi->raw_super->volume_name)); in f2fs_ioc_setfslabel()
3393 sbi->raw_super->volume_name, in f2fs_ioc_setfslabel()
[all …]
Dsegment.c4374 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local
4444 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info()
4466 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info()
5233 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local
5244 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager()
5245 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager()
5246 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()
5249 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager()
5250 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
Df2fs.h205 #define __F2FS_HAS_FEATURE(raw_super, mask) \ argument
206 ((raw_super->feature & cpu_to_le32(mask)) != 0)
207 #define F2FS_HAS_FEATURE(sbi, mask) __F2FS_HAS_FEATURE(sbi->raw_super, mask)
1235 #define RDEV(i) (raw_super->devs[i])
1540 struct f2fs_super_block *raw_super; /* raw super block pointer */ member
1951 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
2027 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
Dcheckpoint.c920 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()