Lines Matching refs:super_block

1335 	struct super_block *s_sb;
1452 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB()
1467 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum()
1667 static inline bool ext4_has_feature_##name(struct super_block *sb) \
1672 static inline void ext4_set_feature_##name(struct super_block *sb) \
1677 static inline void ext4_clear_feature_##name(struct super_block *sb) \
1684 static inline bool ext4_has_feature_##name(struct super_block *sb) \
1689 static inline void ext4_set_feature_##name(struct super_block *sb) \
1694 static inline void ext4_clear_feature_##name(struct super_block *sb) \
1701 static inline bool ext4_has_feature_##name(struct super_block *sb) \
1706 static inline void ext4_set_feature_##name(struct super_block *sb) \
1711 static inline void ext4_clear_feature_##name(struct super_block *sb) \
1792 static inline bool ext4_has_unknown_ext##ver##_compat_features(struct super_block *sb) \ in EXT4_FEATURE_COMPAT_FUNCS()
1797 static inline bool ext4_has_unknown_ext##ver##_ro_compat_features(struct super_block *sb) \
1802 static inline bool ext4_has_unknown_ext##ver##_incompat_features(struct super_block *sb) \
1812 static inline bool ext4_has_compat_features(struct super_block *sb)
1816 static inline bool ext4_has_ro_compat_features(struct super_block *sb) in ext4_has_ro_compat_features()
1820 static inline bool ext4_has_incompat_features(struct super_block *sb) in ext4_has_incompat_features()
2076 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) in ext4_group_first_block_no()
2105 struct super_block *lr_super;
2157 struct super_block *sb; /* super block of the fs */
2194 void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group,
2197 int ext4_inode_bitmap_csum_verify(struct super_block *sb, ext4_group_t group,
2200 void ext4_block_bitmap_csum_set(struct super_block *sb, ext4_group_t group,
2203 int ext4_block_bitmap_csum_verify(struct super_block *sb, ext4_group_t group,
2208 extern void ext4_get_group_no_and_offset(struct super_block *sb,
2212 extern ext4_group_t ext4_get_group_number(struct super_block *sb,
2215 extern unsigned int ext4_block_group(struct super_block *sb,
2217 extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb,
2219 extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group);
2220 extern unsigned long ext4_bg_num_gdb(struct super_block *sb,
2229 extern ext4_fsblk_t ext4_count_free_clusters(struct super_block *);
2230 extern void ext4_check_blocks_bitmap(struct super_block *);
2231 extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb,
2234 extern int ext4_should_retry_alloc(struct super_block *sb, int *retries);
2236 extern struct buffer_head *ext4_read_block_bitmap_nowait(struct super_block *sb,
2238 extern int ext4_wait_block_bitmap(struct super_block *sb,
2241 extern struct buffer_head *ext4_read_block_bitmap(struct super_block *sb,
2243 extern unsigned ext4_free_clusters_after_init(struct super_block *sb,
2274 static inline int ext4_sb_has_crypto(struct super_block *sb) in ext4_sb_has_crypto()
2281 static inline int ext4_sb_has_crypto(struct super_block *sb) in ext4_sb_has_crypto()
2404 static inline unsigned char get_dtype(struct super_block *sb, int filetype) in get_dtype()
2437 extern struct inode * ext4_orphan_get(struct super_block *, unsigned long);
2438 extern unsigned long ext4_count_free_inodes(struct super_block *);
2439 extern unsigned long ext4_count_dirs(struct super_block *);
2440 extern void ext4_check_inodes_bitmap(struct super_block *);
2442 extern int ext4_init_inode_table(struct super_block *sb,
2450 extern int ext4_mb_init(struct super_block *);
2451 extern int ext4_mb_release(struct super_block *);
2454 extern int ext4_mb_reserve_blocks(struct super_block *, int);
2461 extern int ext4_mb_alloc_groupinfo(struct super_block *sb,
2463 extern int ext4_mb_add_groupinfo(struct super_block *sb,
2465 extern int ext4_group_add_blocks(handle_t *handle, struct super_block *sb,
2467 extern int ext4_trim_fs(struct super_block *, struct fstrim_range *);
2493 extern struct inode *ext4_iget(struct super_block *, unsigned long);
2494 extern struct inode *ext4_iget_normal(struct super_block *, unsigned long);
2568 extern int ext4_group_add(struct super_block *sb,
2570 extern int ext4_group_extend(struct super_block *sb,
2573 extern int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count);
2577 extern int ext4_calculate_overhead(struct super_block *sb);
2578 extern void ext4_superblock_csum_set(struct super_block *sb);
2581 extern int ext4_alloc_flex_bg_array(struct super_block *sb,
2583 extern const char *ext4_decode_error(struct super_block *sb, int errno,
2587 void __ext4_error(struct super_block *, const char *, unsigned int,
2595 extern void __ext4_std_error(struct super_block *, const char *,
2598 void __ext4_abort(struct super_block *, const char *, unsigned int,
2601 void __ext4_warning(struct super_block *, const char *, unsigned int,
2607 void __ext4_msg(struct super_block *, const char *, const char *, ...);
2608 extern void __dump_mmp_msg(struct super_block *, struct mmp_struct *mmp,
2612 struct super_block *, ext4_group_t,
2694 extern void ext4_update_dynamic_rev(struct super_block *sb);
2695 extern int ext4_update_compat_feature(handle_t *handle, struct super_block *sb,
2698 struct super_block *sb, __u32 rocompat);
2700 struct super_block *sb, __u32 incompat);
2701 extern ext4_fsblk_t ext4_block_bitmap(struct super_block *sb,
2703 extern ext4_fsblk_t ext4_inode_bitmap(struct super_block *sb,
2705 extern ext4_fsblk_t ext4_inode_table(struct super_block *sb,
2707 extern __u32 ext4_free_group_clusters(struct super_block *sb,
2709 extern __u32 ext4_free_inodes_count(struct super_block *sb,
2711 extern __u32 ext4_used_dirs_count(struct super_block *sb,
2713 extern __u32 ext4_itable_unused_count(struct super_block *sb,
2715 extern void ext4_block_bitmap_set(struct super_block *sb,
2717 extern void ext4_inode_bitmap_set(struct super_block *sb,
2719 extern void ext4_inode_table_set(struct super_block *sb,
2721 extern void ext4_free_group_clusters_set(struct super_block *sb,
2724 extern void ext4_free_inodes_set(struct super_block *sb,
2726 extern void ext4_used_dirs_set(struct super_block *sb,
2728 extern void ext4_itable_unused_set(struct super_block *sb,
2730 extern int ext4_group_desc_csum_verify(struct super_block *sb, __u32 group,
2732 extern void ext4_group_desc_csum_set(struct super_block *sb, __u32 group,
2734 extern int ext4_register_li_request(struct super_block *sb,
2737 static inline int ext4_has_group_desc_csum(struct super_block *sb) in ext4_has_group_desc_csum()
2743 static inline int ext4_has_metadata_csum(struct super_block *sb) in ext4_has_metadata_csum()
2805 struct ext4_group_info *ext4_get_group_info(struct super_block *sb, in ext4_get_group_info()
2822 static inline ext4_group_t ext4_get_groups_count(struct super_block *sb) in ext4_get_groups_count()
2927 static inline spinlock_t *ext4_group_lock_ptr(struct super_block *sb, in ext4_group_lock_ptr()
2942 static inline void ext4_lock_group(struct super_block *sb, ext4_group_t group) in ext4_lock_group()
2962 static inline void ext4_unlock_group(struct super_block *sb, in ext4_unlock_group()
3092 static inline void ext4_set_de_type(struct super_block *sb, in ext4_set_de_type()
3110 extern int ext4_register_sysfs(struct super_block *sb);
3111 extern void ext4_unregister_sysfs(struct super_block *sb);
3116 extern void ext4_release_system_zone(struct super_block *sb);
3117 extern int ext4_setup_system_zone(struct super_block *sb);
3144 extern void ext4_ext_init(struct super_block *);
3145 extern void ext4_ext_release(struct super_block *);
3210 extern int ext4_multi_mount_protect(struct super_block *, ext4_fsblk_t);
3256 extern int ext4_resize_begin(struct super_block *sb);
3257 extern void ext4_resize_end(struct super_block *sb);