Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/ext2/
Dext2.h83 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ member
507 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
509 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
511 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
513 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
515 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
517 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
519 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
521 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
523 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()
794 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc()
874 sbi->s_es = es; in ext2_fill_super()
898 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super()
900 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super()
954 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()
441 es = sbi->s_es; in ext2_new_inode()
623 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
Dballoc.c487 struct ext2_super_block * es = sbi->s_es; in ext2_free_blocks()
1156 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks()
1173 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid()
1175 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid()
1238 es = EXT2_SB(sb)->s_es; in ext2_new_blocks()
1447 es = EXT2_SB(sb)->s_es; in ext2_count_free_blocks()
Dinode.c1316 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode()
1565 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode()
1575 ext2_sync_super(sb, EXT2_SB(sb)->s_es, 1); in __ext2_write_inode()
Ddir.c104 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()
/linux-6.6.21/fs/ext4/
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()
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()
175 blocks = ext4_blocks_count(EXT4_SB(sb)->s_es) - in num_clusters_in_group()
475 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_block_bitmap_nowait()
476 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_block_bitmap_nowait()
627 rsv = (ext4_r_blocks_count(sbi->s_es) >> sbi->s_cluster_bits) + in ext4_has_free_clusters()
775 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters()
848 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super()
888 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa()
905 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb()
[all …]
Dcrypto.c99 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in ext4_ioctl_get_encryption_pwsalt()
113 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in ext4_ioctl_get_encryption_pwsalt()
127 if (copy_to_user(arg, sbi->s_es->s_encrypt_pw_salt, 16)) in ext4_ioctl_get_encryption_pwsalt()
238 *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()
540 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks()
740 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_list_backups()
828 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb()
1021 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb()
1239 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups()
1259 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs()
[all …]
Dsuper.c299 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set()
455 struct ext4_super_block *es = sbi->s_es; in ext4_maybe_update_superblock()
1138 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev()
1171 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list()
1219 ext4_free_blocks_count_set(sbi->s_es, EXT4_C2B(sbi, block)); in ext4_percpu_param_init()
1224 sbi->s_es->s_free_inodes_count = cpu_to_le32(freei); in ext4_percpu_param_init()
1287 struct ext4_super_block *es = sbi->s_es; in ext4_put_super()
2503 if (!sbi->s_es->s_mount_opts[0]) in parse_apply_sb_mount_options()
2506 s_mount_opts = kstrndup(sbi->s_es->s_mount_opts, in parse_apply_sb_mount_options()
2507 sizeof(sbi->s_es->s_mount_opts), in parse_apply_sb_mount_options()
[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()
Dext4.h1496 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member
1782 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.c139 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()
753 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_mark_inode_used()
1007 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode()
1371 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get()
1451 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()
1146 strncpy(label, sbi->s_es->s_volume_name, EXT4_LABEL_MAX); in ext4_ioctl_getlabel()
1175 memcpy(uuid, sbi->s_es->s_uuid, UUID_SIZE); in ext4_ioctl_getuuid()
1307 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl()
1711 sbi->s_overhead == le32_to_cpu(sbi->s_es->s_overhead_clusters))) in ext4_update_overhead()
Dfile.c847 strncpy(sbi->s_es->s_last_mounted, cp, in ext4_sample_last_mounted()
848 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()
383 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity()
1699 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks()
4371 ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc()
4388 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc()
4389 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc()
4689 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_iget()
5102 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.c3429 if (sbi->s_es->s_log_groups_per_flex >= 32) { in ext4_mb_init_backend()
3433 sbi->s_mb_prefetch = min_t(uint, 1 << sbi->s_es->s_log_groups_per_flex, in ext4_mb_init_backend()
4430 struct ext4_super_block *es = sbi->s_es; in ext4_mb_normalize_request()
5806 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context()
6091 struct ext4_super_block *es = sbi->s_es; in ext4_mb_new_blocks_simple()
6921 nr_clusters_in_group = (ext4_blocks_count(EXT4_SB(sb)->s_es) - in ext4_last_grp_cluster()
7057 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs()
7058 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
Dxattr.c2770 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea()
2858 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea()
2861 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