Home
last modified time | relevance | path

Searched refs:fstype (Results 1 – 9 of 9) sorted by relevance

/linux/init/
H A Ddo_mounts.c333 static bool __init fs_is_nodev(char *fstype) in fs_is_nodev() argument
335 struct file_system_type *fs = get_fs_type(fstype); in fs_is_nodev()
348 char *fs_names, *fstype; in mount_nodev_root() local
357 for (i = 0, fstype = fs_names; i < num_fs; in mount_nodev_root()
358 i++, fstype += strlen(fstype) + 1) { in mount_nodev_root()
359 if (!*fstype) in mount_nodev_root()
361 if (!fs_is_nodev(fstype)) in mount_nodev_root()
363 err = do_mount_root(root_device_name, fstype, root_mountflags, in mount_nodev_root()
/linux/security/tomoyo/
H A Dmount.c84 struct file_system_type *fstype = NULL; in tomoyo_mount_acl() local
125 fstype = get_fs_type(type); in tomoyo_mount_acl()
126 if (!fstype) { in tomoyo_mount_acl()
130 if (fstype->fs_flags & FS_REQUIRES_DEV) in tomoyo_mount_acl()
171 if (fstype) in tomoyo_mount_acl()
172 put_filesystem(fstype); in tomoyo_mount_acl()
/linux/tools/bpf/bpftool/
H A Dtracelog.c66 const char *fstype = "tracefs"; in get_tracefs_pipe() local
84 if (strcmp(type, fstype) == 0) { in get_tracefs_pipe()
/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c182 bool test_unpriv_remount(const char *fstype, const char *mount_options, in test_unpriv_remount() argument
216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
218 fstype, in test_unpriv_remount()
/linux/security/apparmor/
H A Dmount.c552 struct file_system_type *fstype; in aa_new_mount() local
554 fstype = get_fs_type(type); in aa_new_mount()
555 if (!fstype) in aa_new_mount()
557 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount()
558 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount()
559 put_filesystem(fstype); in aa_new_mount()
/linux/scripts/gdb/linux/
H A Dproc.py193 fstype = superblock['s_type']['name'].string()
200 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
/linux/security/selinux/include/
H A Dsecurity.h339 int security_genfs_sid(const char *fstype, const char *path, u16 sclass,
342 int selinux_policy_genfs_sid(struct selinux_policy *policy, const char *fstype,
/linux/security/selinux/ss/
H A Dservices.c2855 const char *fstype, in __security_genfs_sid() argument
2874 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid()
2905 int security_genfs_sid(const char *fstype, in security_genfs_sid() argument
2921 retval = __security_genfs_sid(policy, fstype, path, in security_genfs_sid()
2929 const char *fstype, in selinux_policy_genfs_sid() argument
2935 return __security_genfs_sid(policy, fstype, path, orig_sclass, sid); in selinux_policy_genfs_sid()
2950 const char *fstype = sb->s_type->name; in security_fs_use() local
2966 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()
2981 rc = __security_genfs_sid(policy, fstype, "/", in security_fs_use()
/linux/fs/
H A Dnamespace.c3513 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
3521 if (!fstype) in do_new_mount()
3524 type = get_fs_type(fstype); in do_new_mount()
3529 subtype = strchr(fstype, '.'); in do_new_mount()