/fs/ext2/ |
D | ext2.h | 84 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ member 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) 530 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) 532 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) 534 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) [all …]
|
D | super.c | 53 struct ext2_super_block *es = sbi->s_es; in ext2_error() 103 struct ext2_super_block *es = EXT2_SB(sb)->s_es; in ext2_update_dynamic_rev() 155 struct ext2_super_block *es = sbi->s_es; in ext2_put_super() 247 struct ext2_super_block *es = sbi->s_es; in ext2_show_options() 379 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode() 711 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors() 814 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc() 895 sbi->s_es = es; in ext2_fill_super() 918 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super() 920 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_CONTINUE) in ext2_fill_super() [all …]
|
D | ialloc.c | 125 es = EXT2_SB(sb)->s_es; in ext2_free_inode() 263 struct ext2_super_block *es = sbi->s_es; in find_group_orlov() 453 es = sbi->s_es; in ext2_new_inode() 635 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
|
D | balloc.c | 490 struct ext2_super_block * es = sbi->s_es; in ext2_free_blocks() 1188 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks() 1205 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid() 1207 (start_blk > le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid() 1270 es = EXT2_SB(sb)->s_es; in ext2_new_blocks() 1478 es = EXT2_SB(sb)->s_es; in ext2_count_free_blocks()
|
D | inode.c | 1332 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode() 1585 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode() 1595 ext2_sync_super(sb, EXT2_SB(sb)->s_es, 1); in __ext2_write_inode()
|
D | dir.c | 120 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()
|
/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() 442 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_block_bitmap_nowait() 443 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_block_bitmap_nowait() 581 rsv = (ext4_r_blocks_count(sbi->s_es) >> sbi->s_cluster_bits) + in ext4_has_free_clusters() 710 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters() 783 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super() 823 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa() 840 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb() [all …]
|
D | block_validity.c | 203 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_data_block_valid() 205 (start_blk + count > ext4_blocks_count(sbi->s_es))) { in ext4_data_block_valid() 206 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid() 216 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid() 226 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_check_blockref()
|
D | super.c | 198 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() 342 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __save_error_info() 491 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_inode() 531 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_file() 738 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_grp_locked_error() 787 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev() 857 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list() 902 struct ext4_super_block *es = sbi->s_es; in ext4_put_super() 1128 if (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in ext4_nfs_get_inode() 2013 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options() [all …]
|
D | resize.c | 61 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) { in ext4_resize_begin() 108 le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in ext4_group_overhead_blocks() 119 struct ext4_super_block *es = sbi->s_es; in verify_group_input() 514 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() 786 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() 974 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb() 1177 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups() 1197 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() 1356 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() 1458 struct ext4_super_block *es = sbi->s_es; in ext4_flex_group_add() [all …]
|
D | ext4.h | 1382 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member 1554 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum() 1716 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ 1721 EXT4_SB(sb)->s_es->s_feature_compat |= \ 1726 EXT4_SB(sb)->s_es->s_feature_compat &= \ 1733 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \ 1738 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \ 1743 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \ 1750 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \ 1755 EXT4_SB(sb)->s_es->s_feature_incompat |= \ [all …]
|
D | fsmap.c | 331 unsigned long first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in ext4_getfsmap_find_sb() 355 len = le16_to_cpu(sbi->s_es->s_reserved_gdt_blocks); in ext4_getfsmap_find_sb() 491 bofs = le32_to_cpu(sbi->s_es->s_first_data_block); in ext4_getfsmap_datadev() 492 eofs = ext4_blocks_count(sbi->s_es); in ext4_getfsmap_datadev()
|
D | ialloc.c | 138 if ((bitmap_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_read_inode_bitmap() 139 (bitmap_blk >= ext4_blocks_count(sbi->s_es))) { in ext4_read_inode_bitmap() 284 es = EXT4_SB(sb)->s_es; in ext4_free_inode() 874 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 1216 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get() 1297 es = EXT4_SB(sb)->s_es; in ext4_count_free_inodes()
|
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 | ioctl.c | 773 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in ext4_ioctl() 1023 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in ext4_ioctl() 1035 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in ext4_ioctl() 1048 sbi->s_es->s_encrypt_pw_salt, 16)) in ext4_ioctl()
|
D | sysfs.c | 99 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()
|
D | file.c | 415 strlcpy(sbi->s_es->s_last_mounted, cp, in ext4_file_open() 416 sizeof(sbi->s_es->s_last_mounted)); in ext4_file_open()
|
D | ext4_jbd2.c | 304 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_handle_dirty_metadata()
|
D | dir.c | 85 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
|
D | migrate.c | 623 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
|
D | namei.c | 2831 (le32_to_cpu(sbi->s_es->s_inodes_count))) { in ext4_orphan_add() 2833 NEXT_ORPHAN(inode) = le32_to_cpu(sbi->s_es->s_last_orphan); in ext4_orphan_add() 2834 sbi->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext4_orphan_add() 2917 sbi->s_es->s_last_orphan = cpu_to_le32(ino_next); in ext4_orphan_del()
|
D | xattr.c | 2710 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea() 2795 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea() 2798 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
|
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() 1829 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks() 4539 inode->i_ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc() 5208 EXT4_SB(sb)->s_es->s_rev_level == in ext4_do_update_inode()
|
D | mballoc.c | 4273 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context() 5288 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs() 5289 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
|
D | extents.c | 416 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_valid_extent_entries() 1293 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_ext_grow_indepth()
|