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)
61 static inline void super_unlock(struct super_block *sb, bool excl)
69 static inline void __super_lock_excl(struct super_block *sb)
74 static inline void super_unlock_excl(struct super_block *sb)
79 static inline void super_unlock_shared(struct super_block *sb)
84 static bool super_flags(const struct super_block *sb, unsigned int flags)
109 static __must_check bool super_lock(struct super_block *sb, bool excl)
137 static inline bool super_lock_shared(struct super_block *sb)
143 static inline bool super_lock_excl(struct super_block *sb)
150 static void super_wake(struct super_block *sb, unsigned int flag)
180 struct super_block *sb;
237 struct super_block *sb;
275 struct super_block *s = container_of(work, struct super_block,
287 struct super_block *s = container_of(head, struct super_block, rcu);
293 static void destroy_unused_super(struct super_block *s)
309 * @user_ns: User namespace for the super_block
311 * Allocates and initializes a new &struct super_block. alloc_super()
314 static struct super_block *alloc_super(struct file_system_type *type, int flags,
317 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_KERNEL);
403 static void __put_super(struct super_block *s)
421 void put_super(struct super_block *sb)
428 static void kill_super_notify(struct super_block *sb)
467 void deactivate_locked_super(struct super_block *s)
501 void deactivate_super(struct super_block *s)
523 static bool grab_super(struct super_block *sb)
559 bool super_trylock_shared(struct super_block *sb)
587 void retire_super(struct super_block *sb)
611 * rearrange the set of dentries belonging to this super_block, nor may it
614 void generic_shutdown_super(struct super_block *sb)
729 struct super_block *sget_fc(struct fs_context *fc,
730 int (*test)(struct super_block *, struct fs_context *),
731 int (*set)(struct super_block *, struct fs_context *))
733 struct super_block *s = NULL;
734 struct super_block *old;
803 struct super_block *sget(struct file_system_type *type,
804 int (*test)(struct super_block *,void *),
805 int (*set)(struct super_block *,void *),
810 struct super_block *s = NULL;
811 struct super_block *old;
863 void drop_super(struct super_block *sb)
871 void drop_super_exclusive(struct super_block *sb)
878 static void __iterate_supers(void (*f)(struct super_block *))
880 struct super_block *sb, *p = NULL;
908 void iterate_supers(void (*f)(struct super_block *, void *), void *arg)
910 struct super_block *sb, *p = NULL;
946 void (*f)(struct super_block *, void *), void *arg)
948 struct super_block *sb, *p = NULL;
976 struct super_block *user_get_super(dev_t dev, bool excl)
978 struct super_block *sb;
1012 struct super_block *sb = fc->root->d_sb;
1102 static void do_emergency_remount_callback(struct super_block *sb)
1139 static void do_thaw_all_callback(struct super_block *sb)
1216 int set_anon_super(struct super_block *s, void *data)
1222 void kill_anon_super(struct super_block *sb)
1231 void kill_litter_super(struct super_block *sb)
1239 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc)
1245 static int test_keyed_super(struct super_block *sb, struct fs_context *fc)
1250 static int test_single_super(struct super_block *s, struct fs_context *fc)
1256 int (*test)(struct super_block *, struct fs_context *),
1257 int (*fill_super)(struct super_block *sb,
1260 struct super_block *sb;
1284 int (*fill_super)(struct super_block *sb,
1292 int (*fill_super)(struct super_block *sb,
1300 int (*fill_super)(struct super_block *sb,
1309 static int set_bdev_super(struct super_block *s, void *data)
1315 static int super_s_dev_set(struct super_block *s, struct fs_context *fc)
1320 static int super_s_dev_test(struct super_block *s, struct fs_context *fc)
1346 struct super_block *sget_dev(struct fs_context *fc, dev_t dev)
1361 static struct super_block *bdev_super_lock(struct block_device *bdev, bool excl)
1364 struct super_block *sb = bdev->bd_holder;
1399 struct super_block *sb;
1417 struct super_block *sb;
1427 static struct super_block *get_bdev_super(struct block_device *bdev)
1430 struct super_block *sb;
1459 struct super_block *sb;
1499 struct super_block *sb;
1526 int setup_bdev_super(struct super_block *sb, int sb_flags,
1583 int (*fill_super)(struct super_block *,
1586 struct super_block *s;
1628 static int test_bdev_super(struct super_block *s, void *data)
1635 int (*fill_super)(struct super_block *, void *, int))
1637 struct super_block *s;
1671 void kill_block_super(struct super_block *sb)
1687 int (*fill_super)(struct super_block *, void *, int))
1690 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL);
1705 int reconfigure_single(struct super_block *s,
1730 static int compare_single(struct super_block *s, void *p)
1737 int (*fill_super)(struct super_block *, void *, int))
1739 struct super_block *s;
1770 struct super_block *sb;
1827 int super_setup_bdi_name(struct super_block *sb, char *fmt, ...)
1856 int super_setup_bdi(struct super_block *sb)
1873 static void sb_wait_write(struct super_block *sb, int level)
1882 static void lockdep_sb_freeze_release(struct super_block *sb)
1893 static void lockdep_sb_freeze_acquire(struct super_block *sb)
1901 static void sb_freeze_unlock(struct super_block *sb, int level)
1907 static int wait_for_partially_frozen(struct super_block *sb)
1928 static inline int freeze_inc(struct super_block *sb, enum freeze_holder who)
1940 static inline int freeze_dec(struct super_block *sb, enum freeze_holder who)
1952 static inline bool may_freeze(struct super_block *sb, enum freeze_holder who)
2021 int freeze_super(struct super_block *sb, enum freeze_holder who)
2116 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who)
2177 int thaw_super(struct super_block *sb, enum freeze_holder who)
2193 int sb_init_dio_done_wq(struct super_block *sb)