Home
last modified time | relevance | path

Searched refs:fs_type (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dgup_longterm.c51 static bool fs_is_unknown(__fsword_t fs_type) in fs_is_unknown()
58 switch (fs_type) { in fs_is_unknown()
70 static bool fs_supports_writable_longterm_pinning(__fsword_t fs_type) in fs_supports_writable_longterm_pinning()
72 assert(!fs_is_unknown(fs_type)); in fs_supports_writable_longterm_pinning()
73 switch (fs_type) { in fs_supports_writable_longterm_pinning()
94 __fsword_t fs_type = get_fs_type(fd); in do_test()
180 if (rw && shared && fs_is_unknown(fs_type)) { in do_test()
191 fs_supports_writable_longterm_pinning(fs_type); in do_test()
236 if (shared && fs_is_unknown(fs_type)) { in do_test()
242 fs_supports_writable_longterm_pinning(fs_type); in do_test()
50 fs_is_unknown(__fsword_t fs_type) fs_is_unknown() argument
69 fs_supports_writable_longterm_pinning(__fsword_t fs_type) fs_supports_writable_longterm_pinning() argument
93 __fsword_t fs_type = get_fs_type(fd); do_test() local
[all...]
H A Dmemory-failure.c284 int fs_type; in TEST_F()
289 fs_type = get_fs_type(fd); in TEST_F()
290 if (!fs_type || fs_type == TMPFS_MAGIC) in TEST_F()
291 SKIP(return, "unsupported filesystem :%x\n", fs_type); in TEST_F()
324 int fs_type; in TEST_F()
329 fs_type = get_fs_type(fd); in TEST_F()
330 if (!fs_type || fs_type == TMPFS_MAGIC) in TEST_F()
331 SKIP(return, "unsupported filesystem :%x\n", fs_type); in TEST_F()
281 int fs_type; TEST_F() local
323 int fs_type; TEST_F() local
[all...]
/linux/fs/
H A Dfsopen.c109 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 Dsuper.c819 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable()
873 !(fc->fs_type->fs_flags & (FS_USERNS_MOUNT | FS_USERNS_DELEGATABLE))) { in sget_fc()
881 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc()
889 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
906 s->s_type = fc->fs_type; in sget_fc()
1953 fc->fs_type->name, error); in vfs_get_tree()
1985 "negative value (%lld)\n", fc->fs_type->name, sb->s_maxbytes); in vfs_get_tree()
/linux/security/
H A Dinode.c71 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 Dstatmount_test.c411 const char *fs_type; in test_statmount_mnt_root()
424 fs_type = sm->str + sm->fs_type; in test_statmount_mnt_root()
426 if (strcmp(fs_type, *s) == 0) in test_statmount_mnt_root()
430 ksft_print_msg("unknown filesystem type: %s\n", fs_type); in test_statmount_mnt_root()
883 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type");
886 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 Dfs_context.h93 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 Dmsdos_fs.h134 __u8 fs_type[8]; /* file system type */ member
157 __u8 fs_type[8]; /* file system type */ member
/linux/tools/include/uapi/linux/
H A Dmount.h165 __u32 fs_type; /* [str] Filesystem type */
178 __u32 fs_subtype; /* [str] Subtype of fs_type (if any) */
223 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
163 __u32 fs_type; /* [str] Filesystem type */ global() member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h165 __u32 fs_type; /* [str] Filesystem type */ member
/linux/security/tomoyo/
H A Dfile.c975 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 Dmount.c57 &acl->fs_type) && in tomoyo_check_mount_acl()
H A Dgc.c201 tomoyo_put_name_union(&entry->fs_type); in tomoyo_del_acl()
H A Dcommon.h752 struct tomoyo_name_union fs_type; member
H A Dcommon.c1576 tomoyo_print_name_union(head, &ptr->fs_type); in tomoyo_print_entry()
/linux/fs/smb/client/
H A Dmisc.c906 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super() local
910 for (; *fs_type; fs_type++) { in __cifs_get_super()
911 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
/linux/samples/vfs/
H A Dmountinfo.c154 printf(" - %s", &buf->str[buf->fs_type]); in dump_mountinfo()
/linux/kernel/cgroup/
H A Dcgroup.c2261 if (fc->fs_type == &cgroup2_fs_type) in cgroup_do_get_tree()
2358 if (fc->fs_type == &cgroup2_fs_type) in cgroup_init_fs_context()
2465 put_filesystem(fc->fs_type); in cpuset_init_fs_context()
2466 fc->fs_type = &cgroup_fs_type; in cpuset_init_fs_context()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2715 enum fs_flow_table_type fs_type; in __parse_cls_flower() local
2722 fs_type = mlx5e_is_eswitch_flow(flow) ? FS_FT_FDB : FS_FT_NIC_RX; in __parse_cls_flower()
2840 fs_type)) { in __parse_cls_flower()
2864 fs_type)) { in __parse_cls_flower()