/fs/ext4/ |
D | block_validity.c | 153 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext4_data_block_valid_rcu() 155 (start_blk + count > ext4_blocks_count(sbi->s_es))) { in ext4_data_block_valid_rcu() 156 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid_rcu() 171 sbi->s_es->s_last_error_block = cpu_to_le64(start_blk); in ext4_data_block_valid_rcu() 189 (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) in ext4_protect_reserved_inode() 279 if (ext4_has_feature_journal(sb) && sbi->s_es->s_journal_inum) { in ext4_setup_system_zone() 281 le32_to_cpu(sbi->s_es->s_journal_inum)); in ext4_setup_system_zone() 346 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in ext4_check_blockref() 352 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() 737 es = EXT4_SB(sb)->s_es; in ext4_count_free_clusters() 810 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_bg_has_super() 850 return le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb_nometa() 867 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); in ext4_bg_num_gdb() [all …]
|
D | super.c | 199 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() 361 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __save_error_info() 524 struct ext4_super_block *es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_inode() 566 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_error_file() 773 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in __ext4_grp_locked_error() 856 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_update_dynamic_rev() 932 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list() 977 struct ext4_super_block *es = sbi->s_es; in ext4_put_super() 1375 *ino_bits_ret = 8 * sizeof(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_get_ino_and_lblk_bits() 2211 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_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() 552 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() 828 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() 1019 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb() 1224 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups() 1244 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() 1403 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() [all …]
|
D | ext4.h | 1392 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ member 1566 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum() 1739 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ 1745 EXT4_SB(sb)->s_es->s_feature_compat |= \ 1750 EXT4_SB(sb)->s_es->s_feature_compat &= \ 1757 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \ 1763 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \ 1768 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \ 1775 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \ 1781 EXT4_SB(sb)->s_es->s_feature_incompat |= \ [all …]
|
D | sysfs.c | 102 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() 287 return (void *) (((char *) sbi->s_es) + a->u.offset); in calc_ptr() 344 return print_tstamp(buf, sbi->s_es, s_first_error_time); in ext4_attr_show() 346 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 | 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() 276 es = sbi->s_es; in ext4_free_inode() 860 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 1204 unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); in ext4_orphan_get() 1282 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 | file.c | 435 strncpy(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 | 944 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in ext4_ioctl() 1154 if (uuid_is_zero(sbi->s_es->s_encrypt_pw_salt)) { in ext4_ioctl() 1167 generate_random_uuid(sbi->s_es->s_encrypt_pw_salt); in ext4_ioctl() 1182 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 | 91 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_verify() 112 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_set() 425 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity() 1875 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks() 4690 inode->i_ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc() 4707 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc() 4708 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc() 4988 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) { in __ext4_iget() 5470 EXT4_SB(sb)->s_es->s_rev_level == in ext4_do_update_inode()
|
D | migrate.c | 618 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
|
D | dir.c | 105 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
|
D | mballoc.c | 3098 struct ext4_super_block *es = sbi->s_es; in ext4_mb_normalize_request() 4285 struct ext4_super_block *es = sbi->s_es; in ext4_mb_initialize_context() 5211 nr_clusters_in_group = (ext4_blocks_count(EXT4_SB(sb)->s_es) - in ext4_last_grp_cluster() 5350 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_trim_fs() 5351 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); in ext4_trim_fs()
|
D | xattr.c | 2725 int s_min_extra_isize = le16_to_cpu(sbi->s_es->s_min_extra_isize); in ext4_expand_extra_isize_ea() 2813 if (error && (mnt_count != le16_to_cpu(sbi->s_es->s_mnt_count))) { in ext4_expand_extra_isize_ea() 2816 mnt_count = le16_to_cpu(sbi->s_es->s_mnt_count); in ext4_expand_extra_isize_ea()
|
D | namei.c | 3108 (le32_to_cpu(sbi->s_es->s_inodes_count))) { in ext4_orphan_add() 3110 NEXT_ORPHAN(inode) = le32_to_cpu(sbi->s_es->s_last_orphan); in ext4_orphan_add() 3111 sbi->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); in ext4_orphan_add() 3194 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()
|
/fs/ext2/ |
D | ext2.h | 81 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ member 503 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) ) 505 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) ) 507 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) ) 509 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) 511 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) 513 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask) 515 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) 517 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) 519 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() 707 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() 896 sbi->s_es = es; in ext2_fill_super() 920 if (le16_to_cpu(sbi->s_es->s_errors) == EXT2_ERRORS_PANIC) in ext2_fill_super() 922 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() 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() 1184 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks() 1201 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || in ext2_data_block_valid() 1203 (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count))) in ext2_data_block_valid() 1265 es = EXT2_SB(sb)->s_es; in ext2_new_blocks() 1473 es = EXT2_SB(sb)->s_es; in ext2_count_free_blocks()
|
D | inode.c | 1339 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode() 1596 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode() 1606 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()
|