Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
366 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
795 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc()
875 sbi->s_es = es; in ext2_fill_super()
899 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super()
901 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super()
948 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()
444 es = sbi->s_es; in ext2_new_inode()
626 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
Dballoc.c489 struct ext2_super_block * es = sbi->s_es; in ext2_free_blocks()
1162 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks()
1179 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid()
1181 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid()
1243 es = EXT2_SB(sb)->s_es; in ext2_new_blocks()
1459 es = EXT2_SB(sb)->s_es; in ext2_count_free_blocks()
Dinode.c1304 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode()
1553 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode()
1563 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-6.1.9/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()
127 le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in ext4_group_overhead_blocks()
138 struct ext4_super_block *es = sbi->s_es; in verify_group_input()
532 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks()
737 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_list_backups()
825 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb()
1018 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb()
1234 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups()
1254 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.c298 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set()
1075 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev()
1145 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list()
1190 struct ext4_super_block *es = sbi->s_es; in ext4_put_super()
2427 if (!sbi->s_es->s_mount_opts[0]) in parse_apply_sb_mount_options()
2430 s_mount_opts = kstrndup(sbi->s_es->s_mount_opts, in parse_apply_sb_mount_options()
2431 sizeof(sbi->s_es->s_mount_opts), in parse_apply_sb_mount_options()
2725 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext4_check_opt_consistency()
2896 struct ext4_super_block *es = sbi->s_es; in _ext4_show_options()
3123 sbi->s_log_groups_per_flex = sbi->s_es->s_log_groups_per_flex; in ext4_fill_flex_info()
[all …]
Dext4.h1526 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member
1780 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum()
2049 return ((EXT4_SB(sb)->s_es->s_feature_compat & \
2055 EXT4_SB(sb)->s_es->s_feature_compat |= \
2060 EXT4_SB(sb)->s_es->s_feature_compat &= \
2067 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
2073 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \
2078 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \
2085 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
2091 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()
280 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()
753 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_mark_inode_used()
1008 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode()
1369 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get()
1449 es = EXT4_SB(sb)->s_es; in ext4_count_free_inodes()
Dioctl.c62 struct ext4_super_block *es = sbi->s_es; in ext4_update_primary_sb()
1138 strncpy(label, sbi->s_es->s_volume_name, EXT4_LABEL_MAX); in ext4_ioctl_getlabel()
1167 memcpy(uuid, sbi->s_es->s_uuid, UUID_SIZE); in ext4_ioctl_getuuid()
1299 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl()
1703 sbi->s_overhead == le32_to_cpu(sbi->s_es->s_overhead_clusters))) in ext4_update_overhead()
Dfile.c851 strncpy(sbi->s_es->s_last_mounted, cp, in ext4_sample_last_mounted()
852 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()
411 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity()
1738 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks()
4470 ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc()
4487 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc()
4488 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc()
4765 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_iget()
5171 EXT4_SB(sb)->s_es->s_rev_level == cpu_to_le32(EXT4_GOOD_OLD_REV)) in ext4_do_update_inode()
Dmigrate.c600 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
Ddir.c105 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
Dmballoc.c3186 if (sbi->s_es->s_log_groups_per_flex >= 32) { in ext4_mb_init_backend()
3190 sbi->s_mb_prefetch = min_t(uint, 1 << sbi->s_es->s_log_groups_per_flex, in ext4_mb_init_backend()
5213 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context()
5789 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_mb_new_blocks_simple()
6480 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs()
6481 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
Dxattr.c2696 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea()
2781 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()
2784 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
Dindirect.c161 if (key > ext4_blocks_count(EXT4_SB(sb)->s_es)) { in ext4_get_branch()

12