Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/mm/
A Dgup_longterm.c50 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
150 if (rw && shared && fs_is_unknown(fs_type)) { in do_test()
160 fs_supports_writable_longterm_pinning(fs_type); in do_test()
195 if (shared && fs_is_unknown(fs_type)) { in do_test()
200 fs_supports_writable_longterm_pinning(fs_type); in do_test()
/linux/fs/
A Dfs_context.c159 fc->fs_type->name, param->key); in vfs_parse_fs_param()
292 fc->fs_type = get_filesystem(fs_type); in alloc_fs_context()
295 fc->log.prefix = fs_type->name; in alloc_fs_context()
314 init_fs_context = fc->fs_type->init_fs_context; in alloc_fs_context()
332 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount()
406 get_filesystem(fc->fs_type); in vfs_dup_fs_context()
527 put_filesystem(fc->fs_type); in put_fs_context()
648 if (fc->fs_type->fs_flags & FS_BINARY_MOUNTDATA) in legacy_parse_monolithic()
662 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree()
759 if (fc->fs_type->init_fs_context) in finish_clean_context()
[all …]
A Dfsopen.c103 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log()
116 struct file_system_type *fs_type; in SYSCALL_DEFINE2() local
131 fs_type = get_fs_type(fs_name); in SYSCALL_DEFINE2()
133 if (!fs_type) in SYSCALL_DEFINE2()
136 fc = fs_context_for_mount(fs_type, 0); in SYSCALL_DEFINE2()
137 put_filesystem(fs_type); in SYSCALL_DEFINE2()
A Dsuper.c692 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable()
753 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc()
760 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
775 s->s_type = fc->fs_type; in sget_fc()
1668 struct dentry *mount_bdev(struct file_system_type *fs_type, in mount_bdev() argument
1681 s = sget(fs_type, test_bdev_super, set_bdev_super, flags, &dev); in mount_bdev()
1720 struct dentry *mount_nodev(struct file_system_type *fs_type, in mount_nodev() argument
1770 struct dentry *mount_single(struct file_system_type *fs_type, in mount_single() argument
1777 s = sget(fs_type, compare_single, set_anon_super, flags, NULL); in mount_single()
1820 fc->fs_type->name, error); in vfs_get_tree()
[all …]
/linux/security/
A Dinode.c69 static struct file_system_type fs_type = { variable
121 error = simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_create_dentry()
335 simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_recursive_remove()
364 retval = register_filesystem(&fs_type); in securityfs_init()
/linux/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test.c431 const char *fs_type; in test_statmount_fs_type() local
440 fs_type = sm->str + sm->fs_type; in test_statmount_fs_type()
442 if (strcmp(fs_type, *s) == 0) in test_statmount_fs_type()
446 ksft_print_msg("unknown filesystem type: %s\n", fs_type); in test_statmount_fs_type()
671 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type"); in main()
674 test_statmount_string(all_mask, str_off(fs_type), "fs type & all"); in main()
/linux/include/linux/
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/
A Dmsdos_fs.h134 __u8 fs_type[8]; /* file system type */ member
157 __u8 fs_type[8]; /* file system type */ member
A Dmount.h163 __u32 fs_type; /* [str] Filesystem type */ member
/linux/fs/9p/
A Dvfs_super.c106 static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags, in v9fs_mount() argument
128 sb = sget(fs_type, NULL, v9fs_set_super, flags, v9ses); in v9fs_mount()
/linux/fs/sysv/
A Dsuper.c531 static struct dentry *sysv_mount(struct file_system_type *fs_type, in sysv_mount() argument
534 return mount_bdev(fs_type, flags, dev_name, data, sysv_fill_super); in sysv_mount()
537 static struct dentry *v7_mount(struct file_system_type *fs_type, in v7_mount() argument
540 return mount_bdev(fs_type, flags, dev_name, data, v7_fill_super); in v7_mount()
/linux/tools/perf/trace/beauty/include/uapi/linux/
A Dmount.h163 __u32 fs_type; /* [str] Filesystem type */ member
/linux/security/tomoyo/
A Dfile.c970 tomoyo_same_name_union(&p1->fs_type, &p2->fs_type) && in tomoyo_same_mount_acl()
990 !tomoyo_parse_name_union(param, &e.fs_type) || in tomoyo_update_mount_acl()
998 tomoyo_put_name_union(&e.fs_type); in tomoyo_update_mount_acl()
A Dmount.c56 &acl->fs_type) && in tomoyo_check_mount_acl()
/linux/fs/pstore/
A Dinode.c441 static struct dentry *pstore_mount(struct file_system_type *fs_type, in pstore_mount() argument
444 return mount_single(fs_type, flags, data, pstore_fill_super); in pstore_mount()
/linux/fs/hfs/
A Dsuper.c454 static struct dentry *hfs_mount(struct file_system_type *fs_type, in hfs_mount() argument
457 return mount_bdev(fs_type, flags, dev_name, data, hfs_fill_super); in hfs_mount()
/linux/Documentation/filesystems/
A Dmount_api.rst69 struct file_system_type *fs_type;
98 struct file_system_type *fs_type
407 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type,
413 fs_type->init_fs_context() to initialise the filesystem private data.
415 fs_type specifies the filesystem type that will manage the context and
433 struct file_system_type *fs_type,
437 an automount point or other derived superblock. fs_type specifies the
443 filesystem type as fs_type.
/linux/fs/adfs/
A Dsuper.c456 static struct dentry *adfs_mount(struct file_system_type *fs_type, in adfs_mount() argument
459 return mount_bdev(fs_type, flags, dev_name, data, adfs_fill_super); in adfs_mount()
/linux/fs/smb/client/
A Dcifsfs.h141 extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
A Dmisc.c1130 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super() local
1134 for (; *fs_type; fs_type++) { in __cifs_get_super()
1135 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
/linux/fs/devpts/
A Dinode.c483 static struct dentry *devpts_mount(struct file_system_type *fs_type, in devpts_mount() argument
486 return mount_nodev(fs_type, flags, data, devpts_fill_super); in devpts_mount()
/linux/fs/ocfs2/dlmfs/
A Ddlmfs.c559 static struct dentry *dlmfs_mount(struct file_system_type *fs_type, in dlmfs_mount() argument
562 return mount_nodev(fs_type, flags, data, dlmfs_fill_super); in dlmfs_mount()
/linux/fs/nfs/
A Dfs_context.c1383 if (fc->fs_type == &nfs_fs_type) in nfs_fs_context_parse_monolithic()
1387 if (fc->fs_type == &nfs4_fs_type) in nfs_fs_context_parse_monolithic()
1479 if (fc->fs_type != ctx->nfs_mod->nfs_fs) { in nfs_fs_context_validate()
1480 module_put(fc->fs_type->owner); in nfs_fs_context_validate()
1482 fc->fs_type = ctx->nfs_mod->nfs_fs; in nfs_fs_context_validate()
/linux/fs/bfs/
A Dinode.c449 static struct dentry *bfs_mount(struct file_system_type *fs_type, in bfs_mount() argument
452 return mount_bdev(fs_type, flags, dev_name, data, bfs_fill_super); in bfs_mount()
/linux/fs/ecryptfs/
A Dmain.c462 static struct dentry *ecryptfs_mount(struct file_system_type *fs_type, int flags, in ecryptfs_mount() argument
494 s = sget(fs_type, NULL, set_anon_super, flags, NULL); in ecryptfs_mount()

Completed in 1862 milliseconds

123