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,
288 struct super_block *s = container_of(head, struct super_block, rcu);
294 static void destroy_unused_super(struct super_block *s)
310 * @user_ns: User namespace for the super_block
312 * Allocates and initializes a new &struct super_block. alloc_super()
315 static struct super_block *alloc_super(struct file_system_type *type, int flags,
318 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_KERNEL);
404 static void __put_super(struct super_block *s)
422 void put_super(struct super_block *sb)
429 static void kill_super_notify(struct super_block *sb)
468 void deactivate_locked_super(struct super_block *s)
502 void deactivate_super(struct super_block *s)
524 static bool grab_super(struct super_block *sb)
560 bool super_trylock_shared(struct super_block *sb)
588 void retire_super(struct super_block *sb)
612 * rearrange the set of dentries belonging to this super_block, nor may it
615 void generic_shutdown_super(struct super_block *sb)
730 struct super_block *sget_fc(struct fs_context *fc,
731 int (*test)(struct super_block *, struct fs_context *),
732 int (*set)(struct super_block *, struct fs_context *))
734 struct super_block *s = NULL;
735 struct super_block *old;
815 struct super_block *sget(struct file_system_type *type,
816 int (*test)(struct super_block *,void *),
817 int (*set)(struct super_block *,void *),
822 struct super_block *s = NULL;
823 struct super_block *old;
875 void drop_super(struct super_block *sb)
883 void drop_super_exclusive(struct super_block *sb)
890 static void __iterate_supers(void (*f)(struct super_block *))
892 struct super_block *sb, *p = NULL;
920 void iterate_supers(void (*f)(struct super_block *, void *), void *arg)
922 struct super_block *sb, *p = NULL;
958 void (*f)(struct super_block *, void *), void *arg)
960 struct super_block *sb, *p = NULL;
988 struct super_block *user_get_super(dev_t dev, bool excl)
990 struct super_block *sb;
1024 struct super_block *sb = fc->root->d_sb;
1114 static void do_emergency_remount_callback(struct super_block *sb)
1151 static void do_thaw_all_callback(struct super_block *sb)
1228 int set_anon_super(struct super_block *s, void *data)
1234 void kill_anon_super(struct super_block *sb)
1243 void kill_litter_super(struct super_block *sb)
1251 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc)
1257 static int test_keyed_super(struct super_block *sb, struct fs_context *fc)
1262 static int test_single_super(struct super_block *s, struct fs_context *fc)
1268 int (*test)(struct super_block *, struct fs_context *),
1269 int (*fill_super)(struct super_block *sb,
1272 struct super_block *sb;
1296 int (*fill_super)(struct super_block *sb,
1304 int (*fill_super)(struct super_block *sb,
1312 int (*fill_super)(struct super_block *sb,
1321 static int set_bdev_super(struct super_block *s, void *data)
1327 static int super_s_dev_set(struct super_block *s, struct fs_context *fc)
1332 static int super_s_dev_test(struct super_block *s, struct fs_context *fc)
1358 struct super_block *sget_dev(struct fs_context *fc, dev_t dev)
1373 static struct super_block *bdev_super_lock(struct block_device *bdev, bool excl)
1376 struct super_block *sb = bdev->bd_holder;
1411 struct super_block *sb;
1429 struct super_block *sb;
1439 static struct super_block *get_bdev_super(struct block_device *bdev)
1442 struct super_block *sb;
1471 struct super_block *sb;
1511 struct super_block *sb;
1547 int setup_bdev_super(struct super_block *sb, int sb_flags,
1605 int (*fill_super)(struct super_block *sb,
1608 struct super_block *s;
1656 int (*fill_super)(struct super_block *,
1663 static int test_bdev_super(struct super_block *s, void *data)
1670 int (*fill_super)(struct super_block *, void *, int))
1672 struct super_block *s;
1706 void kill_block_super(struct super_block *sb)
1722 int (*fill_super)(struct super_block *, void *, int))
1725 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL);
1740 int reconfigure_single(struct super_block *s,
1765 static int compare_single(struct super_block *s, void *p)
1772 int (*fill_super)(struct super_block *, void *, int))
1774 struct super_block *s;
1805 struct super_block *sb;
1862 int super_setup_bdi_name(struct super_block *sb, char *fmt, ...)
1891 int super_setup_bdi(struct super_block *sb)
1908 static void sb_wait_write(struct super_block *sb, int level)
1917 static void lockdep_sb_freeze_release(struct super_block *sb)
1928 static void lockdep_sb_freeze_acquire(struct super_block *sb)
1936 static void sb_freeze_unlock(struct super_block *sb, int level)
1942 static int wait_for_partially_frozen(struct super_block *sb)
1963 static inline int freeze_inc(struct super_block *sb, enum freeze_holder who)
1975 static inline int freeze_dec(struct super_block *sb, enum freeze_holder who)
1987 static inline bool may_freeze(struct super_block *sb, enum freeze_holder who)
2056 int freeze_super(struct super_block *sb, enum freeze_holder who)
2151 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who)
2212 int thaw_super(struct super_block *sb, enum freeze_holder who)
2228 int sb_init_dio_done_wq(struct super_block *sb)