Searched refs:fs_type (Results 1 - 25 of 60) sorted by relevance

123

/linux-master/tools/testing/selftests/mm/
H A Dgup_longterm.c50 static bool fs_is_unknown(__fsword_t fs_type) argument
57 switch (fs_type) {
69 static bool fs_supports_writable_longterm_pinning(__fsword_t fs_type) argument
71 assert(!fs_is_unknown(fs_type));
72 switch (fs_type) {
93 __fsword_t fs_type = get_fs_type(fd); local
143 if (rw && shared && fs_is_unknown(fs_type)) {
153 fs_supports_writable_longterm_pinning(fs_type);
188 if (shared && fs_is_unknown(fs_type)) {
193 fs_supports_writable_longterm_pinning(fs_type);
[all...]
/linux-master/fs/
H A Dfs_context.c159 fc->fs_type->name, param->key);
264 * @fs_type: The filesystem type.
275 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, argument
292 fc->fs_type = get_filesystem(fs_type);
295 fc->log.prefix = fs_type->name;
314 init_fs_context = fc->fs_type->init_fs_context;
329 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, argument
332 return alloc_fs_context(fs_type, NULL, sb_flags, 0,
406 get_filesystem(fc->fs_type);
[all...]
H A Dfsopen.c104 fc->log.log->owner = fc->fs_type->owner;
117 struct file_system_type *fs_type; local
132 fs_type = get_fs_type(fs_name);
134 if (!fs_type)
137 fc = fs_context_for_mount(fs_type, 0);
138 put_filesystem(fs_type);
H A Dsuper.c691 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT))
741 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) {
748 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns);
763 s->s_type = fc->fs_type;
1633 struct dentry *mount_bdev(struct file_system_type *fs_type, argument
1646 s = sget(fs_type, test_bdev_super, set_bdev_super, flags, &dev);
1685 struct dentry *mount_nodev(struct file_system_type *fs_type, argument
1690 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL);
1735 struct dentry *mount_single(struct file_system_type *fs_type, argument
1742 s = sget(fs_type, compare_singl
[all...]
/linux-master/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c443 const char *fs_type; local
452 fs_type = sm->str + sm->fs_type;
454 if (strcmp(fs_type, *s) == 0)
458 ksft_print_msg("unknown filesystem type: %s\n", fs_type);
600 test_statmount_string(STATMOUNT_FS_TYPE, str_off(fs_type), "fs type");
603 test_statmount_string(all_mask, str_off(fs_type), "fs type & all");
/linux-master/include/uapi/linux/
H A Dmsdos_fs.h134 __u8 fs_type[8]; /* file system type */ member in struct:fat_boot_sector::__anon13013::__anon13014
157 __u8 fs_type[8]; /* file system type */ member in struct:fat_boot_sector::__anon13013::__anon13015
H A Dmount.h163 __u32 fs_type; /* [str] Filesystem type */ member in struct:statmount
204 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
/linux-master/include/linux/
H A Dfs_context.h93 struct file_system_type *fs_type; member in struct:fs_context
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-master/security/
H A Dinode.c69 static struct file_system_type fs_type = { variable in typeref:struct:file_system_type
121 error = simple_pin_fs(&fs_type, &mount, &mount_count);
339 retval = register_filesystem(&fs_type);
/linux-master/tools/include/uapi/linux/
H A Dmount.h163 __u32 fs_type; /* [str] Filesystem type */ member in struct:statmount
204 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
/linux-master/fs/freevxfs/
H A Dvxfs_super.c287 static struct dentry *vxfs_mount(struct file_system_type *fs_type, argument
290 return mount_bdev(fs_type, flags, dev_name, data, vxfs_fill_super);
/linux-master/fs/9p/
H A Dvfs_super.c99 * @fs_type: file system type
106 static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags, argument
128 sb = sget(fs_type, NULL, v9fs_set_super, flags, v9ses);
/linux-master/fs/sysv/
H A Dsuper.c531 static struct dentry *sysv_mount(struct file_system_type *fs_type, argument
534 return mount_bdev(fs_type, flags, dev_name, data, sysv_fill_super);
537 static struct dentry *v7_mount(struct file_system_type *fs_type, argument
540 return mount_bdev(fs_type, flags, dev_name, data, v7_fill_super);
/linux-master/fs/hfs/
H A Dsuper.c453 static struct dentry *hfs_mount(struct file_system_type *fs_type, argument
456 return mount_bdev(fs_type, flags, dev_name, data, hfs_fill_super);
/linux-master/fs/devpts/
H A Dinode.c483 static struct dentry *devpts_mount(struct file_system_type *fs_type, argument
486 return mount_nodev(fs_type, flags, data, devpts_fill_super);
/linux-master/fs/pstore/
H A Dinode.c441 static struct dentry *pstore_mount(struct file_system_type *fs_type, argument
444 return mount_single(fs_type, flags, data, pstore_fill_super);
/linux-master/fs/adfs/
H A Dsuper.c456 static struct dentry *adfs_mount(struct file_system_type *fs_type, argument
459 return mount_bdev(fs_type, flags, dev_name, data, adfs_fill_super);
/linux-master/fs/ocfs2/dlmfs/
H A Ddlmfs.c559 static struct dentry *dlmfs_mount(struct file_system_type *fs_type, argument
562 return mount_nodev(fs_type, flags, data, dlmfs_fill_super);
/linux-master/security/tomoyo/
H A Dmount.c56 &acl->fs_type) &&
H A Dfile.c970 tomoyo_same_name_union(&p1->fs_type, &p2->fs_type) &&
990 !tomoyo_parse_name_union(param, &e.fs_type) ||
998 tomoyo_put_name_union(&e.fs_type);
/linux-master/fs/smb/client/
H A Dcifsfs.h147 extern struct dentry *cifs_smb3_do_mount(struct file_system_type *fs_type,
H A Dmisc.c1183 struct file_system_type **fs_type = (struct file_system_type *[]) { local
1187 for (; *fs_type; fs_type++) {
1188 iterate_supers_type(*fs_type, f, &sd);
/linux-master/fs/nfs/
H A Dfs_context.c1370 if (fc->fs_type == &nfs_fs_type)
1374 if (fc->fs_type == &nfs4_fs_type)
1465 /* Ensure the filesystem context has the correct fs_type */
1466 if (fc->fs_type != ctx->nfs_mod->nfs_fs) {
1467 module_put(fc->fs_type->owner);
1469 fc->fs_type = ctx->nfs_mod->nfs_fs;
/linux-master/fs/ecryptfs/
H A Dmain.c471 * @fs_type: The filesystem type that the superblock should belong to
476 static struct dentry *ecryptfs_mount(struct file_system_type *fs_type, int flags, argument
508 s = sget(fs_type, NULL, set_anon_super, flags, NULL);
/linux-master/fs/fat/
H A Dnamei_msdos.c658 static struct dentry *msdos_mount(struct file_system_type *fs_type, argument
662 return mount_bdev(fs_type, flags, dev_name, data, msdos_fill_super);

Completed in 305 milliseconds

123