Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmemory-failure.c308 int fs_type; in TEST_F()
313 fs_type = get_fs_type(fd); in TEST_F()
314 if (!fs_type || fs_type == TMPFS_MAGIC) { in TEST_F()
316 SKIP(return, "unsupported filesystem :%x\n", fs_type); in TEST_F()
350 int fs_type; in TEST_F()
355 fs_type = get_fs_type(fd); in TEST_F()
361 if (!fs_type || fs_type == TMPFS_MAGIC || in TEST_F()
362 (fs_type in TEST_F()
284 int fs_type; TEST_F() local
326 int fs_type; TEST_F() local
[all...]
H A Dgup_longterm.c50 static bool fs_is_unknown(__fsword_t fs_type)
57 switch (fs_type) { in fs_is_unknown()
69 static bool fs_supports_writable_longterm_pinning(__fsword_t fs_type)
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()
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()
51 fs_is_unknown(__fsword_t fs_type) fs_is_unknown() argument
70 fs_supports_writable_longterm_pinning(__fsword_t fs_type) fs_supports_writable_longterm_pinning() argument
94 __fsword_t fs_type = get_fs_type(fd); do_test() local
[all...]
/linux/fs/
H A Dfs_context.c145 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()
384 get_filesystem(fc->fs_type); in vfs_dup_fs_context()
509 put_filesystem(fc->fs_type); in put_fs_context()
563 error = fc->fs_type->init_fs_context(fc); in finish_clean_context()
H A Dfsopen.c110 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log()
123 struct file_system_type *fs_type; in SYSCALL_DEFINE2()
140 fs_type = get_fs_type(fs_name); in SYSCALL_DEFINE2()
142 if (!fs_type) in SYSCALL_DEFINE2()
145 fc = fs_context_for_mount(fs_type, 0); in SYSCALL_DEFINE2()
146 put_filesystem(fs_type); in SYSCALL_DEFINE2()
122 struct file_system_type *fs_type; SYSCALL_DEFINE2() local
H A Dsuper.c773 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in generic_shutdown_super()
827 !(fc->fs_type->fs_flags & (FS_USERNS_MOUNT | FS_USERNS_DELEGATABLE))) {
835 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) {
846 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
862 s->s_type = fc->fs_type; in sget_fc()
1887 fc->fs_type->name, error); in get_tree_bdev_flags()
1919 "negative value (%lld)\n", fc->fs_type->name, sb->s_maxbytes); in kill_block_super()
H A Dnamespace.c5766 offp = &sm->fs_type; in statmount_string()
/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.c412 const char *fs_type; in test_statmount_fs_type()
425 fs_type = sm->str + sm->fs_type; in test_statmount_fs_type()
427 if (strcmp(fs_type, *s) == 0) in test_statmount_fs_type()
431 ksft_print_msg("unknown filesystem type: %s\n", fs_type); in test_statmount_fs_type()
941 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type");
944 test_statmount_string(all_mask, str_off(fs_type), "fs type & all");
411 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
H A Dmount.h166 __u32 fs_type; /* [str] Filesystem 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/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/tools/testing/selftests/filesystems/open_tree_ns/
H A Dopen_tree_ns_test.c62 const char *fs_type = ""; in log_mount() local
67 fs_type = sm->str + sm->fs_type; in log_mount()
76 fs_type, mnt_root, mnt_point); in log_mount()
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h166 __u32 fs_type; /* [str] Filesystem type */
179 __u32 fs_subtype; /* [str] Subtype of fs_type (if any) */
224 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
165 __u32 fs_type; /* [str] Filesystem type */ global() member
/linux/fs/smb/client/
H A Dmisc.c923 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super()
927 for (; *fs_type; fs_type++) { in __cifs_get_super()
928 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
921 struct file_system_type **fs_type = (struct file_system_type *[]) { __cifs_get_super() local
/linux/samples/vfs/
H A Dmountinfo.c154 printf(" - %s", &buf->str[buf->fs_type]); in dump_mountinfo()
/linux/kernel/cgroup/
H A Dcgroup.c2268 if (fc->fs_type == &cgroup2_fs_type) in cgroup_do_get_tree()
2365 if (fc->fs_type == &cgroup2_fs_type) in cgroup_init_fs_context()
2472 put_filesystem(fc->fs_type);
2473 fc->fs_type = &cgroup_fs_type;
/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()
/linux/Documentation/filesystems/
H A Dporting.rst66 int foo_get_sb(struct file_system_type *fs_type,
69 return get_sb_bdev(fs_type, flags, dev_name, data, foo_fill_super,