Home
last modified time | relevance | path

Searched refs:s_es (Results 1 – 25 of 25) sorted by relevance

/linux-5.19.10/fs/ext2/
Dext2.h86 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ member
512 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
514 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
516 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
518 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
520 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
522 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
524 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
526 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
528 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)
[all …]
Dsuper.c55 struct ext2_super_block *es = sbi->s_es; in ext2_error()
105 struct ext2_super_block *es = EXT2_SB(sb)->s_es; in ext2_update_dynamic_rev()
156 struct ext2_super_block *es = sbi->s_es; in ext2_put_super()
240 struct ext2_super_block *es = sbi->s_es; in ext2_show_options()
369 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
797 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc()
876 sbi->s_es = es; in ext2_fill_super()
900 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super()
902 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super()
949 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super()
[all …]
Dialloc.c126 es = EXT2_SB(sb)->s_es; in ext2_free_inode()
255 struct ext2_super_block *es = sbi->s_es; in find_group_orlov()
445 es = sbi->s_es; in ext2_new_inode()
627 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
Dballoc.c488 struct ext2_super_block * es = sbi->s_es; in ext2_free_blocks()
1161 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks()
1178 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid()
1180 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid()
1242 es = EXT2_SB(sb)->s_es; in ext2_new_blocks()
1458 es = EXT2_SB(sb)->s_es; in ext2_count_free_blocks()
Dinode.c1341 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode()
1598 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode()
1608 ext2_sync_super(sb, EXT2_SB(sb)->s_es, 1); in __ext2_write_inode()
Ddir.c114 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()
/linux-5.19.10/fs/ext4/
Dballoc.c42 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) >> in ext4_get_group_number()
56 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_get_group_no_and_offset()
171 blocks = ext4_blocks_count(EXT4_SB(sb)->s_es) - in num_clusters_in_group()
435 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_block_bitmap_nowait()
436 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_block_bitmap_nowait()
585 rsv = (ext4_r_blocks_count(sbi->s_es) >> sbi->s_cluster_bits) + in ext4_has_free_clusters()
733 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters()
806 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super()
846 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa()
863 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb()
[all …]
Dblock_validity.c158 (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) in ext4_protect_reserved_inode()
250 if (ext4_has_feature_journal(sb) && sbi->s_es->s_journal_inum) { in ext4_setup_system_zone()
252 le32_to_cpu(sbi->s_es->s_journal_inum)); in ext4_setup_system_zone()
304 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_sb_block_valid()
306 (start_blk + count > ext4_blocks_count(sbi->s_es))) in ext4_sb_block_valid()
357 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in ext4_check_blockref()
Dcrypto.c95 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in ext4_ioctl_get_encryption_pwsalt()
109 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in ext4_ioctl_get_encryption_pwsalt()
123 if (copy_to_user(arg, sbi->s_es->s_encrypt_pw_salt, 16)) in ext4_ioctl_get_encryption_pwsalt()
234 *ino_bits_ret = 8 * sizeof(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_get_ino_and_lblk_bits()
Dresize.c60 if (EXT4_SB(sb)->s_es->s_reserved_gdt_blocks && in ext4_resize_begin()
72 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) { in ext4_resize_begin()
124 le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in ext4_group_overhead_blocks()
135 struct ext4_super_block *es = sbi->s_es; in verify_group_input()
529 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks()
734 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_list_backups()
822 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb()
1015 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb()
1218 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups()
1238 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs()
[all …]
Dorphan.c154 (le32_to_cpu(sbi->s_es->s_inodes_count))) { in ext4_orphan_add()
156 NEXT_ORPHAN(inode) = le32_to_cpu(sbi->s_es->s_last_orphan); in ext4_orphan_add()
158 sbi->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext4_orphan_add()
279 sbi->s_es->s_last_orphan = cpu_to_le32(ino_next); in ext4_orphan_del()
581 ino_t orphan_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_orphan_file_inum); in ext4_init_orphan_info()
Dsuper.c304 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set()
1081 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev()
1151 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list()
1196 struct ext4_super_block *es = sbi->s_es; in ext4_put_super()
2450 if (!sbi->s_es->s_mount_opts[0]) in parse_apply_sb_mount_options()
2453 s_mount_opts = kstrndup(sbi->s_es->s_mount_opts, in parse_apply_sb_mount_options()
2454 sizeof(sbi->s_es->s_mount_opts), in parse_apply_sb_mount_options()
2748 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext4_check_opt_consistency()
2927 struct ext4_super_block *es = sbi->s_es; in _ext4_show_options()
3147 sbi->s_log_groups_per_flex = sbi->s_es->s_log_groups_per_flex; in ext4_fill_flex_info()
[all …]
Dext4.h1517 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member
1771 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum()
2040 return ((EXT4_SB(sb)->s_es->s_feature_compat & \
2046 EXT4_SB(sb)->s_es->s_feature_compat |= \
2051 EXT4_SB(sb)->s_es->s_feature_compat &= \
2058 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
2064 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \
2069 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \
2076 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
2082 EXT4_SB(sb)->s_es->s_feature_incompat |= \
[all …]
Dsysfs.c102 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store()
355 return (void *) (((char *) sbi->s_es) + a->u.offset); in calc_ptr()
436 return print_tstamp(buf, sbi->s_es, s_first_error_time); in ext4_attr_show()
438 return print_tstamp(buf, sbi->s_es, s_last_error_time); in ext4_attr_show()
Dfsmap.c321 unsigned long first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in ext4_getfsmap_find_sb()
345 len = le16_to_cpu(sbi->s_es->s_reserved_gdt_blocks); in ext4_getfsmap_find_sb()
481 bofs = le32_to_cpu(sbi->s_es->s_first_data_block); in ext4_getfsmap_datadev()
482 eofs = ext4_blocks_count(sbi->s_es); in ext4_getfsmap_datadev()
Dmmp.c131 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in kmmpd()
282 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_multi_mount_protect()
Dialloc.c137 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_inode_bitmap()
138 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_inode_bitmap()
280 es = sbi->s_es; in ext4_free_inode()
754 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_mark_inode_used()
1009 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode()
1370 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get()
1450 es = EXT4_SB(sb)->s_es; in ext4_count_free_inodes()
Dioctl.c52 struct ext4_super_block *es = sbi->s_es; in ext4_update_primary_sb()
1126 strncpy(label, sbi->s_es->s_volume_name, EXT4_LABEL_MAX); in ext4_ioctl_getlabel()
1216 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl()
1607 sbi->s_overhead == le32_to_cpu(sbi->s_es->s_overhead_clusters)) in ext4_update_overhead()
Dfile.c830 strncpy(sbi->s_es->s_last_mounted, cp, in ext4_sample_last_mounted()
831 sizeof(sbi->s_es->s_last_mounted)); in ext4_sample_last_mounted()
Dinode.c89 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_verify()
110 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_set()
405 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity()
1721 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks()
4453 ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc()
4740 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_iget()
5140 EXT4_SB(sb)->s_es->s_rev_level == cpu_to_le32(EXT4_GOOD_OLD_REV)) in ext4_do_update_inode()
Ddir.c105 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
Dmigrate.c600 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
Dmballoc.c3236 if (sbi->s_es->s_log_groups_per_flex >= 32) { in ext4_mb_init_backend()
3240 sbi->s_mb_prefetch = min_t(uint, 1 << sbi->s_es->s_log_groups_per_flex, in ext4_mb_init_backend()
5240 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context()
5814 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_mb_new_blocks_simple()
6505 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs()
6506 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
Dxattr.c2700 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea()
2785 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()
2788 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
Dextents.c1309 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_ext_grow_indepth()