/openbmc/linux/fs/kernfs/ |
H A D | mount.c | 81 static struct dentry *__kernfs_fh_to_dentry(struct super_block *sb, in __kernfs_fh_to_dentry() 133 static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, in kernfs_fh_to_dentry() 140 static struct dentry *kernfs_fh_to_parent(struct super_block *sb, in kernfs_fh_to_parent() 168 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() 208 struct super_block *sb) in kernfs_node_dentry() 248 static int kernfs_fill_super(struct super_block *sb, struct kernfs_fs_context *kfc) in kernfs_fill_super() 290 static int kernfs_test_super(struct super_block *sb, struct fs_context *fc) in kernfs_test_super() 298 static int kernfs_set_super(struct super_block *sb, struct fs_context *fc) in kernfs_set_super() 312 const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns() 333 struct super_block *sb; in kernfs_get_tree() local [all …]
|
/openbmc/linux/lib/ |
H A D | sbitmap.c | 12 static int init_alloc_hint(struct sbitmap *sb, gfp_t flags) in init_alloc_hint() 43 static inline void update_alloc_hint_after_get(struct sbitmap *sb, in update_alloc_hint_after_get() 123 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() 189 static int sbitmap_find_bit(struct sbitmap *sb, in sbitmap_find_bit() 239 int sbitmap_get(struct sbitmap *sb) in sbitmap_get() 256 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow() 285 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set() 318 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight() 324 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show() 485 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch() local [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | fatent.c | 14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, in exfat_mirror_bh() 38 static int __exfat_ent_get(struct super_block *sb, unsigned int loc, in __exfat_ent_get() 62 int exfat_ent_set(struct super_block *sb, unsigned int loc, in exfat_ent_set() 85 int exfat_ent_get(struct super_block *sb, unsigned int loc, in exfat_ent_get() 129 int exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain, in exfat_chain_cont_cluster() 150 struct super_block *sb = inode->i_sb; in __exfat_free_cluster() local 238 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain, in exfat_find_last_cluster() 270 struct super_block *sb = dir->i_sb; in exfat_zeroed_cluster() local 312 struct super_block *sb = inode->i_sb; in exfat_alloc_cluster() local 423 int exfat_count_num_clusters(struct super_block *sb, in exfat_count_num_clusters()
|
H A D | nls.c | 452 unsigned short exfat_toupper(struct super_block *sb, unsigned short a) in exfat_toupper() 468 int exfat_uniname_ncmp(struct super_block *sb, unsigned short *a, in exfat_uniname_ncmp() 479 static int exfat_utf16_to_utf8(struct super_block *sb, in exfat_utf16_to_utf8() 493 static int exfat_utf8_to_utf16(struct super_block *sb, in exfat_utf8_to_utf16() 540 static int __exfat_utf16_to_nls(struct super_block *sb, in __exfat_utf16_to_nls() 595 static int exfat_nls_to_ucs2(struct super_block *sb, in exfat_nls_to_ucs2() 632 int exfat_utf16_to_nls(struct super_block *sb, struct exfat_uni_name *uniname, in exfat_utf16_to_nls() 641 int exfat_nls_to_utf16(struct super_block *sb, const unsigned char *p_cstring, in exfat_nls_to_utf16() 650 static int exfat_load_upcase_table(struct super_block *sb, in exfat_load_upcase_table() 710 static int exfat_load_default_upcase_table(struct super_block *sb) in exfat_load_default_upcase_table() [all …]
|
/openbmc/linux/fs/adfs/ |
H A D | super.c | 25 void __adfs_error(struct super_block *sb, const char *function, const char *fmt, ...) in __adfs_error() 41 void adfs_msg(struct super_block *sb, const char *pfx, const char *fmt, ...) in adfs_msg() 92 static void adfs_put_super(struct super_block *sb) in adfs_put_super() 129 static int parse_options(struct super_block *sb, struct adfs_sb_info *asb, in parse_options() 185 static int adfs_remount(struct super_block *sb, int *flags, char *data) in adfs_remount() 203 struct super_block *sb = dentry->d_sb; in adfs_statfs() local 220 static struct inode *adfs_alloc_inode(struct super_block *sb) in adfs_alloc_inode() 281 int (*validate)(struct super_block *sb, in adfs_probe() 331 static int adfs_validate_bblk(struct super_block *sb, struct buffer_head *bh, in adfs_validate_bblk() 350 static int adfs_validate_dr0(struct super_block *sb, struct buffer_head *bh, in adfs_validate_dr0() [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | features.h | 27 #define BCH_HAS_COMPAT_FEATURE(sb, mask) \ argument 29 #define BCH_HAS_RO_COMPAT_FEATURE(sb, mask) \ argument 31 #define BCH_HAS_INCOMPAT_FEATURE(sb, mask) \ argument 94 static inline bool bch_has_unknown_compat_features(struct cache_sb *sb) in bch_has_unknown_compat_features() 99 static inline bool bch_has_unknown_ro_compat_features(struct cache_sb *sb) in bch_has_unknown_ro_compat_features() 104 static inline bool bch_has_unknown_incompat_features(struct cache_sb *sb) in bch_has_unknown_incompat_features()
|
/openbmc/linux/fs/jfs/ |
H A D | super.c | 62 static void jfs_handle_error(struct super_block *sb) in jfs_handle_error() 83 void jfs_error(struct super_block *sb, const char *fmt, ...) in jfs_error() 101 static struct inode *jfs_alloc_inode(struct super_block *sb) in jfs_alloc_inode() 161 static void jfs_quota_off_umount(struct super_block *sb) in jfs_quota_off_umount() 180 static inline void jfs_quota_off_umount(struct super_block *sb) in jfs_quota_off_umount() 185 static void jfs_put_super(struct super_block *sb) in jfs_put_super() 616 static int jfs_freeze(struct super_block *sb) in jfs_freeze() 646 static int jfs_unfreeze(struct super_block *sb) in jfs_unfreeze() 673 static int jfs_sync_fs(struct super_block *sb, int wait) in jfs_sync_fs() 773 static ssize_t jfs_quota_write(struct super_block *sb, int type, in jfs_quota_write() [all …]
|
H A D | jfs_mount.c | 70 int jfs_mount(struct super_block *sb) in jfs_mount() 221 int jfs_mount_rw(struct super_block *sb, int remount) in jfs_mount_rw() 287 static int chkSuper(struct super_block *sb) in chkSuper() 402 int updateSuper(struct super_block *sb, uint state) in updateSuper() 457 int readSuper(struct super_block *sb, struct buffer_head **bpp) in readSuper() 487 static int logMOUNT(struct super_block *sb) in logMOUNT()
|
/openbmc/linux/fs/ocfs2/ |
H A D | quota_global.c | 167 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, in ocfs2_quota_read() 216 ssize_t ocfs2_quota_write(struct super_block *sb, int type, in ocfs2_quota_write() 338 int ocfs2_global_read_info(struct super_block *sb, int type) in ocfs2_global_read_info() 445 int ocfs2_global_write_info(struct super_block *sb, int type) in ocfs2_global_write_info() 487 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot() local 600 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper() local 641 struct super_block *sb = oinfo->dqi_gqinode->i_sb; in qsync_work_fn() local 683 static int ocfs2_calc_qdel_credits(struct super_block *sb, int type) in ocfs2_calc_qdel_credits() 796 struct super_block *sb = dquot->dq_sb; in ocfs2_acquire_dquot() local 918 struct super_block *sb = dquot->dq_sb; in ocfs2_mark_dquot_dirty() local [all …]
|
H A D | journal.h | 363 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits() 384 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) in ocfs2_inline_to_extents_credits() 397 static inline int ocfs2_remove_extent_credits(struct super_block *sb) in ocfs2_remove_extent_credits() 407 static inline int ocfs2_add_dir_index_credits(struct super_block *sb) in ocfs2_add_dir_index_credits() 441 static inline int ocfs2_link_credits(struct super_block *sb) in ocfs2_link_credits() 449 static inline int ocfs2_unlink_credits(struct super_block *sb) in ocfs2_unlink_credits() 468 static inline int ocfs2_rename_credits(struct super_block *sb) in ocfs2_rename_credits() 484 static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb) in ocfs2_calc_dxi_expand_credits() 516 static inline int ocfs2_calc_extend_credits(struct super_block *sb, in ocfs2_calc_extend_credits() 543 static inline int ocfs2_calc_symlink_credits(struct super_block *sb) in ocfs2_calc_symlink_credits() [all …]
|
/openbmc/linux/fs/reiserfs/ |
H A D | procfs.c | 29 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 309 struct super_block *sb = m->private; in show_journal() local 402 static void add_file(struct super_block *sb, char *name, in add_file() 408 int reiserfs_proc_info_init(struct super_block *sb) in reiserfs_proc_info_init() 436 int reiserfs_proc_info_done(struct super_block *sb) in reiserfs_proc_info_done()
|
/openbmc/linux/fs/fat/ |
H A D | nfs.c | 23 static struct inode *fat_dget(struct super_block *sb, int i_logstart) in fat_dget() 44 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup() 56 static struct inode *__fat_nfs_get_inode(struct super_block *sb, in __fat_nfs_get_inode() 92 static struct inode *fat_nfs_get_inode(struct super_block *sb, in fat_nfs_get_inode() 148 static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, in fat_fh_to_dentry() 155 static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, in fat_fh_to_dentry_nostale() 186 static struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid, in fat_fh_to_parent() 193 static struct dentry *fat_fh_to_parent_nostale(struct super_block *sb, in fat_fh_to_parent_nostale() 220 struct inode *fat_rebuild_parent(struct super_block *sb, int parent_logstart) in fat_rebuild_parent() 270 struct super_block *sb = child_dir->d_sb; in fat_get_parent() local
|
H A D | fatent.c | 23 static void fat12_ent_blocknr(struct super_block *sb, int entry, in fat12_ent_blocknr() 33 static void fat_ent_blocknr(struct super_block *sb, int entry, in fat_ent_blocknr() 289 void fat_ent_access_init(struct super_block *sb) in fat_ent_access_init() 309 static void mark_fsinfo_dirty(struct super_block *sb) in mark_fsinfo_dirty() 319 static inline int fat_ent_update_ptr(struct super_block *sb, in fat_ent_update_ptr() 351 struct super_block *sb = inode->i_sb; in fat_ent_read() local 413 struct super_block *sb = inode->i_sb; in fat_ent_write() local 468 struct super_block *sb = inode->i_sb; in fat_alloc_clusters() local 556 struct super_block *sb = inode->i_sb; in fat_free_clusters() local 716 int fat_count_free_clusters(struct super_block *sb) in fat_count_free_clusters() [all …]
|
/openbmc/linux/fs/befs/ |
H A D | linuxvfs.c | 135 struct super_block *sb = inode->i_sb; in befs_get_block() local 174 struct super_block *sb = dir->i_sb; in befs_lookup() local 218 struct super_block *sb = inode->i_sb; in befs_readdir() local 275 befs_alloc_inode(struct super_block *sb) in befs_alloc_inode() 473 struct super_block *sb = inode->i_sb; in befs_symlink_read_folio() local 505 befs_utf2nls(struct super_block *sb, const char *in, in befs_utf2nls() 582 befs_nls2utf(struct super_block *sb, const char *in, in befs_nls2utf() 649 static struct dentry *befs_fh_to_dentry(struct super_block *sb, in befs_fh_to_dentry() 792 befs_put_super(struct super_block *sb) in befs_put_super() 942 befs_remount(struct super_block *sb, int *flags, char *data) in befs_remount() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | super.c | 38 static struct inode *jffs2_alloc_inode(struct super_block *sb) in jffs2_alloc_inode() 97 static int jffs2_sync_fs(struct super_block *sb, int wait) in jffs2_sync_fs() 112 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, in jffs2_nfs_get_inode() 121 static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid, in jffs2_fh_to_dentry() 128 static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid, in jffs2_fh_to_parent() 234 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure() local 257 static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc) in jffs2_fill_super() 321 static void jffs2_put_super (struct super_block *sb) in jffs2_put_super() 343 static void jffs2_kill_sb(struct super_block *sb) in jffs2_kill_sb()
|
/openbmc/linux/fs/ext2/ |
H A D | balloc.c | 71 static int ext2_valid_block_bitmap(struct super_block *sb, in ext2_valid_block_bitmap() 264 unsigned int group, struct super_block * sb) in goal_in_my_reservation() 328 void ext2_rsv_window_add(struct super_block *sb, in ext2_rsv_window_add() 367 static void rsv_window_remove(struct super_block *sb, in rsv_window_remove() 413 struct super_block *sb = inode->i_sb; in ext2_init_block_alloc_info() local 484 struct super_block * sb = inode->i_sb; in ext2_free_blocks() local 661 ext2_try_to_allocate(struct super_block *sb, int group, in ext2_try_to_allocate() 751 struct super_block * sb, in find_next_reservable_window() 864 ext2_grpblk_t grp_goal, struct super_block *sb, in alloc_new_reservation() 1006 struct super_block *sb, int size) in try_to_extend_reservation() [all …]
|
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 276 hashfn(const struct super_block *sb, struct kqid qid) in hashfn() 442 void mark_info_dirty(struct super_block *sb, int type) in mark_info_dirty() 628 int dquot_scan_active(struct super_block *sb, in dquot_scan_active() 739 int dquot_quota_sync(struct super_block *sb, int type) in dquot_quota_sync() 1351 struct super_block *sb = dquot->dq_sb; in dquot_add_space() local 1452 struct super_block *sb = inode->i_sb; in inode_quota_active() local 1470 struct super_block *sb = inode->i_sb; in __dquot_initialize() local 2138 struct super_block *sb = inode->i_sb; in dquot_transfer() local 2356 int dquot_quota_off(struct super_block *sb, int type) in dquot_quota_off() 2369 struct super_block *sb = inode->i_sb; in vfs_setup_quota_inode() local [all …]
|
/openbmc/linux/fs/sysv/ |
H A D | ialloc.c | 40 sv_sb_fic_inode(struct super_block * sb, unsigned int i) in sv_sb_fic_inode() 57 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode() 71 static int refill_free_cache(struct super_block *sb) in refill_free_cache() 103 struct super_block *sb = inode->i_sb; in sysv_free_inode() local 138 struct super_block *sb = dir->i_sb; in sysv_new_inode() local 182 unsigned long sysv_count_free_inodes(struct super_block * sb) in sysv_count_free_inodes()
|
/openbmc/linux/fs/ext4/ |
H A D | orphan.c | 101 struct super_block *sb = inode->i_sb; in ext4_orphan_add() local 314 static int ext4_quota_on_mount(struct super_block *sb, int type) in ext4_quota_on_mount() 326 struct super_block *sb = inode->i_sb; in ext4_process_orphan() local 380 void ext4_orphan_cleanup(struct super_block *sb, struct ext4_super_block *es) in ext4_orphan_cleanup() 511 void ext4_release_orphan_info(struct super_block *sb) in ext4_release_orphan_info() 524 struct super_block *sb, in ext4_orphan_block_tail() 531 static int ext4_orphan_file_block_csum_verify(struct super_block *sb, in ext4_orphan_file_block_csum_verify() 556 struct super_block *sb = EXT4_TRIGGER(triggers)->sb; in ext4_orphan_file_block_trigger() local 571 int ext4_init_orphan_info(struct super_block *sb) in ext4_init_orphan_info() 639 int ext4_orphan_file_empty(struct super_block *sb) in ext4_orphan_file_empty()
|
H A D | fast_commit.c | 232 static bool ext4_fc_disabled(struct super_block *sb) in ext4_fc_disabled() 424 struct super_block *sb = inode->i_sb; in __track_dentry_update() local 963 struct super_block *sb = journal->j_private; in ext4_fc_submit_inode_data_all() local 997 struct super_block *sb = journal->j_private; in ext4_fc_wait_inode_data_all() local 1024 struct super_block *sb = journal->j_private; in ext4_fc_commit_dentry_updates() local 1086 struct super_block *sb = journal->j_private; in ext4_fc_perform_commit() local 1191 struct super_block *sb = journal->j_private; in ext4_fc_commit() local 1268 struct super_block *sb = journal->j_private; in ext4_fc_cleanup() local 1839 ext4_fc_replay_del_range(struct super_block *sb, in ext4_fc_replay_del_range() 2031 struct super_block *sb = journal->j_private; in ext4_fc_replay_scan() local [all …]
|
H A D | mballoc.c | 555 struct super_block *sb = e4b->bd_sb; in mb_free_blocks_double() local 682 struct super_block *sb = e4b->bd_sb; in __mb_check_buddy() local 1283 struct super_block *sb; in ext4_mb_init_cache() local 2395 struct super_block *sb = ac->ac_sb; in ext4_mb_simple_scan_group() local 2449 struct super_block *sb = ac->ac_sb; in ext4_mb_complex_scan_group() local 2532 struct super_block *sb = ac->ac_sb; in ext4_mb_scan_aligned() local 2646 struct super_block *sb = ac->ac_sb; in ext4_mb_good_group_nolock() local 2798 struct super_block *sb; in ext4_mb_regular_allocator() local 3996 struct super_block *sb; in ext4_mb_mark_diskspace_used() local 6161 struct super_block *sb; in ext4_mb_new_blocks() local [all …]
|
/openbmc/linux/fs/udf/ |
H A D | balloc.c | 30 static int read_block_bitmap(struct super_block *sb, in read_block_bitmap() 72 static int __load_block_bitmap(struct super_block *sb, in __load_block_bitmap() 94 static inline int load_block_bitmap(struct super_block *sb, in load_block_bitmap() 124 static void udf_bitmap_free_blocks(struct super_block *sb, in udf_bitmap_free_blocks() 190 static int udf_bitmap_prealloc_blocks(struct super_block *sb, in udf_bitmap_prealloc_blocks() 238 static udf_pblk_t udf_bitmap_new_block(struct super_block *sb, in udf_bitmap_new_block() 376 static void udf_table_free_blocks(struct super_block *sb, in udf_table_free_blocks() 517 static int udf_table_prealloc_blocks(struct super_block *sb, in udf_table_prealloc_blocks() 577 static udf_pblk_t udf_table_new_block(struct super_block *sb, in udf_table_new_block() 691 inline int udf_prealloc_blocks(struct super_block *sb, in udf_prealloc_blocks() [all …]
|
/openbmc/linux/fs/coda/ |
H A D | upcall.c | 75 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp) in venus_rootfid() 92 int venus_getattr(struct super_block *sb, struct CodaFid *fid, in venus_getattr() 111 int venus_setattr(struct super_block *sb, struct CodaFid *fid, in venus_setattr() 130 int venus_lookup(struct super_block *sb, struct CodaFid *fid, in venus_lookup() 180 int venus_open(struct super_block *sb, struct CodaFid *fid, in venus_open() 201 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid, in venus_mkdir() 379 int venus_link(struct super_block *sb, struct CodaFid *fid, in venus_link() 405 int venus_symlink(struct super_block *sb, struct CodaFid *fid, in venus_symlink() 440 int venus_fsync(struct super_block *sb, struct CodaFid *fid) in venus_fsync() 475 int venus_pioctl(struct super_block *sb, struct CodaFid *fid, in venus_pioctl() [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | super.c | 108 struct super_block *sb = inode->i_sb; in ntfs_inode_printk() local 407 struct super_block *sb = fc->root->d_sb; in ntfs_fs_reconfigure() local 463 struct super_block *sb = m->private; in ntfs3_volinfo() local 485 struct super_block *sb = m->private; in ntfs3_label_show() local 498 struct super_block *sb = pde_data(file_inode(file)); in ntfs3_label_write() local 637 static void ntfs_put_super(struct super_block *sb) in ntfs_put_super() 658 struct super_block *sb = dentry->d_sb; in ntfs_statfs() local 676 struct super_block *sb = root->d_sb; in ntfs_show_options() local 720 static void ntfs_shutdown(struct super_block *sb) in ntfs_shutdown() 1660 struct super_block *sb; in ntfs_discard() local [all …]
|
/openbmc/linux/fs/hfs/ |
H A D | super.c | 33 static int hfs_sync_fs(struct super_block *sb, int wait) in hfs_sync_fs() 46 static void hfs_put_super(struct super_block *sb) in hfs_put_super() 57 struct super_block *sb; in flush_mdb() local 69 void hfs_mark_mdb_dirty(struct super_block *sb) in hfs_mark_mdb_dirty() 97 struct super_block *sb = dentry->d_sb; in hfs_statfs() local 113 static int hfs_remount(struct super_block *sb, int *flags, char *data) in hfs_remount() 161 static struct inode *hfs_alloc_inode(struct super_block *sb) in hfs_alloc_inode() 378 static int hfs_fill_super(struct super_block *sb, void *data, int silent) in hfs_fill_super()
|