/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 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() [all...] |
/linux/fs/ |
H A D | fs_context.c | 159 fc->fs_type->name, param->key); in vfs_parse_fs_param() 275 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, in alloc_fs_context() argument 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() 329 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, in fs_context_for_mount() argument 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() [all …]
|
H A D | fsopen.c | 103 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 D | super.c | 692 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() 1770 struct dentry *mount_single(struct file_system_type *fs_type, in mount_single() argument [all …]
|
/linux/security/ |
H A D | inode.c | 69 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/ |
H A D | statmount_test.c | 431 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/ |
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
|
/linux/fs/sysv/ |
H A D | super.c | 531 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/fs/9p/ |
H A D | vfs_super.c | 106 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/tools/include/uapi/linux/ |
H A D | mount.h |
|
/linux/tools/perf/trace/beauty/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) */ 213 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
|
/linux/security/tomoyo/ |
H A D | file.c | 970 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 D | mount.c | 56 &acl->fs_type) && in tomoyo_check_mount_acl()
|
H A D | gc.c | 202 tomoyo_put_name_union(&entry->fs_type); in tomoyo_del_acl()
|
/linux/fs/pstore/ |
H A D | inode.c | 441 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/nfs/ |
H A D | fs_context.c | 1383 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/ocfs2/dlmfs/ |
H A D | dlmfs.c | 559 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/devpts/ |
H A D | inode.c | 483 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/smb/client/ |
H A D | cifsfs.h | 141 extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
|
H A D | misc.c | 1130 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/bfs/ |
H A D | inode.c | 449 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/omfs/ |
H A D | inode.c | 597 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/drivers/base/ |
H A D | devtmpfs.c | 66 static struct dentry *public_dev_mount(struct file_system_type *fs_type, int flags, in public_dev_mount() argument
|
/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 66 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()
|