Lines Matching refs:super_block
58 struct super_block *sb; in super_cache_scan()
65 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
115 struct super_block *sb; in super_cache_count()
118 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
144 static void destroy_super(struct super_block *s) in destroy_super()
166 static struct super_block *alloc_super(struct file_system_type *type, int flags) in alloc_super()
168 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
246 static void __put_super(struct super_block *sb) in __put_super()
261 static void put_super(struct super_block *sb) in put_super()
280 void deactivate_locked_super(struct super_block *s) in deactivate_locked_super()
313 void deactivate_super(struct super_block *s) in deactivate_super()
336 static int grab_super(struct super_block *s) __releases(sb_lock) in grab_super()
367 bool trylock_super(struct super_block *sb) in trylock_super()
393 void generic_shutdown_super(struct super_block *sb) in generic_shutdown_super()
437 struct super_block *sget(struct file_system_type *type, in sget()
438 int (*test)(struct super_block *,void *), in sget() argument
439 int (*set)(struct super_block *,void *), in sget() argument
443 struct super_block *s = NULL; in sget()
444 struct super_block *old; in sget()
490 void drop_super(struct super_block *sb) in drop_super()
506 void iterate_supers(void (*f)(struct super_block *, void *), void *arg) in iterate_supers() argument
508 struct super_block *sb, *p = NULL; in iterate_supers()
542 void (*f)(struct super_block *, void *), void *arg) in iterate_supers_type() argument
544 struct super_block *sb, *p = NULL; in iterate_supers_type()
576 struct super_block *get_super(struct block_device *bdev) in get_super()
578 struct super_block *sb; in get_super()
617 struct super_block *get_super_thawed(struct block_device *bdev) in get_super_thawed()
620 struct super_block *s = get_super(bdev); in get_super_thawed()
639 struct super_block *get_active_super(struct block_device *bdev) in get_active_super()
641 struct super_block *sb; in get_active_super()
662 struct super_block *user_get_super(dev_t dev) in user_get_super()
664 struct super_block *sb; in user_get_super()
698 int do_remount_sb(struct super_block *sb, int flags, void *data, int force) in do_remount_sb()
774 struct super_block *sb, *p = NULL; in do_emergency_remount()
869 int set_anon_super(struct super_block *s, void *data) in set_anon_super()
876 void kill_anon_super(struct super_block *sb) in kill_anon_super()
885 void kill_litter_super(struct super_block *sb) in kill_litter_super()
894 static int ns_test_super(struct super_block *sb, void *data) in ns_test_super()
899 static int ns_set_super(struct super_block *sb, void *data) in ns_set_super()
906 void *data, int (*fill_super)(struct super_block *, void *, int)) in mount_ns() argument
908 struct super_block *sb; in mount_ns()
931 static int set_bdev_super(struct super_block *s, void *data) in set_bdev_super()
944 static int test_bdev_super(struct super_block *s, void *data) in test_bdev_super()
951 int (*fill_super)(struct super_block *, void *, int)) in mount_bdev() argument
954 struct super_block *s; in mount_bdev()
1026 void kill_block_super(struct super_block *sb) in kill_block_super()
1043 int (*fill_super)(struct super_block *, void *, int)) in mount_nodev() argument
1046 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL); in mount_nodev()
1061 static int compare_single(struct super_block *s, void *p) in compare_single()
1068 int (*fill_super)(struct super_block *, void *, int)) in mount_single() argument
1070 struct super_block *s; in mount_single()
1094 struct super_block *sb; in mount_fs()
1147 void __sb_end_write(struct super_block *sb, int level) in __sb_end_write()
1171 static void acquire_freeze_lock(struct super_block *sb, int level, bool trylock, in acquire_freeze_lock()
1191 int __sb_start_write(struct super_block *sb, int level, bool wait) in __sb_start_write()
1228 static void sb_wait_write(struct super_block *sb, int level) in sb_wait_write()
1290 int freeze_super(struct super_block *sb) in freeze_super()
1365 int thaw_super(struct super_block *sb) in thaw_super()