Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/mm/
H 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
154 if (rw && shared && fs_is_unknown(fs_type)) { in do_test()
164 fs_supports_writable_longterm_pinning(fs_type); in do_test()
201 if (shared && fs_is_unknown(fs_type)) { in do_test()
206 fs_supports_writable_longterm_pinning(fs_type); in do_test()
/linux-6.15/fs/
H 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 …]
H 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()
H A Dsuper.c692 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable()
745 if (user_ns != &init_user_ns && !(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) { in sget_fc()
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
1725 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL); in mount_nodev()
1765 fc->fs_type->name, error); in vfs_get_tree()
[all …]
/linux-6.15/security/
H 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-6.15/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c438 const char *fs_type; in test_statmount_fs_type() local
451 fs_type = sm->str + sm->fs_type; in test_statmount_fs_type()
453 if (strcmp(fs_type, *s) == 0) in test_statmount_fs_type()
457 ksft_print_msg("unknown filesystem type: %s\n", fs_type); in test_statmount_fs_type()
690 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type"); in main()
693 test_statmount_string(all_mask, str_off(fs_type), "fs type & all"); in main()
/linux-6.15/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-6.15/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.h163 __u32 fs_type; /* [str] Filesystem type */ member
/linux-6.15/fs/9p/
H 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-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h163 __u32 fs_type; /* [str] Filesystem type */ member
/linux-6.15/samples/vfs/
H A Dsamples-vfs.h26 __u32 fs_type; /* [str] Filesystem type */ member
H A Dtest-list-all-mounts.c143 (stmnt->mask & STATMOUNT_FS_TYPE) ? stmnt->str + stmnt->fs_type : "", in main()
H A Dmountinfo.c154 printf(" - %s", &buf->str[buf->fs_type]); in dump_mountinfo()
/linux-6.15/security/tomoyo/
H 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()
H A Dmount.c56 &acl->fs_type) && in tomoyo_check_mount_acl()
H A Dgc.c202 tomoyo_put_name_union(&entry->fs_type); in tomoyo_del_acl()
H A Dcommon.h752 struct tomoyo_name_union fs_type; member
/linux-6.15/Documentation/filesystems/
H 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-6.15/fs/smb/client/
H A Dcifsfs.h140 extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
H A Dmisc.c1133 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super() local
1137 for (; *fs_type; fs_type++) { in __cifs_get_super()
1138 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
/linux-6.15/fs/nfs/
H A Dfs_context.c1443 if (fc->fs_type == &nfs_fs_type) in nfs_fs_context_parse_monolithic()
1447 if (fc->fs_type == &nfs4_fs_type) in nfs_fs_context_parse_monolithic()
1539 if (fc->fs_type != ctx->nfs_mod->nfs_fs) { in nfs_fs_context_validate()
1540 module_put(fc->fs_type->owner); in nfs_fs_context_validate()
1542 fc->fs_type = ctx->nfs_mod->nfs_fs; in nfs_fs_context_validate()
/linux-6.15/fs/bfs/
H 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-6.15/fs/omfs/
H A Dinode.c597 static struct dentry *omfs_mount(struct file_system_type *fs_type, in omfs_mount() argument
600 return mount_bdev(fs_type, flags, dev_name, data, omfs_fill_super); in omfs_mount()
/linux-6.15/drivers/scsi/libfc/
H A Dfc_encode.h66 enum fc_ct_fs_type fs_type, in fc_ct_hdr_fill() argument
76 ct->hdr.ct_fs_type = fs_type; in fc_ct_hdr_fill()

12