| /fs/befs/ |
| D | endian.h | 16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu() 25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64() 34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu() 43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32() 52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu() 61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16() 72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu() 89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun() 106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
|
| D | debug.c | 29 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error() 42 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning() 55 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug() 72 befs_dump_inode(const struct super_block *sb, befs_inode *inode) in befs_dump_inode() 156 befs_dump_super_block(const struct super_block *sb, befs_super_block *sup) in befs_dump_super_block() 226 befs_dump_index_entry(const struct super_block *sb, in befs_dump_index_entry() 248 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *node) in befs_dump_index_node()
|
| /fs/ |
| D | super.c | 60 struct super_block *sb; in super_cache_scan() local 117 struct super_block *sb; in super_cache_count() local 279 static void __put_super(struct super_block *sb) in __put_super() 294 static void put_super(struct super_block *sb) in put_super() 400 bool trylock_super(struct super_block *sb) in trylock_super() 426 void generic_shutdown_super(struct super_block *sb) in generic_shutdown_super() 577 void drop_super(struct super_block *sb) in drop_super() 585 void drop_super_exclusive(struct super_block *sb) in drop_super_exclusive() 602 struct super_block *sb, *p = NULL; in iterate_supers() local 638 struct super_block *sb, *p = NULL; in iterate_supers_type() local [all …]
|
| /fs/ext4/ |
| D | super.c | 126 #define IS_EXT2_SB(sb) ((sb)->s_bdev->bd_holder == &ext2_fs_type) argument 128 #define IS_EXT2_SB(sb) (0) argument 141 #define IS_EXT3_SB(sb) ((sb)->s_bdev->bd_holder == &ext3_fs_type) argument 150 ext4_sb_bread(struct super_block *sb, sector_t block, int op_flags) in ext4_sb_bread() 166 static int ext4_verify_csum_type(struct super_block *sb, in ext4_verify_csum_type() 175 static __le32 ext4_superblock_csum(struct super_block *sb, in ext4_superblock_csum() 187 static int ext4_superblock_csum_verify(struct super_block *sb, in ext4_superblock_csum_verify() 196 void ext4_superblock_csum_set(struct super_block *sb) in ext4_superblock_csum_set() 226 ext4_fsblk_t ext4_block_bitmap(struct super_block *sb, in ext4_block_bitmap() 234 ext4_fsblk_t ext4_inode_bitmap(struct super_block *sb, in ext4_inode_bitmap() [all …]
|
| D | balloc.c | 35 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number() 53 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset() 73 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group() 86 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters() 159 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group() 179 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap() 248 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init() 274 struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, in ext4_get_group_desc() 320 static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, in ext4_valid_block_bitmap() 375 static int ext4_validate_block_bitmap(struct super_block *sb, in ext4_validate_block_bitmap() [all …]
|
| D | mmp.c | 11 static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum() 22 static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_verify() 30 static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_set() 42 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) in write_mmp_block() 68 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block() 118 void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, in __dump_mmp_msg() 134 struct super_block *sb = ((struct mmpd_data *) data)->sb; in kmmpd() local 273 int ext4_multi_mount_protect(struct super_block *sb, in ext4_multi_mount_protect()
|
| D | ext4_jbd2.h | 36 #define EXT4_SINGLEDATA_TRANS_BLOCKS(sb) \ argument 51 #define EXT4_DATA_TRANS_BLOCKS(sb) (EXT4_SINGLEDATA_TRANS_BLOCKS(sb) + \ argument 60 #define EXT4_META_TRANS_BLOCKS(sb) (EXT4_XATTR_TRANS_BLOCKS + \ argument 92 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ argument 96 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ argument 101 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ argument 106 #define EXT4_QUOTA_TRANS_BLOCKS(sb) 0 argument 107 #define EXT4_QUOTA_INIT_BLOCKS(sb) 0 argument 108 #define EXT4_QUOTA_DEL_BLOCKS(sb) 0 argument 110 #define EXT4_MAXQUOTAS_TRANS_BLOCKS(sb) (EXT4_MAXQUOTAS*EXT4_QUOTA_TRANS_BLOCKS(sb)) argument [all …]
|
| D | resize.c | 47 int ext4_resize_begin(struct super_block *sb) in ext4_resize_begin() 84 void ext4_resize_end(struct super_block *sb) in ext4_resize_end() 90 static ext4_group_t ext4_meta_bg_first_group(struct super_block *sb, in ext4_meta_bg_first_group() 96 static ext4_fsblk_t ext4_meta_bg_first_block_no(struct super_block *sb, in ext4_meta_bg_first_block_no() 102 static ext4_grpblk_t ext4_group_overhead_blocks(struct super_block *sb, in ext4_group_overhead_blocks() 115 static int verify_group_input(struct super_block *sb, in verify_group_input() 276 static int ext4_alloc_group_tables(struct super_block *sb, in ext4_alloc_group_tables() 386 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean() 440 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap() 507 static int setup_new_flex_group_blocks(struct super_block *sb, in setup_new_flex_group_blocks() [all …]
|
| /fs/quota/ |
| D | quota.c | 23 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission() 50 static void quota_sync_one(struct super_block *sb, void *arg) in quota_sync_one() 84 static int quota_quotaon(struct super_block *sb, int type, qid_t id, in quota_quotaon() 96 static int quota_quotaoff(struct super_block *sb, int type) in quota_quotaoff() 105 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) in quota_getfmt() 117 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) in quota_getinfo() 147 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) in quota_setinfo() 201 static int quota_getquota(struct super_block *sb, int type, qid_t id, in quota_getquota() 227 static int quota_getnextquota(struct super_block *sb, int type, qid_t id, in quota_getnextquota() 277 static int quota_setquota(struct super_block *sb, int type, qid_t id, in quota_setquota() [all …]
|
| /fs/kernfs/ |
| D | mount.c | 25 static int kernfs_sop_remount_fs(struct super_block *sb, int *flags, char *data) in kernfs_sop_remount_fs() 87 static struct inode *kernfs_fh_get_inode(struct super_block *sb, in kernfs_fh_get_inode() 113 static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, in kernfs_fh_to_dentry() 120 static struct dentry *kernfs_fh_to_parent(struct super_block *sb, struct fid *fid, in kernfs_fh_to_parent() 147 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() 185 struct super_block *sb) in kernfs_node_dentry() 225 static int kernfs_fill_super(struct super_block *sb, unsigned long magic) in kernfs_fill_super() 263 static int kernfs_test_super(struct super_block *sb, void *data) in kernfs_test_super() 271 static int kernfs_set_super(struct super_block *sb, void *data) in kernfs_set_super() 286 const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns() [all …]
|
| /fs/ext2/ |
| D | super.c | 47 void ext2_error(struct super_block *sb, const char *function, in ext2_error() 82 void ext2_msg(struct super_block *sb, const char *prefix, in ext2_msg() 101 void ext2_update_dynamic_rev(struct super_block *sb) in ext2_update_dynamic_rev() 129 static void ext2_quota_off_umount(struct super_block *sb) in ext2_quota_off_umount() 137 static inline void ext2_quota_off_umount(struct super_block *sb) in ext2_quota_off_umount() 142 static void ext2_put_super (struct super_block * sb) in ext2_put_super() 180 static struct inode *ext2_alloc_inode(struct super_block *sb) in ext2_alloc_inode() 245 struct super_block *sb = root->d_sb; in ext2_show_options() local 372 static struct inode *ext2_nfs_get_inode(struct super_block *sb, in ext2_nfs_get_inode() 398 static struct dentry *ext2_fh_to_dentry(struct super_block *sb, struct fid *fid, in ext2_fh_to_dentry() [all …]
|
| /fs/ufs/ |
| D | super.c | 97 static struct inode *ufs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) in ufs_nfs_get_inode() 115 static struct dentry *ufs_fh_to_dentry(struct super_block *sb, struct fid *fid, in ufs_fh_to_dentry() 121 static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid, in ufs_fh_to_parent() 148 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff() 227 static void ufs_print_cylinder_stuff(struct super_block *sb, in ufs_print_cylinder_stuff() 264 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument 265 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument 270 void ufs_error (struct super_block * sb, const char * function, in ufs_error() 304 void ufs_panic (struct super_block * sb, const char * function, in ufs_panic() 329 void ufs_warning (struct super_block * sb, const char * function, in ufs_warning() [all …]
|
| /fs/ocfs2/ |
| D | quota_local.c | 29 static inline unsigned int ol_quota_entries_per_block(struct super_block *sb) in ol_quota_entries_per_block() 36 static inline unsigned int ol_chunk_blocks(struct super_block *sb) in ol_chunk_blocks() 44 static unsigned int ol_chunk_entries(struct super_block *sb) in ol_chunk_entries() 50 static unsigned int ol_quota_chunk_block(struct super_block *sb, int c) in ol_quota_chunk_block() 56 static unsigned int ol_dqblk_block(struct super_block *sb, int c, int off) in ol_dqblk_block() 63 static unsigned int ol_dqblk_block_off(struct super_block *sb, int c, int off) in ol_dqblk_block_off() 71 static loff_t ol_dqblk_off(struct super_block *sb, int c, int off) in ol_dqblk_off() 77 static inline unsigned int ol_dqblk_block_offset(struct super_block *sb, loff_t off) in ol_dqblk_block_offset() 83 static int ol_dqblk_chunk_off(struct super_block *sb, int c, loff_t off) in ol_dqblk_chunk_off() 97 struct super_block *sb = inode->i_sb; in ocfs2_modify_bh() local [all …]
|
| D | quota_global.c | 133 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh) in ocfs2_validate_quota_block() 166 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, in ocfs2_quota_read() 215 ssize_t ocfs2_quota_write(struct super_block *sb, int type, in ocfs2_quota_write() 337 int ocfs2_global_read_info(struct super_block *sb, int type) in ocfs2_global_read_info() 416 static int __ocfs2_global_write_info(struct super_block *sb, int type) in __ocfs2_global_write_info() 444 int ocfs2_global_write_info(struct super_block *sb, int type) in ocfs2_global_write_info() 461 static int ocfs2_global_qinit_alloc(struct super_block *sb, int type) in ocfs2_global_qinit_alloc() 472 static int ocfs2_calc_global_qinit_credits(struct super_block *sb, int type) in ocfs2_calc_global_qinit_credits() 486 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot() local 599 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper() local [all …]
|
| D | journal.h | 378 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits() 399 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) in ocfs2_inline_to_extents_credits() 412 static inline int ocfs2_remove_extent_credits(struct super_block *sb) in ocfs2_remove_extent_credits() 422 static inline int ocfs2_add_dir_index_credits(struct super_block *sb) in ocfs2_add_dir_index_credits() 433 static inline int ocfs2_mknod_credits(struct super_block *sb, int is_dir, in ocfs2_mknod_credits() 456 static inline int ocfs2_link_credits(struct super_block *sb) in ocfs2_link_credits() 464 static inline int ocfs2_unlink_credits(struct super_block *sb) in ocfs2_unlink_credits() 483 static inline int ocfs2_rename_credits(struct super_block *sb) in ocfs2_rename_credits() 499 static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb) in ocfs2_calc_dxi_expand_credits() 531 static inline int ocfs2_calc_extend_credits(struct super_block *sb, in ocfs2_calc_extend_credits() [all …]
|
| /fs/nilfs2/ |
| D | super.c | 74 void __nilfs_msg(struct super_block *sb, const char *level, const char *fmt, in __nilfs_msg() 90 static void nilfs_set_error(struct super_block *sb) in nilfs_set_error() 122 void __nilfs_error(struct super_block *sb, const char *function, in __nilfs_error() 153 struct inode *nilfs_alloc_inode(struct super_block *sb) in nilfs_alloc_inode() 183 static int nilfs_sync_super(struct super_block *sb, int flag) in nilfs_sync_super() 257 struct nilfs_super_block **nilfs_prepare_super(struct super_block *sb, in nilfs_prepare_super() 283 int nilfs_commit_super(struct super_block *sb, int flag) in nilfs_commit_super() 319 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super() 349 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super() 409 int nilfs_resize_fs(struct super_block *sb, __u64 newsize) in nilfs_resize_fs() [all …]
|
| /fs/romfs/ |
| D | storage.c | 22 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__) argument 27 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read() 40 static ssize_t romfs_mtd_strnlen(struct super_block *sb, in romfs_mtd_strnlen() 70 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp() 107 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read() 134 static ssize_t romfs_blk_strnlen(struct super_block *sb, in romfs_blk_strnlen() 167 static int romfs_blk_strcmp(struct super_block *sb, unsigned long pos, in romfs_blk_strcmp() 218 int romfs_dev_read(struct super_block *sb, unsigned long pos, in romfs_dev_read() 243 ssize_t romfs_dev_strnlen(struct super_block *sb, in romfs_dev_strnlen() 271 int romfs_dev_strcmp(struct super_block *sb, unsigned long pos, in romfs_dev_strcmp()
|
| /fs/reiserfs/ |
| D | journal.c | 115 static void init_journal_hash(struct super_block *sb) in init_journal_hash() 137 static struct reiserfs_bitmap_node *allocate_bitmap_node(struct super_block in allocate_bitmap_node() 157 static struct reiserfs_bitmap_node *get_bitmap_node(struct super_block *sb) in get_bitmap_node() 180 static inline void free_bitmap_node(struct super_block *sb, in free_bitmap_node() 194 static void allocate_bitmap_nodes(struct super_block *sb) in allocate_bitmap_nodes() 211 static int set_bit_in_list_bitmap(struct super_block *sb, in set_bit_in_list_bitmap() 225 static void cleanup_bitmap_list(struct super_block *sb, in cleanup_bitmap_list() 243 static int free_list_bitmaps(struct super_block *sb, in free_list_bitmaps() 258 static int free_bitmap_nodes(struct super_block *sb) in free_bitmap_nodes() 280 int reiserfs_allocate_list_bitmaps(struct super_block *sb, in reiserfs_allocate_list_bitmaps() [all …]
|
| D | procfs.c | 28 struct super_block *sb = m->private; in show_version() local 72 struct super_block *sb = m->private; in show_super() local 135 struct super_block *sb = m->private; in show_per_level() local 194 struct super_block *sb = m->private; in show_bitmap() local 227 struct super_block *sb = m->private; in show_on_disk_super() local 271 struct super_block *sb = m->private; in show_oidmap() local 302 struct super_block *sb = m->private; in show_journal() local 408 static void add_file(struct super_block *sb, char *name, in add_file() 415 int reiserfs_proc_info_init(struct super_block *sb) in reiserfs_proc_info_init() 443 int reiserfs_proc_info_done(struct super_block *sb) in reiserfs_proc_info_done()
|
| /fs/udf/ |
| D | super.c | 106 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb) in udf_sb_lvidiu() 146 static struct inode *udf_alloc_inode(struct super_block *sb) in udf_alloc_inode() 265 static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count) in udf_sb_alloc_partition_maps() 320 static void udf_sb_free_partitions(struct super_block *sb) in udf_sb_free_partitions() 335 struct super_block *sb = root->d_sb; in udf_show_options() local 643 static int udf_remount_fs(struct super_block *sb, int *flags, char *options) in udf_remount_fs() 690 static loff_t udf_check_vsd(struct super_block *sb) in udf_check_vsd() 793 static int udf_find_fileset(struct super_block *sb, in udf_find_fileset() 889 static int udf_load_pvoldesc(struct super_block *sb, sector_t block) in udf_load_pvoldesc() 950 struct inode *udf_find_metadata_inode_efe(struct super_block *sb, in udf_find_metadata_inode_efe() [all …]
|
| /fs/xfs/ |
| D | xfs_quotaops.c | 69 struct super_block *sb, in xfs_fs_get_quota_state() 121 struct super_block *sb, in xfs_fs_set_info() 173 struct super_block *sb, in xfs_quota_enable() 188 struct super_block *sb, in xfs_quota_disable() 205 struct super_block *sb, in xfs_fs_rm_xquota() 232 struct super_block *sb, in xfs_fs_get_dqblk() 252 struct super_block *sb, in xfs_fs_get_nextdqblk() 279 struct super_block *sb, in xfs_fs_set_dqblk()
|
| /fs/fat/ |
| D | nfs.c | 32 static struct inode *fat_dget(struct super_block *sb, int i_logstart) in fat_dget() 53 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup() 65 static struct inode *__fat_nfs_get_inode(struct super_block *sb, in __fat_nfs_get_inode() 101 static struct inode *fat_nfs_get_inode(struct super_block *sb, in fat_nfs_get_inode() 151 static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, in fat_fh_to_dentry() 158 static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, in fat_fh_to_dentry_nostale() 189 static struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid, in fat_fh_to_parent() 196 static struct dentry *fat_fh_to_parent_nostale(struct super_block *sb, in fat_fh_to_parent_nostale() 223 struct inode *fat_rebuild_parent(struct super_block *sb, int parent_logstart) in fat_rebuild_parent() 273 struct super_block *sb = child_dir->d_sb; in fat_get_parent() local
|
| /fs/jfs/ |
| D | super.c | 75 static void jfs_handle_error(struct super_block *sb) in jfs_handle_error() 96 void jfs_error(struct super_block *sb, const char *fmt, ...) in jfs_error() 114 static struct inode *jfs_alloc_inode(struct super_block *sb) in jfs_alloc_inode() 190 static void jfs_quota_off_umount(struct super_block *sb) in jfs_quota_off_umount() 209 static inline void jfs_quota_off_umount(struct super_block *sb) in jfs_quota_off_umount() 214 static void jfs_put_super(struct super_block *sb) in jfs_put_super() 262 static int parse_options(char *options, struct super_block *sb, s64 *newLVSize, in parse_options() 459 static int jfs_remount(struct super_block *sb, int *flags, char *data) in jfs_remount() 519 static int jfs_fill_super(struct super_block *sb, void *data, int silent) in jfs_fill_super() 649 static int jfs_freeze(struct super_block *sb) in jfs_freeze() [all …]
|
| D | jfs_mount.c | 81 int jfs_mount(struct super_block *sb) in jfs_mount() 239 int jfs_mount_rw(struct super_block *sb, int remount) in jfs_mount_rw() 301 static int chkSuper(struct super_block *sb) in chkSuper() 409 int updateSuper(struct super_block *sb, uint state) in updateSuper() 464 int readSuper(struct super_block *sb, struct buffer_head **bpp) in readSuper() 494 static int logMOUNT(struct super_block *sb) in logMOUNT()
|
| /fs/jffs2/ |
| D | super.c | 37 static struct inode *jffs2_alloc_inode(struct super_block *sb) in jffs2_alloc_inode() 102 static int jffs2_sync_fs(struct super_block *sb, int wait) in jffs2_sync_fs() 117 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, in jffs2_nfs_get_inode() 126 static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid, in jffs2_fh_to_dentry() 133 static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid, in jffs2_fh_to_parent() 245 static int jffs2_remount_fs(struct super_block *sb, int *flags, char *data) in jffs2_remount_fs() 274 static int jffs2_fill_super(struct super_block *sb, void *data, int silent) in jffs2_fill_super() 322 static void jffs2_put_super (struct super_block *sb) in jffs2_put_super() 344 static void jffs2_kill_sb(struct super_block *sb) in jffs2_kill_sb()
|