/kernel/linux/linux-6.6/init/ |
H A D | do_mounts.c | 331 static bool __init fs_is_nodev(char *fstype) in fs_is_nodev() argument 333 struct file_system_type *fs = get_fs_type(fstype); in fs_is_nodev() 346 char *fs_names, *fstype; in mount_nodev_root() local 355 for (i = 0, fstype = fs_names; i < num_fs; in mount_nodev_root() 356 i++, fstype += strlen(fstype) + 1) { in mount_nodev_root() 357 if (!*fstype) in mount_nodev_root() 359 if (!fs_is_nodev(fstype)) in mount_nodev_root() 361 err = do_mount_root(root_device_name, fstype, root_mountflags, in mount_nodev_root()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | mount.c | 84 struct file_system_type *fstype = NULL; in tomoyo_mount_acl() local 96 /* Get fstype. */ in tomoyo_mount_acl() 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()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | mount.c | 84 struct file_system_type *fstype = NULL; in tomoyo_mount_acl() local 96 /* Get fstype. */ in tomoyo_mount_acl() 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()
|
/kernel/linux/linux-5.10/scripts/selinux/mdp/ |
H A D | mdp.c | 154 #define FS_USE(behavior, fstype) \ in main() 156 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main() 228 #define GENFSCON(fstype, prefix) \ in main() 230 fstype, prefix, mls ? ":" SYSTEMLOW : "") in main()
|
/kernel/linux/linux-6.6/scripts/selinux/mdp/ |
H A D | mdp.c | 154 #define FS_USE(behavior, fstype) \ in main() 156 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main() 228 #define GENFSCON(fstype, prefix) \ in main() 230 fstype, prefix, mls ? ":" SYSTEMLOW : "") in main()
|
/kernel/liteos_a/fs/rootfs/ |
H A D | los_rootfs.c | 159 STATIC INT32 ParseRootArgs(CHAR **dev, CHAR **fstype, UINT64 *rootAddr, UINT64 *rootSize, UINT32 *mountFlags)
in ParseRootArgs() argument 172 ret = LOS_GetArgValue("fstype", fstype);
in ParseRootArgs() 174 PRINT_ERR("Cannot find fstype!");
in ParseRootArgs() 330 CHAR *fstype = NULL;
in OsMountRootfs() local 337 ret = ParseRootArgs(&dev, &fstype, &rootAddr, &rootSize, &mountFlags);
in OsMountRootfs() 357 ret = MountPartitions(fstype, mountFlags);
in OsMountRootfs()
|
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | p80211netdev.c | 847 u16 fstype; in p80211_rx_typedrop() local 851 fstype = WLAN_GET_FC_FSTYPE(fc); in p80211_rx_typedrop() 861 switch (fstype) { in p80211_rx_typedrop() 910 switch (fstype) { in p80211_rx_typedrop() 938 switch (fstype) { in p80211_rx_typedrop()
|
H A D | p80211hdr.h | 142 static inline u16 wlan_ctl_framelen(u16 fstype) in wlan_ctl_framelen() argument 144 switch (fstype) { in wlan_ctl_framelen()
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | p80211hdr.h | 177 static inline u16 wlan_ctl_framelen(u16 fstype) in wlan_ctl_framelen() argument 179 switch (fstype) { in wlan_ctl_framelen()
|
H A D | p80211netdev.c | 924 u16 fstype; in p80211_rx_typedrop() local 928 fstype = WLAN_GET_FC_FSTYPE(fc); in p80211_rx_typedrop() 938 switch (fstype) { in p80211_rx_typedrop() 1000 switch (fstype) { in p80211_rx_typedrop() 1036 switch (fstype) { in p80211_rx_typedrop()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | tracelog.c | 66 const char *fstype = "tracefs"; in get_tracefs_pipe() local 84 if (strcmp(type, fstype) == 0) { in get_tracefs_pipe()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | tracelog.c | 66 const char *fstype = "tracefs"; in get_tracefs_pipe() local 84 if (strcmp(type, fstype) == 0) { in get_tracefs_pipe()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | mount.c | 91 audit_log_format(ab, " fstype="); in audit_cb() 534 struct file_system_type *fstype; in aa_new_mount() local 536 fstype = get_fs_type(type); in aa_new_mount() 537 if (!fstype) in aa_new_mount() 539 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount() 540 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount() 541 put_filesystem(fstype); in aa_new_mount()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | mount.c | 92 audit_log_format(ab, " fstype="); in audit_cb() 550 struct file_system_type *fstype; in aa_new_mount() local 552 fstype = get_fs_type(type); in aa_new_mount() 553 if (!fstype) in aa_new_mount() 555 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount() 556 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount() 557 put_filesystem(fstype); in aa_new_mount()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 182 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 182 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()
|
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
H A D | proc.py | 171 "mount", "super_block", "devname", "pathname", "fstype")) 191 fstype = superblock['s_type']['name'].string() 198 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | proc.py | 173 "mount", "super_block", "devname", "pathname", "fstype")) 193 fstype = superblock['s_type']['name'].string() 200 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | security.h | 326 int security_genfs_sid(const char *fstype, const char *path, u16 sclass, 330 const char *fstype, const char *path, u16 sclass,
|
/kernel/linux/linux-5.10/security/selinux/include/ |
H A D | security.h | 395 const char *fstype, char *name, u16 sclass, 399 const char *fstype, char *name, u16 sclass,
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.c | 823 kfree(g->fstype); in policydb_destroy() 2129 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read() 2136 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read() 2137 pr_err("SELinux: dup genfs fstype %s\n", in genfs_read() 2138 newgenfs->fstype); in genfs_read() 2141 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read() 2188 genfs->fstype, c->u.name); in genfs_read() 2208 kfree(newgenfs->fstype); in genfs_read() [all...] |
H A D | policydb.h | 176 char *name; /* name of initial SID, fs, netif, fstype, path */ 210 char *fstype; member
|
H A D | services.c | 2846 * @fstype: filesystem type 2859 const char *fstype, in __security_genfs_sid() 2879 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid() 2902 * @fstype: filesystem type 2911 const char *fstype, in security_genfs_sid() 2927 retval = __security_genfs_sid(policy, fstype, path, in security_genfs_sid() 2935 const char *fstype, in selinux_policy_genfs_sid() 2941 return __security_genfs_sid(policy, fstype, path, orig_sclass, sid); in selinux_policy_genfs_sid() 2956 const char *fstype in security_fs_use() local 2858 __security_genfs_sid(struct selinux_policy *policy, const char *fstype, char *path, u16 orig_sclass, u32 *sid) __security_genfs_sid() argument 2910 security_genfs_sid(struct selinux_state *state, const char *fstype, char *path, u16 orig_sclass, u32 *sid) security_genfs_sid() argument 2934 selinux_policy_genfs_sid(struct selinux_policy *policy, const char *fstype, char *path, u16 orig_sclass, u32 *sid) selinux_policy_genfs_sid() argument [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.c | 818 kfree(g->fstype); in policydb_destroy() 2127 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read() 2134 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read() 2135 pr_err("SELinux: dup genfs fstype %s\n", in genfs_read() 2136 newgenfs->fstype); in genfs_read() 2139 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read() 2186 genfs->fstype, c->u.name); in genfs_read() 2206 kfree(newgenfs->fstype); in genfs_read() [all...] |
H A D | policydb.h | 176 char *name; /* name of initial SID, fs, netif, fstype, path */ 210 char *fstype; member
|