Home
last modified time | relevance | path

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

12

/fs/ext4/
Dblock_validity.c153 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()
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()
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 …]
Dsuper.c199 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 …]
Dresize.c59 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 …]
Dext4.h1392 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 …]
Dsysfs.c102 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()
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()
Dialloc.c131 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()
Dmmp.c136 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()
Dfile.c435 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()
Dioctl.c944 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()
Dext4_jbd2.c304 es = EXT4_SB(inode->i_sb)->s_es; in __ext4_handle_dirty_metadata()
Dinode.c91 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()
Dmigrate.c618 struct ext4_super_block *es = sbi->s_es; in ext4_ind_migrate()
Ddir.c105 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
Dmballoc.c3098 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()
Dxattr.c2725 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()
Dnamei.c3108 (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()
Dindirect.c161 if (key > ext4_blocks_count(EXT4_SB(sb)->s_es)) { in ext4_get_branch()
/fs/ext2/
Dext2.h81 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 …]
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()
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 …]
Dialloc.c126 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()
Dballoc.c488 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()
Dinode.c1339 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()
Ddir.c121 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()

12