Lines Matching refs:fs
58 static void get_filesystem(struct file_system_type *fs) in get_filesystem() argument
60 if (fs->owner) in get_filesystem()
61 __MOD_INC_USE_COUNT(fs->owner); in get_filesystem()
64 static void put_filesystem(struct file_system_type *fs) in put_filesystem() argument
66 if (fs->owner) in put_filesystem()
67 __MOD_DEC_USE_COUNT(fs->owner); in put_filesystem()
92 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
97 if (!fs) in register_filesystem()
99 if (fs->next) in register_filesystem()
101 INIT_LIST_HEAD(&fs->fs_supers); in register_filesystem()
103 p = find_filesystem(fs->name); in register_filesystem()
107 *p = fs; in register_filesystem()
124 int unregister_filesystem(struct file_system_type * fs) in unregister_filesystem() argument
131 if (fs == *tmp) { in unregister_filesystem()
132 *tmp = fs->next; in unregister_filesystem()
133 fs->next = NULL; in unregister_filesystem()
241 struct file_system_type *fs; in get_fs_type() local
244 fs = *(find_filesystem(name)); in get_fs_type()
245 if (fs && !try_inc_mod_count(fs->owner)) in get_fs_type()
246 fs = NULL; in get_fs_type()
248 if (!fs && (request_module(name) == 0)) { in get_fs_type()
250 fs = *(find_filesystem(name)); in get_fs_type()
251 if (fs && !try_inc_mod_count(fs->owner)) in get_fs_type()
252 fs = NULL; in get_fs_type()
255 return fs; in get_fs_type()
401 struct file_system_type *fs = s->s_type; in remove_super() local
409 put_filesystem(fs); in remove_super()
830 struct file_system_type *fs = sb->s_type; in kill_super() local
839 if (fs->fs_flags & FS_LITTER) in kill_super()