Lines Matching refs:super_block
42 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who);
53 static inline void __super_lock(struct super_block *sb, bool excl) in __super_lock()
61 static inline void super_unlock(struct super_block *sb, bool excl) in super_unlock()
69 static inline void __super_lock_excl(struct super_block *sb) in __super_lock_excl()
74 static inline void super_unlock_excl(struct super_block *sb) in super_unlock_excl()
79 static inline void super_unlock_shared(struct super_block *sb) in super_unlock_shared()
84 static inline bool wait_born(struct super_block *sb) in wait_born()
111 static __must_check bool super_lock(struct super_block *sb, bool excl) in super_lock()
144 static inline bool super_lock_shared(struct super_block *sb) in super_lock_shared()
150 static inline bool super_lock_excl(struct super_block *sb) in super_lock_excl()
157 static void super_wake(struct super_block *sb, unsigned int flag) in super_wake()
187 struct super_block *sb; in super_cache_scan()
194 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
244 struct super_block *sb; in super_cache_count()
247 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
282 struct super_block *s = container_of(work, struct super_block, in destroy_super_work()
293 struct super_block *s = container_of(head, struct super_block, rcu); in destroy_super_rcu()
299 static void destroy_unused_super(struct super_block *s) in destroy_unused_super()
323 static struct super_block *alloc_super(struct file_system_type *type, int flags, in alloc_super()
326 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
409 static void __put_super(struct super_block *s) in __put_super()
430 void put_super(struct super_block *sb) in put_super()
437 static void kill_super_notify(struct super_block *sb) in kill_super_notify()
476 void deactivate_locked_super(struct super_block *s) in deactivate_locked_super()
510 void deactivate_super(struct super_block *s) in deactivate_super()
533 static int grab_super(struct super_block *s) __releases(sb_lock) in grab_super()
549 static inline bool wait_dead(struct super_block *sb) in wait_dead()
573 static bool grab_super_dead(struct super_block *sb) in grab_super_dead()
605 bool super_trylock_shared(struct super_block *sb) in super_trylock_shared()
633 void retire_super(struct super_block *sb) in retire_super()
660 void generic_shutdown_super(struct super_block *sb) in generic_shutdown_super()
775 struct super_block *sget_fc(struct fs_context *fc, in sget_fc()
776 int (*test)(struct super_block *, struct fs_context *), in sget_fc() argument
777 int (*set)(struct super_block *, struct fs_context *)) in sget_fc() argument
779 struct super_block *s = NULL; in sget_fc()
780 struct super_block *old; in sget_fc()
849 struct super_block *sget(struct file_system_type *type, in sget()
850 int (*test)(struct super_block *,void *), in sget() argument
851 int (*set)(struct super_block *,void *), in sget() argument
856 struct super_block *s = NULL; in sget()
857 struct super_block *old; in sget()
909 void drop_super(struct super_block *sb) in drop_super()
917 void drop_super_exclusive(struct super_block *sb) in drop_super_exclusive()
924 static void __iterate_supers(void (*f)(struct super_block *)) in __iterate_supers() argument
926 struct super_block *sb, *p = NULL; in __iterate_supers()
955 void iterate_supers(void (*f)(struct super_block *, void *), void *arg) in iterate_supers() argument
957 struct super_block *sb, *p = NULL; in iterate_supers()
991 void (*f)(struct super_block *, void *), void *arg) in iterate_supers_type() argument
993 struct super_block *sb, *p = NULL; in iterate_supers_type()
1027 struct super_block *get_active_super(struct block_device *bdev) in get_active_super()
1029 struct super_block *sb; in get_active_super()
1047 struct super_block *user_get_super(dev_t dev, bool excl) in user_get_super()
1049 struct super_block *sb; in user_get_super()
1081 struct super_block *sb = fc->root->d_sb; in reconfigure_super()
1171 static void do_emergency_remount_callback(struct super_block *sb) in do_emergency_remount_callback()
1207 static void do_thaw_all_callback(struct super_block *sb) in do_thaw_all_callback()
1283 int set_anon_super(struct super_block *s, void *data) in set_anon_super()
1289 void kill_anon_super(struct super_block *sb) in kill_anon_super()
1298 void kill_litter_super(struct super_block *sb) in kill_litter_super()
1306 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc) in set_anon_super_fc()
1312 static int test_keyed_super(struct super_block *sb, struct fs_context *fc) in test_keyed_super()
1317 static int test_single_super(struct super_block *s, struct fs_context *fc) in test_single_super()
1323 int (*test)(struct super_block *, struct fs_context *), in vfs_get_super() argument
1324 int (*fill_super)(struct super_block *sb, in vfs_get_super()
1327 struct super_block *sb; in vfs_get_super()
1351 int (*fill_super)(struct super_block *sb, in get_tree_nodev()
1359 int (*fill_super)(struct super_block *sb, in get_tree_single()
1367 int (*fill_super)(struct super_block *sb, in get_tree_keyed()
1376 static int set_bdev_super(struct super_block *s, void *data) in set_bdev_super()
1382 static int super_s_dev_set(struct super_block *s, struct fs_context *fc) in super_s_dev_set()
1387 static int super_s_dev_test(struct super_block *s, struct fs_context *fc) in super_s_dev_test()
1413 struct super_block *sget_dev(struct fs_context *fc, dev_t dev) in sget_dev()
1429 static bool super_lock_shared_active(struct super_block *sb) in super_lock_shared_active()
1442 struct super_block *sb = bdev->bd_holder; in fs_bdev_mark_dead()
1462 struct super_block *sb = bdev->bd_holder; in fs_bdev_sync()
1478 int setup_bdev_super(struct super_block *sb, int sb_flags, in setup_bdev_super()
1538 int (*fill_super)(struct super_block *, in get_tree_bdev() argument
1541 struct super_block *s; in get_tree_bdev()
1591 static int test_bdev_super(struct super_block *s, void *data) in test_bdev_super()
1598 int (*fill_super)(struct super_block *, void *, int)) in mount_bdev() argument
1600 struct super_block *s; in mount_bdev()
1642 void kill_block_super(struct super_block *sb) in kill_block_super()
1658 int (*fill_super)(struct super_block *, void *, int)) in mount_nodev() argument
1661 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL); in mount_nodev()
1676 int reconfigure_single(struct super_block *s, in reconfigure_single()
1701 static int compare_single(struct super_block *s, void *p) in compare_single()
1708 int (*fill_super)(struct super_block *, void *, int)) in mount_single() argument
1710 struct super_block *s; in mount_single()
1741 struct super_block *sb; in vfs_get_tree()
1798 int super_setup_bdi_name(struct super_block *sb, char *fmt, ...) in super_setup_bdi_name()
1827 int super_setup_bdi(struct super_block *sb) in super_setup_bdi()
1844 static void sb_wait_write(struct super_block *sb, int level) in sb_wait_write()
1853 static void lockdep_sb_freeze_release(struct super_block *sb) in lockdep_sb_freeze_release()
1864 static void lockdep_sb_freeze_acquire(struct super_block *sb) in lockdep_sb_freeze_acquire()
1872 static void sb_freeze_unlock(struct super_block *sb, int level) in sb_freeze_unlock()
1878 static int wait_for_partially_frozen(struct super_block *sb) in wait_for_partially_frozen()
1940 int freeze_super(struct super_block *sb, enum freeze_holder who) in freeze_super()
2046 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who) in thaw_super_locked()
2111 int thaw_super(struct super_block *sb, enum freeze_holder who) in thaw_super()
2125 int sb_init_dio_done_wq(struct super_block *sb) in sb_init_dio_done_wq()