/kernel/linux/linux-5.10/fs/ext2/ |
D | ext2.h | 84 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ member 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) 525 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) 527 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) 529 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) [all …]
|
D | super.c | 55 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() 243 struct ext2_super_block *es = sbi->s_es; in ext2_show_options() 372 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode() 800 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc() 880 sbi->s_es = es; in ext2_fill_super() 904 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super() 906 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super() 953 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super() [all …]
|
D | ialloc.c | 126 es = EXT2_SB(sb)->s_es; in ext2_free_inode() 260 struct ext2_super_block *es = sbi->s_es; in find_group_orlov() 450 es = sbi->s_es; in ext2_new_inode() 632 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
|
D | balloc.c | 488 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()
|
D | inode.c | 1335 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode() 1592 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode() 1602 ext2_sync_super(sb, EXT2_SB(sb)->s_es, 1); in __ext2_write_inode()
|
D | dir.c | 121 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | balloc.c | 42 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() 450 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_block_bitmap_nowait() 451 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_block_bitmap_nowait() 600 rsv = (ext4_r_blocks_count(sbi->s_es) >> sbi->s_cluster_bits) + in ext4_has_free_clusters() 742 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters() 815 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super() 855 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa() 872 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb() [all …]
|
D | block_validity.c | 158 (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() 309 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_inode_block_valid() 311 (start_blk + count > ext4_blocks_count(sbi->s_es))) in ext4_inode_block_valid() 349 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in ext4_check_blockref()
|
D | resize.c | 59 if (EXT4_SB(sb)->s_es->s_reserved_gdt_blocks && in ext4_resize_begin() 71 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) { in ext4_resize_begin() 123 le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in ext4_group_overhead_blocks() 134 struct ext4_super_block *es = sbi->s_es; in verify_group_input() 526 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() 807 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() 999 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb() 1202 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups() 1222 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() 1381 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() [all …]
|
D | super.c | 282 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() 1046 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev() 1116 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list() 1161 struct ext4_super_block *es = sbi->s_es; in ext4_put_super() 1566 *ino_bits_ret = 8 * sizeof(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_get_ino_and_lblk_bits() 2478 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options() 2541 struct ext4_super_block *es = sbi->s_es; in _ext4_show_options() 2760 sbi->s_log_groups_per_flex = sbi->s_es->s_log_groups_per_flex; in ext4_fill_flex_info() 2817 crc = crc16(~0, sbi->s_es->s_uuid, sizeof(sbi->s_es->s_uuid)); in ext4_group_desc_csum() 2854 ext4_fsblk_t first_block = le32_to_cpu(sbi->s_es->s_first_data_block); in ext4_check_descriptors() [all …]
|
D | ext4.h | 1446 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member 1681 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum() 1950 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ 1956 EXT4_SB(sb)->s_es->s_feature_compat |= \ 1961 EXT4_SB(sb)->s_es->s_feature_compat &= \ 1968 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \ 1974 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \ 1979 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \ 1986 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \ 1992 EXT4_SB(sb)->s_es->s_feature_incompat |= \ [all …]
|
D | sysfs.c | 108 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() 351 return (void *) (((char *) sbi->s_es) + a->u.offset); in calc_ptr() 432 return print_tstamp(buf, sbi->s_es, s_first_error_time); in ext4_attr_show() 434 return print_tstamp(buf, sbi->s_es, s_last_error_time); in ext4_attr_show()
|
D | fsmap.c | 321 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()
|
D | ialloc.c | 137 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() 752 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_mark_inode_used() 1006 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 1368 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get() 1448 es = EXT4_SB(sb)->s_es; in ext4_count_free_inodes()
|
D | mmp.c | 131 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()
|
D | ioctl.c | 942 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl() 1153 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in __ext4_ioctl() 1166 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in __ext4_ioctl() 1181 sbi->s_es->s_encrypt_pw_salt, 16)) in __ext4_ioctl()
|
D | file.c | 836 strncpy(sbi->s_es->s_last_mounted, cp, in ext4_sample_last_mounted() 837 sizeof(sbi->s_es->s_last_mounted)); in ext4_sample_last_mounted()
|
D | inode.c | 88 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_verify() 109 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_set() 414 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity() 1719 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks() 4481 ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc() 4498 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc() 4499 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc() 4788 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) { in __ext4_iget() 5184 EXT4_SB(sb)->s_es->s_rev_level == cpu_to_le32(EXT4_GOOD_OLD_REV)) in ext4_do_update_inode()
|
D | migrate.c | 601 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
|
D | dir.c | 89 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
|
D | mballoc.c | 2760 if (sbi->s_es->s_log_groups_per_flex >= 32) { in ext4_mb_init_backend() 2764 sbi->s_mb_prefetch = min_t(uint, 1 << sbi->s_es->s_log_groups_per_flex, in ext4_mb_init_backend() 4680 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context() 5256 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_mb_new_blocks_simple() 5906 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs() 5907 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
|
D | xattr.c | 2720 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea() 2805 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea() 2808 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
|
D | namei.c | 3059 (le32_to_cpu(sbi->s_es->s_inodes_count))) { in ext4_orphan_add() 3061 NEXT_ORPHAN(inode) = le32_to_cpu(sbi->s_es->s_last_orphan); in ext4_orphan_add() 3063 sbi->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext4_orphan_add() 3149 sbi->s_es->s_last_orphan = cpu_to_le32(ino_next); in ext4_orphan_del()
|
D | indirect.c | 161 if (key > ext4_blocks_count(EXT4_SB(sb)->s_es)) { in ext4_get_branch()
|
D | extents.c | 1319 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_ext_grow_indepth()
|