/linux-4.19.296/fs/ext4/ |
D | block_validity.c | 156 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_data_block_valid_rcu() 158 (start_blk + count > ext4_blocks_count(sbi->s_es))) { in ext4_data_block_valid_rcu() 159 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid_rcu() 176 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid_rcu() 194 (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) in ext4_protect_reserved_inode() 282 if (ext4_has_feature_journal(sb) && sbi->s_es->s_journal_inum) { in ext4_setup_system_zone() 284 le32_to_cpu(sbi->s_es->s_journal_inum)); in ext4_setup_system_zone() 349 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_check_blockref() 355 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in ext4_check_blockref()
|
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() 452 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_block_bitmap_nowait() 453 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_block_bitmap_nowait() 595 rsv = (ext4_r_blocks_count(sbi->s_es) >> sbi->s_cluster_bits) + in ext4_has_free_clusters() 723 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters() 796 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super() 836 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa() 853 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb() [all …]
|
D | super.c | 198 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() 360 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __save_error_info() 523 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_inode() 565 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_file() 772 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_grp_locked_error() 855 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev() 931 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list() 976 struct ext4_super_block *es = sbi->s_es; in ext4_put_super() 2093 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options() 2158 struct ext4_super_block *es = sbi->s_es; in _ext4_show_options() [all …]
|
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() 544 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() 825 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() 1016 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb() 1221 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups() 1241 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() 1400 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() [all …]
|
D | sysfs.c | 100 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() 251 return (void *) (((char *) sbi->s_es) + a->u.offset); in calc_ptr() 304 return print_tstamp(buf, sbi->s_es, s_first_error_time); in ext4_attr_show() 306 return print_tstamp(buf, sbi->s_es, s_last_error_time); in ext4_attr_show()
|
D | ext4.h | 1376 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member 1546 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum() 1708 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ 1714 EXT4_SB(sb)->s_es->s_feature_compat |= \ 1719 EXT4_SB(sb)->s_es->s_feature_compat &= \ 1726 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \ 1732 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \ 1737 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \ 1744 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \ 1750 EXT4_SB(sb)->s_es->s_feature_incompat |= \ [all …]
|
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 | mmp.c | 136 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in kmmpd() 276 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_multi_mount_protect()
|
D | ialloc.c | 131 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_inode_bitmap() 132 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_inode_bitmap() 281 es = sbi->s_es; in ext4_free_inode() 865 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 1209 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get() 1287 es = EXT4_SB(sb)->s_es; in ext4_count_free_inodes()
|
D | file.c | 435 strlcpy(sbi->s_es->s_last_mounted, cp, in ext4_sample_last_mounted() 436 sizeof(sbi->s_es->s_last_mounted)); in ext4_sample_last_mounted()
|
D | ioctl.c | 875 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in ext4_ioctl() 1085 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in ext4_ioctl() 1098 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in ext4_ioctl() 1113 sbi->s_es->s_encrypt_pw_salt, 16)) in ext4_ioctl()
|
D | ext4_jbd2.c | 304 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_handle_dirty_metadata()
|
D | inode.c | 90 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_verify() 111 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_set() 424 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity() 1836 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks() 4647 inode->i_ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc() 4664 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc() 4665 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc() 4918 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) { in __ext4_iget() 5386 EXT4_SB(sb)->s_es->s_rev_level == in ext4_do_update_inode()
|
D | dir.c | 86 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
|
D | migrate.c | 618 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
|
D | mballoc.c | 3093 struct ext4_super_block *es = sbi->s_es; in ext4_mb_normalize_request() 4279 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context() 5193 return (ext4_blocks_count(EXT4_SB(sb)->s_es) - in ext4_last_grp_cluster() 5325 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs() 5326 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
|
D | xattr.c | 2750 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea() 2838 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea() 2841 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
|
D | namei.c | 2915 (le32_to_cpu(sbi->s_es->s_inodes_count))) { in ext4_orphan_add() 2917 NEXT_ORPHAN(inode) = le32_to_cpu(sbi->s_es->s_last_orphan); in ext4_orphan_add() 2918 sbi->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext4_orphan_add() 3001 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()
|
/linux-4.19.296/fs/ext2/ |
D | ext2.h | 81 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 …]
|
D | super.c | 54 struct ext2_super_block *es = sbi->s_es; in ext2_error() 104 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() 250 struct ext2_super_block *es = sbi->s_es; in ext2_show_options() 382 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode() 717 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors() 824 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc() 906 sbi->s_es = es; in ext2_fill_super() 930 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super() 932 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super() [all …]
|
D | ialloc.c | 126 es = EXT2_SB(sb)->s_es; in ext2_free_inode() 264 struct ext2_super_block *es = sbi->s_es; in find_group_orlov() 454 es = sbi->s_es; in ext2_new_inode() 635 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() 1186 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks() 1203 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid() 1205 (start_blk > le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid() 1268 es = EXT2_SB(sb)->s_es; in ext2_new_blocks() 1476 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() 1593 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode() 1603 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()
|