/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/f2fs/ |
H A D | super.c | 1429 kfree(sbi->raw_super); in f2fs_put_super() 3078 raw_super->hot_ext_count, in sanity_check_raw_super() 3252 struct f2fs_super_block *raw_super = sbi->raw_super; in init_sb_info() local 3438 if (!*raw_super) { in read_raw_super_block() 3442 *raw_super = super; in read_raw_super_block() 3448 if (!*raw_super) in read_raw_super_block() 3655 raw_super = NULL; in f2fs_fill_super() 3687 sbi->raw_super = raw_super; in f2fs_fill_super() 3692 sizeof(raw_super->uuid)); in f2fs_fill_super() 3740 memcpy(&sb->s_uuid, raw_super->uuid, sizeof(raw_super->uuid)); in f2fs_fill_super() [all …]
|
H A D | debug.c | 66 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() 541 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local 549 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats() 550 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats() 551 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats() 552 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats() 554 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats() [all …]
|
H A D | namei.c | 188 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature() 193 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature() 194 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature() 216 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list() 217 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list() 251 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list() 253 sbi->raw_super->extension_count = in f2fs_update_extension_list() 263 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list() 273 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list() 294 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_compress_inode() [all …]
|
H A D | sysfs.c | 257 sbi->raw_super->extension_list; in f2fs_sbi_show() 258 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show() 259 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show() 892 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show() 919 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
|
H A D | file.c | 2335 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt() 2339 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt() 2344 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt() 2348 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt() 2942 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features() 3277 count = utf16s_to_utf8s(sbi->raw_super->volume_name, in f2fs_ioc_getfslabel() 3278 ARRAY_SIZE(sbi->raw_super->volume_name), in f2fs_ioc_getfslabel() 3310 memset(sbi->raw_super->volume_name, 0, in f2fs_ioc_setfslabel() 3311 sizeof(sbi->raw_super->volume_name)); in f2fs_ioc_setfslabel() 3313 sbi->raw_super->volume_name, in f2fs_ioc_setfslabel() [all …]
|
H A D | f2fs.h | 172 #define __F2FS_HAS_FEATURE(raw_super, mask) \ argument 173 ((raw_super->feature & cpu_to_le32(mask)) != 0) 174 #define F2FS_HAS_FEATURE(sbi, mask) __F2FS_HAS_FEATURE(sbi->raw_super, mask) 176 (sbi->raw_super->feature |= cpu_to_le32(mask)) 178 (sbi->raw_super->feature &= ~cpu_to_le32(mask)) 1172 #define RDEV(i) (raw_super->devs[i]) 1418 struct f2fs_super_block *raw_super; /* raw super block pointer */ member 1783 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER() 1859 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
|
H A D | segment.c | 4272 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local 4339 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info() 4364 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info() 5123 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local 5134 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager() 5135 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager() 5136 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager() 5139 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager() 5140 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
|
H A D | checkpoint.c | 892 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/f2fs/ |
H A D | super.c | 1429 kfree(sbi->raw_super); in f2fs_put_super() 3078 raw_super->hot_ext_count, in sanity_check_raw_super() 3252 struct f2fs_super_block *raw_super = sbi->raw_super; in init_sb_info() local 3438 if (!*raw_super) { in read_raw_super_block() 3442 *raw_super = super; in read_raw_super_block() 3448 if (!*raw_super) in read_raw_super_block() 3655 raw_super = NULL; in f2fs_fill_super() 3687 sbi->raw_super = raw_super; in f2fs_fill_super() 3692 sizeof(raw_super->uuid)); in f2fs_fill_super() 3740 memcpy(&sb->s_uuid, raw_super->uuid, sizeof(raw_super->uuid)); in f2fs_fill_super() [all …]
|
H A D | debug.c | 66 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() 541 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local 549 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats() 550 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats() 551 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats() 552 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats() 554 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats() [all …]
|
H A D | namei.c | 188 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature() 193 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature() 194 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature() 216 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list() 217 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list() 251 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list() 253 sbi->raw_super->extension_count = in f2fs_update_extension_list() 263 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list() 273 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list() 294 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_compress_inode() [all …]
|
H A D | sysfs.c | 257 sbi->raw_super->extension_list; in f2fs_sbi_show() 258 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show() 259 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show() 892 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show() 919 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
|
H A D | file.c | 2335 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt() 2339 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt() 2344 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt() 2348 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt() 2942 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features() 3277 count = utf16s_to_utf8s(sbi->raw_super->volume_name, in f2fs_ioc_getfslabel() 3278 ARRAY_SIZE(sbi->raw_super->volume_name), in f2fs_ioc_getfslabel() 3310 memset(sbi->raw_super->volume_name, 0, in f2fs_ioc_setfslabel() 3311 sizeof(sbi->raw_super->volume_name)); in f2fs_ioc_setfslabel() 3313 sbi->raw_super->volume_name, in f2fs_ioc_setfslabel() [all …]
|
H A D | f2fs.h | 172 #define __F2FS_HAS_FEATURE(raw_super, mask) \ argument 173 ((raw_super->feature & cpu_to_le32(mask)) != 0) 174 #define F2FS_HAS_FEATURE(sbi, mask) __F2FS_HAS_FEATURE(sbi->raw_super, mask) 176 (sbi->raw_super->feature |= cpu_to_le32(mask)) 178 (sbi->raw_super->feature &= ~cpu_to_le32(mask)) 1172 #define RDEV(i) (raw_super->devs[i]) 1418 struct f2fs_super_block *raw_super; /* raw super block pointer */ member 1783 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER() 1859 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
|
H A D | segment.c | 4272 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local 4339 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info() 4364 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info() 5123 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local 5134 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager() 5135 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager() 5136 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager() 5139 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager() 5140 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
|
H A D | checkpoint.c | 892 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/f2fs/ |
H A D | super.c | 1429 kfree(sbi->raw_super); in f2fs_put_super() 3078 raw_super->hot_ext_count, in sanity_check_raw_super() 3252 struct f2fs_super_block *raw_super = sbi->raw_super; in init_sb_info() local 3438 if (!*raw_super) { in read_raw_super_block() 3442 *raw_super = super; in read_raw_super_block() 3448 if (!*raw_super) in read_raw_super_block() 3655 raw_super = NULL; in f2fs_fill_super() 3687 sbi->raw_super = raw_super; in f2fs_fill_super() 3692 sizeof(raw_super->uuid)); in f2fs_fill_super() 3740 memcpy(&sb->s_uuid, raw_super->uuid, sizeof(raw_super->uuid)); in f2fs_fill_super() [all …]
|
H A D | debug.c | 66 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() 541 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_stats() local 549 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats() 550 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats() 551 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats() 552 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats() 554 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats() [all …]
|
H A D | namei.c | 188 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature() 193 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature() 194 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature() 216 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list() 217 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_update_extension_list() 251 sbi->raw_super->hot_ext_count = hot_count - 1; in f2fs_update_extension_list() 253 sbi->raw_super->extension_count = in f2fs_update_extension_list() 263 sbi->raw_super->hot_ext_count = hot_count + 1; in f2fs_update_extension_list() 273 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list() 294 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_compress_inode() [all …]
|
H A D | sysfs.c | 257 sbi->raw_super->extension_list; in f2fs_sbi_show() 258 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_sbi_show() 259 int hot_count = sbi->raw_super->hot_ext_count; in f2fs_sbi_show() 892 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show() 919 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_bits_seq_show()
|
H A D | file.c | 2335 if (uuid_is_nonzero(sbi->raw_super->encrypt_pw_salt)) in f2fs_ioc_get_encryption_pwsalt() 2339 generate_random_uuid(sbi->raw_super->encrypt_pw_salt); in f2fs_ioc_get_encryption_pwsalt() 2344 memset(sbi->raw_super->encrypt_pw_salt, 0, 16); in f2fs_ioc_get_encryption_pwsalt() 2348 if (copy_to_user((__u8 __user *)arg, sbi->raw_super->encrypt_pw_salt, in f2fs_ioc_get_encryption_pwsalt() 2942 u32 sb_feature = le32_to_cpu(F2FS_I_SB(inode)->raw_super->feature); in f2fs_ioc_get_features() 3277 count = utf16s_to_utf8s(sbi->raw_super->volume_name, in f2fs_ioc_getfslabel() 3278 ARRAY_SIZE(sbi->raw_super->volume_name), in f2fs_ioc_getfslabel() 3310 memset(sbi->raw_super->volume_name, 0, in f2fs_ioc_setfslabel() 3311 sizeof(sbi->raw_super->volume_name)); in f2fs_ioc_setfslabel() 3313 sbi->raw_super->volume_name, in f2fs_ioc_setfslabel() [all …]
|
H A D | f2fs.h | 172 #define __F2FS_HAS_FEATURE(raw_super, mask) \ argument 173 ((raw_super->feature & cpu_to_le32(mask)) != 0) 174 #define F2FS_HAS_FEATURE(sbi, mask) __F2FS_HAS_FEATURE(sbi->raw_super, mask) 176 (sbi->raw_super->feature |= cpu_to_le32(mask)) 178 (sbi->raw_super->feature &= ~cpu_to_le32(mask)) 1172 #define RDEV(i) (raw_super->devs[i]) 1418 struct f2fs_super_block *raw_super; /* raw super block pointer */ member 1783 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER() 1859 return le32_to_cpu(F2FS_SB(sb)->raw_super->qf_ino[type]); in f2fs_qf_ino()
|
H A D | segment.c | 4272 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in build_sit_info() local 4339 sit_segs = le32_to_cpu(raw_super->segment_count_sit) >> 1; in build_sit_info() 4364 sit_i->sit_base_addr = le32_to_cpu(raw_super->sit_blkaddr); in build_sit_info() 5123 struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); in f2fs_build_segment_manager() local 5134 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager() 5135 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager() 5136 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager() 5139 sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_segment_manager() 5140 sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); in f2fs_build_segment_manager()
|
H A D | checkpoint.c | 892 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint()
|