Searched refs:fstype (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/security/tomoyo/
H A Dmount.c81 struct file_system_type *fstype = NULL; tomoyo_mount_acl() local
92 /* Get fstype. */ tomoyo_mount_acl()
121 fstype = get_fs_type(type); tomoyo_mount_acl()
122 if (!fstype) { tomoyo_mount_acl()
126 if (fstype->fs_flags & FS_REQUIRES_DEV) tomoyo_mount_acl()
167 if (fstype) tomoyo_mount_acl()
168 put_filesystem(fstype); tomoyo_mount_acl()
/linux-4.4.14/drivers/staging/wlan-ng/
H A Dp80211hdr.h176 #define WLAN_CTL_FRAMELEN(fstype) (\
177 (fstype) == WLAN_FSTYPE_BLOCKACKREQ ? 24 : \
178 (fstype) == WLAN_FSTYPE_BLOCKACK ? 152 : \
179 (fstype) == WLAN_FSTYPE_PSPOLL ? 20 : \
180 (fstype) == WLAN_FSTYPE_RTS ? 20 : \
181 (fstype) == WLAN_FSTYPE_CTS ? 14 : \
182 (fstype) == WLAN_FSTYPE_ACK ? 14 : \
183 (fstype) == WLAN_FSTYPE_CFEND ? 20 : \
184 (fstype) == WLAN_FSTYPE_CFENDCFACK ? 20 : 4)
H A Dp80211netdev.c918 u16 fstype; p80211_rx_typedrop() local
922 fstype = WLAN_GET_FC_FSTYPE(fc); p80211_rx_typedrop()
924 netdev_dbg(wlandev->netdev, "rx_typedrop : ftype=%d fstype=%d.\n", p80211_rx_typedrop()
925 ftype, fstype); p80211_rx_typedrop()
936 switch (fstype) { p80211_rx_typedrop()
998 switch (fstype) { p80211_rx_typedrop()
1034 switch (fstype) { p80211_rx_typedrop()
/linux-4.4.14/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c181 bool test_unpriv_remount(const char *fstype, const char *mount_options, test_unpriv_remount() argument
215 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { test_unpriv_remount()
217 fstype, test_unpriv_remount()
/linux-4.4.14/security/selinux/ss/
H A Dpolicydb.h176 char *name; /* name of initial SID, fs, netif, fstype, path */
201 char *fstype; member in struct:genfs
H A Dpolicydb.c833 kfree(g->fstype); policydb_destroy()
2022 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); genfs_read()
2029 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { genfs_read()
2030 printk(KERN_ERR "SELinux: dup genfs fstype %s\n", genfs_read()
2031 newgenfs->fstype); genfs_read()
2034 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) genfs_read()
2081 genfs->fstype, c->u.name); genfs_read()
2101 kfree(newgenfs->fstype); genfs_read()
3172 len = strlen(genfs->fstype); genfs_write()
3177 rc = put_entry(genfs->fstype, 1, len, fp); genfs_write()
H A Dservices.c2456 * @fstype: filesystem type
2467 static inline int __security_genfs_sid(const char *fstype, __security_genfs_sid() argument
2485 cmp = strcmp(fstype, genfs->fstype); __security_genfs_sid()
2519 * @fstype: filesystem type
2527 int security_genfs_sid(const char *fstype, security_genfs_sid() argument
2535 retval = __security_genfs_sid(fstype, path, orig_sclass, sid); security_genfs_sid()
2549 const char *fstype = sb->s_type->name; security_fs_use() local
2555 if (strcmp(fstype, c->u.name) == 0) security_fs_use()
2570 rc = __security_genfs_sid(fstype, "/", SECCLASS_DIR, security_fs_use()
/linux-4.4.14/security/selinux/include/
H A Dsecurity.h214 int security_genfs_sid(const char *fstype, char *name, u16 sclass,
/linux-4.4.14/fs/
H A Dproc_namespace.c219 seq_puts(m, "with fstype "); show_vfsstat()
H A Dnamespace.c2303 static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) fs_set_subtype() argument
2306 const char *subtype = strchr(fstype, '.'); fs_set_subtype()
2376 static int do_new_mount(struct path *path, const char *fstype, int flags, do_new_mount() argument
2384 if (!fstype) do_new_mount()
2387 type = get_fs_type(fstype); do_new_mount()
2412 mnt = fs_set_subtype(mnt, fstype); do_new_mount()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
H A Dinode.c745 spufs_mount(struct file_system_type *fstype, int flags, spufs_mount() argument
748 return mount_single(fstype, flags, data, spufs_fill_super); spufs_mount()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c199 LUSTRE_RO_ATTR(fstype); variable

Completed in 355 milliseconds