Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/tomoyo/
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-6.3-rc2/init/
A Ddo_mounts.c526 static bool __init fs_is_nodev(char *fstype) in fs_is_nodev() argument
528 struct file_system_type *fs = get_fs_type(fstype); in fs_is_nodev()
541 char *fs_names, *fstype; in mount_nodev_root() local
550 for (i = 0, fstype = fs_names; i < num_fs; in mount_nodev_root()
551 i++, fstype += strlen(fstype) + 1) { in mount_nodev_root()
552 if (!*fstype) in mount_nodev_root()
554 if (!fs_is_nodev(fstype)) in mount_nodev_root()
556 err = do_mount_root(root_device_name, fstype, root_mountflags, in mount_nodev_root()
/linux-6.3-rc2/scripts/selinux/mdp/
A Dmdp.c154 #define FS_USE(behavior, fstype) \ in main() argument
156 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main()
228 #define GENFSCON(fstype, prefix) \ in main() argument
230 fstype, prefix, mls ? ":" SYSTEMLOW : "") in main()
/linux-6.3-rc2/drivers/staging/wlan-ng/
A Dp80211hdr.h163 static inline u16 wlan_ctl_framelen(u16 fstype) in wlan_ctl_framelen() argument
165 switch (fstype) { in wlan_ctl_framelen()
A Dp80211netdev.c868 u16 fstype; in p80211_rx_typedrop() local
872 fstype = WLAN_GET_FC_FSTYPE(fc); in p80211_rx_typedrop()
882 switch (fstype) { in p80211_rx_typedrop()
931 switch (fstype) { in p80211_rx_typedrop()
959 switch (fstype) { in p80211_rx_typedrop()
/linux-6.3-rc2/tools/bpf/bpftool/
A Dtracelog.c66 const char *fstype = "tracefs"; in get_tracefs_pipe() local
84 if (strcmp(type, fstype) == 0) { in get_tracefs_pipe()
/linux-6.3-rc2/tools/testing/selftests/mount/
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-6.3-rc2/security/apparmor/
A Dmount.c520 struct file_system_type *fstype; in aa_new_mount() local
522 fstype = get_fs_type(type); in aa_new_mount()
523 if (!fstype) in aa_new_mount()
525 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount()
526 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount()
527 put_filesystem(fstype); in aa_new_mount()
/linux-6.3-rc2/scripts/gdb/linux/
A Dproc.py191 fstype = superblock['s_type']['name'].string()
198 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
/linux-6.3-rc2/security/selinux/include/
A Dsecurity.h400 const char *fstype, const char *path, u16 sclass,
404 const char *fstype, const char *path, u16 sclass,
/linux-6.3-rc2/security/selinux/ss/
A Dpolicydb.c817 kfree(g->fstype); in policydb_destroy()
2123 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read()
2130 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
2132 newgenfs->fstype); in genfs_read()
2135 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2182 genfs->fstype, c->u.name); in genfs_read()
2202 kfree(newgenfs->fstype); in genfs_read()
3397 len = strlen(genfs->fstype); in genfs_write()
3402 rc = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
A Dservices.c2868 const char *fstype, in __security_genfs_sid() argument
2888 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid()
2921 const char *fstype, in security_genfs_sid() argument
2937 retval = __security_genfs_sid(policy, fstype, path, in security_genfs_sid()
2945 const char *fstype, in selinux_policy_genfs_sid() argument
2951 return __security_genfs_sid(policy, fstype, path, orig_sclass, sid); in selinux_policy_genfs_sid()
2967 const char *fstype = sb->s_type->name; in security_fs_use() local
2983 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()
2998 rc = __security_genfs_sid(policy, fstype, "/", in security_fs_use()
A Dpolicydb.h210 char *fstype; member
/linux-6.3-rc2/fs/
A Dnamespace.c3001 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
3009 if (!fstype) in do_new_mount()
3012 type = get_fs_type(fstype); in do_new_mount()
3017 subtype = strchr(fstype, '.'); in do_new_mount()

Completed in 71 milliseconds