Home
last modified time | relevance | path

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

/Linux-v5.4/security/tomoyo/
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-v5.4/scripts/selinux/mdp/
Dmdp.c134 #define FS_USE(behavior, fstype) \ in main() argument
136 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main()
208 #define GENFSCON(fstype, prefix) \ in main() argument
210 fstype, prefix, mls ? ":" SYSTEMLOW : "") in main()
/Linux-v5.4/drivers/staging/wlan-ng/
Dp80211hdr.h177 static inline u16 wlan_ctl_framelen(u16 fstype) in wlan_ctl_framelen() argument
179 switch (fstype) { in wlan_ctl_framelen()
Dp80211netdev.c925 u16 fstype; in p80211_rx_typedrop() local
929 fstype = WLAN_GET_FC_FSTYPE(fc); in p80211_rx_typedrop()
939 switch (fstype) { in p80211_rx_typedrop()
1001 switch (fstype) { in p80211_rx_typedrop()
1037 switch (fstype) { in p80211_rx_typedrop()
/Linux-v5.4/tools/bpf/bpftool/
Dtracelog.c66 const char *fstype = "tracefs"; in get_tracefs_pipe() local
84 if (strcmp(type, fstype) == 0) { in get_tracefs_pipe()
/Linux-v5.4/security/apparmor/
Dmount.c516 struct file_system_type *fstype; in aa_new_mount() local
518 fstype = get_fs_type(type); in aa_new_mount()
519 if (!fstype) in aa_new_mount()
521 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount()
522 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount()
523 put_filesystem(fstype); in aa_new_mount()
/Linux-v5.4/tools/testing/selftests/mount/
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-v5.4/scripts/gdb/linux/
Dproc.py188 fstype = superblock['s_type']['name'].string()
197 fstype,
/Linux-v5.4/security/selinux/ss/
Dpolicydb.c800 kfree(g->fstype); in policydb_destroy()
1981 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read()
1988 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
1990 newgenfs->fstype); in genfs_read()
1993 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2040 genfs->fstype, c->u.name); in genfs_read()
2060 kfree(newgenfs->fstype); in genfs_read()
3221 len = strlen(genfs->fstype); in genfs_write()
3226 rc = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
Dpolicydb.h206 char *fstype; member
Dservices.c2669 const char *fstype, in __security_genfs_sid() argument
2689 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid()
2732 const char *fstype, in security_genfs_sid() argument
2740 retval = __security_genfs_sid(state, fstype, path, orig_sclass, sid); in security_genfs_sid()
2756 const char *fstype = sb->s_type->name; in security_fs_use() local
2765 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()
2780 rc = __security_genfs_sid(state, fstype, "/", SECCLASS_DIR, in security_fs_use()
/Linux-v5.4/security/selinux/include/
Dsecurity.h335 const char *fstype, char *name, u16 sclass,
/Linux-v5.4/fs/
Dnamespace.c2781 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
2789 if (!fstype) in do_new_mount()
2792 type = get_fs_type(fstype); in do_new_mount()
2797 subtype = strchr(fstype, '.'); in do_new_mount()