| /linux/tools/testing/selftests/mm/ |
| H A D | gup_longterm.c | 50 static bool fs_is_unknown(__fsword_t fs_type) in fs_is_unknown() argument 57 switch (fs_type) { in fs_is_unknown() 69 static bool fs_supports_writable_longterm_pinning(__fsword_t fs_type) in fs_supports_writable_longterm_pinning() argument 71 assert(!fs_is_unknown(fs_type)); in fs_supports_writable_longterm_pinning() 72 switch (fs_type) { in fs_supports_writable_longterm_pinning() 93 __fsword_t fs_type = get_fs_type(fd); in do_test() local 179 if (rw && shared && fs_is_unknown(fs_type)) { in do_test() 190 fs_supports_writable_longterm_pinning(fs_type); in do_test() 235 if (shared && fs_is_unknown(fs_type)) { in do_test() 241 fs_supports_writable_longterm_pinning(fs_type); in do_test()
|
| H A D | memory-failure.c | 281 int fs_type; in TEST_F() local 286 fs_type = get_fs_type(fd); in TEST_F() 287 if (!fs_type || fs_type == TMPFS_MAGIC) in TEST_F() 288 SKIP(return, "unsupported filesystem :%x\n", fs_type); in TEST_F() 323 int fs_type; in TEST_F() local 328 fs_type = get_fs_type(fd); in TEST_F() 329 if (!fs_type || fs_type == TMPFS_MAGIC) in TEST_F() 330 SKIP(return, "unsupported filesystem :%x\n", fs_type); in TEST_F()
|
| /linux/fs/ |
| H A D | fs_context.c | 145 fc->fs_type->name, param->key); in vfs_parse_fs_param() 258 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, in alloc_fs_context() argument 274 fc->fs_type = get_filesystem(fs_type); in alloc_fs_context() 277 fc->log.prefix = fs_type->name; in alloc_fs_context() 295 ret = fc->fs_type->init_fs_context(fc); in alloc_fs_context() 306 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, in fs_context_for_mount() argument 309 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 381 get_filesystem(fc->fs_type); in vfs_dup_fs_context() 506 put_filesystem(fc->fs_type); in put_fs_context() 560 error = fc->fs_type->init_fs_context(fc); in finish_clean_context()
|
| H A D | fsopen.c | 109 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log() 122 struct file_system_type *fs_type; in SYSCALL_DEFINE2() local 137 fs_type = get_fs_type(fs_name); in SYSCALL_DEFINE2() 139 if (!fs_type) in SYSCALL_DEFINE2() 142 fc = fs_context_for_mount(fs_type, 0); in SYSCALL_DEFINE2() 143 put_filesystem(fs_type); in SYSCALL_DEFINE2()
|
| H A D | super.c | 696 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 749 if (user_ns != &init_user_ns && !(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) { in sget_fc() 757 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc() 764 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 779 s->s_type = fc->fs_type; in sget_fc() 1760 fc->fs_type->name, error); in vfs_get_tree() 1792 "negative value (%lld)\n", fc->fs_type->name, sb->s_maxbytes); in vfs_get_tree()
|
| /linux/security/ |
| H A D | inode.c | 71 static struct file_system_type fs_type = { variable 125 error = simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_create_dentry() 304 simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_remove() 370 retval = register_filesystem(&fs_type); in securityfs_init()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 447 const char *fs_type; in test_statmount_fs_type() 460 fs_type = sm->str + sm->fs_type; in test_statmount_fs_type() 462 if (strcmp(fs_type, *s) == 0) 466 ksft_print_msg("unknown filesystem type: %s\n", fs_type); in test_statmount_mnt_opts() 919 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type"); 922 test_statmount_string(all_mask, str_off(fs_type), "fs type & all"); 438 const char *fs_type; test_statmount_fs_type() local
|
| /linux/include/linux/ |
| H A D | fs_context.h | 93 struct file_system_type *fs_type; member 127 extern struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, 132 extern struct fs_context *fs_context_for_submount(struct file_system_type *fs_type,
|
| /linux/include/uapi/linux/ |
| H A D | msdos_fs.h | 134 __u8 fs_type[8]; /* file system type */ member 157 __u8 fs_type[8]; /* file system type */ member
|
| H A D | mount.h | 164 __u32 fs_type; /* [str] Filesystem type */ 177 __u32 fs_subtype; /* [str] Subtype of fs_type (if any) */ 222 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */ 163 __u32 fs_type; /* [str] Filesystem type */ global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 163 __u32 fs_type; /* [str] Filesystem type */ member 176 __u32 fs_subtype; /* [str] Subtype of fs_type (if any) */ 218 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
|
| /linux/security/tomoyo/ |
| H A D | file.c | 975 tomoyo_same_name_union(&p1->fs_type, &p2->fs_type) && 995 !tomoyo_parse_name_union(param, &e.fs_type) || in tomoyo_update_mount_acl() 1003 tomoyo_put_name_union(&e.fs_type);
|
| H A D | mount.c | 57 &acl->fs_type) && in tomoyo_check_mount_acl()
|
| H A D | gc.c | 201 tomoyo_put_name_union(&entry->fs_type); in tomoyo_del_acl()
|
| H A D | common.h | 752 struct tomoyo_name_union fs_type; member
|
| /linux/fs/smb/client/ |
| H A D | misc.c | 874 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super() local 878 for (; *fs_type; fs_type++) { in __cifs_get_super() 879 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
|
| H A D | cifsfs.h | 142 struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type, int flags,
|
| H A D | cifsfs.c | 1004 cifs_smb3_do_mount(struct file_system_type *fs_type, in cifs_smb3_do_mount() argument 1056 sb = sget(fs_type, cifs_match_super, cifs_set_super, flags, &mnt_data); in cifs_smb3_do_mount()
|
| H A D | fs_context.c | 913 root = cifs_smb3_do_mount(fc->fs_type, 0, ctx); in smb3_get_tree_common() 1215 bool is_smb3 = !strcmp(fc->fs_type->name, "smb3"); in smb3_fs_context_parse_param()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 163 __u32 fs_type; /* [str] Filesystem type */ member
|
| /linux/fs/nfs/ |
| H A D | fs_context.c | 1485 if (fc->fs_type == &nfs_fs_type) in nfs_fs_context_parse_monolithic() 1489 if (fc->fs_type == &nfs4_fs_type) in nfs_fs_context_parse_monolithic() 1581 if (fc->fs_type != ctx->nfs_mod->nfs_fs) { in nfs_fs_context_validate() 1582 module_put(fc->fs_type->owner); in nfs_fs_context_validate() 1584 fc->fs_type = ctx->nfs_mod->nfs_fs; in nfs_fs_context_validate()
|
| /linux/samples/vfs/ |
| H A D | mountinfo.c | 154 printf(" - %s", &buf->str[buf->fs_type]); in dump_mountinfo()
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 2263 if (fc->fs_type == &cgroup2_fs_type) in cgroup_do_get_tree() 2360 if (fc->fs_type == &cgroup2_fs_type) in cgroup_init_fs_context() 2467 put_filesystem(fc->fs_type); in cpuset_init_fs_context() 2468 fc->fs_type = &cgroup_fs_type; in cpuset_init_fs_context()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tc.c | 2718 enum fs_flow_table_type fs_type; in __parse_cls_flower() local 2725 fs_type = mlx5e_is_eswitch_flow(flow) ? FS_FT_FDB : FS_FT_NIC_RX; in __parse_cls_flower() 2843 fs_type)) { in __parse_cls_flower() 2867 fs_type)) { in __parse_cls_flower()
|
| /linux/fs/gfs2/ |
| H A D | ops_fstype.c | 1688 fc->fs_type = &gfs2_fs_type; in gfs2_meta_get_tree()
|