| /Linux-v6.6/tools/testing/selftests/mm/ |
| 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 143 if (rw && shared && fs_is_unknown(fs_type)) { in do_test() 153 fs_supports_writable_longterm_pinning(fs_type); in do_test() 188 if (shared && fs_is_unknown(fs_type)) { in do_test() 193 fs_supports_writable_longterm_pinning(fs_type); in do_test()
|
| /Linux-v6.6/fs/ |
| 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 …]
|
| D | fsopen.c | 104 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log() 117 struct file_system_type *fs_type; in SYSCALL_DEFINE2() local 132 fs_type = get_fs_type(fs_name); in SYSCALL_DEFINE2() 134 if (!fs_type) in SYSCALL_DEFINE2() 137 fc = fs_context_for_mount(fs_type, 0); in SYSCALL_DEFINE2() 138 put_filesystem(fs_type); in SYSCALL_DEFINE2()
|
| D | super.c | 737 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 787 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc() 794 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 809 s->s_type = fc->fs_type; in sget_fc() 1596 struct dentry *mount_bdev(struct file_system_type *fs_type, in mount_bdev() argument 1609 s = sget(fs_type, test_bdev_super, set_bdev_super, flags, &dev); in mount_bdev() 1656 struct dentry *mount_nodev(struct file_system_type *fs_type, in mount_nodev() argument 1661 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL); in mount_nodev() 1706 struct dentry *mount_single(struct file_system_type *fs_type, in mount_single() argument 1713 s = sget(fs_type, compare_single, set_anon_super, flags, NULL); in mount_single() [all …]
|
| /Linux-v6.6/fs/autofs/ |
| D | init.c | 10 static struct dentry *autofs_mount(struct file_system_type *fs_type, in autofs_mount() argument 13 return mount_nodev(fs_type, flags, data, autofs_fill_super); in autofs_mount()
|
| /Linux-v6.6/include/linux/ |
| 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-v6.6/security/ |
| 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() 339 retval = register_filesystem(&fs_type); in securityfs_init()
|
| /Linux-v6.6/include/uapi/linux/ |
| D | msdos_fs.h | 134 __u8 fs_type[8]; /* file system type */ member 157 __u8 fs_type[8]; /* file system type */ member
|
| /Linux-v6.6/fs/freevxfs/ |
| D | vxfs_super.c | 285 static struct dentry *vxfs_mount(struct file_system_type *fs_type, in vxfs_mount() argument 288 return mount_bdev(fs_type, flags, dev_name, data, vxfs_fill_super); in vxfs_mount()
|
| /Linux-v6.6/fs/sysv/ |
| 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-v6.6/fs/coda/ |
| D | inode.c | 318 static struct dentry *coda_mount(struct file_system_type *fs_type, in coda_mount() argument 321 return mount_nodev(fs_type, flags, data, coda_fill_super); in coda_mount()
|
| /Linux-v6.6/fs/9p/ |
| D | vfs_super.c | 106 static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags, in v9fs_mount() argument 129 sb = sget(fs_type, NULL, v9fs_set_super, flags, v9ses); in v9fs_mount()
|
| /Linux-v6.6/fs/efs/ |
| D | super.c | 25 static struct dentry *efs_mount(struct file_system_type *fs_type, in efs_mount() argument 28 return mount_bdev(fs_type, flags, dev_name, data, efs_fill_super); in efs_mount()
|
| /Linux-v6.6/security/tomoyo/ |
| 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()
|
| D | mount.c | 56 &acl->fs_type) && in tomoyo_check_mount_acl()
|
| /Linux-v6.6/fs/qnx4/ |
| D | inode.c | 381 static struct dentry *qnx4_mount(struct file_system_type *fs_type, in qnx4_mount() argument 384 return mount_bdev(fs_type, flags, dev_name, data, qnx4_fill_super); in qnx4_mount()
|
| /Linux-v6.6/fs/hfs/ |
| D | super.c | 453 static struct dentry *hfs_mount(struct file_system_type *fs_type, in hfs_mount() argument 456 return mount_bdev(fs_type, flags, dev_name, data, hfs_fill_super); in hfs_mount()
|
| /Linux-v6.6/Documentation/filesystems/ |
| D | mount_api.rst | 69 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-v6.6/fs/adfs/ |
| D | super.c | 456 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-v6.6/fs/pstore/ |
| D | inode.c | 462 static struct dentry *pstore_mount(struct file_system_type *fs_type, in pstore_mount() argument 465 return mount_single(fs_type, flags, data, pstore_fill_super); in pstore_mount()
|
| /Linux-v6.6/fs/ocfs2/dlmfs/ |
| D | dlmfs.c | 560 static struct dentry *dlmfs_mount(struct file_system_type *fs_type, in dlmfs_mount() argument 563 return mount_nodev(fs_type, flags, data, dlmfs_fill_super); in dlmfs_mount()
|
| /Linux-v6.6/fs/devpts/ |
| D | inode.c | 484 static struct dentry *devpts_mount(struct file_system_type *fs_type, in devpts_mount() argument 487 return mount_nodev(fs_type, flags, data, devpts_fill_super); in devpts_mount()
|
| /Linux-v6.6/fs/smb/client/ |
| D | misc.c | 1143 struct file_system_type **fs_type = (struct file_system_type *[]) { in __cifs_get_super() local 1147 for (; *fs_type; fs_type++) { in __cifs_get_super() 1148 iterate_supers_type(*fs_type, f, &sd); in __cifs_get_super()
|
| D | cifsfs.h | 147 extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
|
| /Linux-v6.6/fs/nfs/ |
| D | fs_context.c | 1369 if (fc->fs_type == &nfs_fs_type) in nfs_fs_context_parse_monolithic() 1373 if (fc->fs_type == &nfs4_fs_type) in nfs_fs_context_parse_monolithic() 1465 if (fc->fs_type != ctx->nfs_mod->nfs_fs) { in nfs_fs_context_validate() 1466 module_put(fc->fs_type->owner); in nfs_fs_context_validate() 1468 fc->fs_type = ctx->nfs_mod->nfs_fs; in nfs_fs_context_validate()
|