Searched refs:s_type (Results 1 - 36 of 36) sorted by relevance

/linux-4.4.14/fs/sysv/
H A Dsuper.c187 switch (fs32_to_cpu(sbi, sbd->s_type)) { detect_xenix()
189 sbi->s_type = FSTYPE_XENIX; detect_xenix()
192 sbi->s_type = FSTYPE_XENIX; detect_xenix()
214 type = fs32_to_cpu(sbi, sbd->s_type); detect_sysv()
217 sbi->s_type = FSTYPE_AFS; detect_sysv()
231 sbi->s_type = FSTYPE_SYSV2; detect_sysv()
237 /* On Interactive Unix (ISC) Version 4.0/3.x s_type field = 0x10, detect_sysv()
248 sbi->s_type = FSTYPE_SYSV4; detect_sysv()
261 sbi->s_type = FSTYPE_COH; detect_coherent()
306 char *found = flavour_names[sbi->s_type]; complete_read_super()
313 flavour_setup[sbi->s_type](sbi, &sb->s_max_links); complete_read_super()
332 sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type; complete_read_super()
489 sbi->s_type = FSTYPE_V7; v7_fill_super()
H A Dballoc.c34 if (SYSV_SB(sb)->s_type == FSTYPE_SYSV4) get_chunk()
55 if (sbi->s_type == FSTYPE_AFS) sysv_free_block()
173 if (sbi->s_type == FSTYPE_AFS) sysv_count_free_blocks()
H A Dinode.c47 if (sbi->s_type == FSTYPE_SYSV4) { sysv_sync_fs()
H A Dsysv.h23 int s_type; /* file system type: FSTYPE_{XENIX|SYSV|COH} */ member in struct:sysv_sb_info
/linux-4.4.14/fs/configfs/
H A Ddir.c185 sd->s_type = type; configfs_new_dirent()
188 if (parent_sd->s_type & CONFIGFS_USET_DROPPING) { configfs_new_dirent()
317 sd->s_type &= ~CONFIGFS_USET_CREATING; configfs_dir_set_ready()
319 if (child_sd->s_type & CONFIGFS_USET_CREATING) configfs_dir_set_ready()
338 ret = !(sd->s_type & CONFIGFS_USET_CREATING); configfs_dirent_is_ready()
459 if (sd->s_type & CONFIGFS_NOT_PINNED) { configfs_lookup()
501 parent_sd->s_type |= CONFIGFS_USET_DROPPING; configfs_detach_prep()
510 (sd->s_type & CONFIGFS_NOT_PINNED)) configfs_detach_prep()
512 if (sd->s_type & CONFIGFS_USET_DEFAULT) { configfs_detach_prep()
514 if (sd->s_type & CONFIGFS_USET_IN_MKDIR) { configfs_detach_prep()
546 parent_sd->s_type &= ~CONFIGFS_USET_DROPPING; configfs_detach_rollback()
549 if (sd->s_type & CONFIGFS_USET_DEFAULT) configfs_detach_rollback()
567 if (!sd->s_element || !(sd->s_type & CONFIGFS_NOT_PINNED)) detach_attrs()
622 !(sd->s_type & CONFIGFS_USET_DEFAULT)) detach_groups()
648 * on the sd->s_type.
673 sd->s_type |= CONFIGFS_USET_DEFAULT; create_default_group()
850 sd->s_type |= CONFIGFS_USET_DIR; configfs_attach_group()
937 #define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type); configfs_dump_one()
955 if (!(sd->s_type & (CONFIGFS_DIR|CONFIGFS_ROOT))) configfs_dump()
1014 * Note: subdirectories in the middle of attachment start with s_type =
1017 * s_type is in configfs_new_dirent(), which has configfs_dirent_lock.
1040 if ((child_sd->s_type & CONFIGFS_DIR) && configfs_depend_prep()
1041 !(child_sd->s_type & CONFIGFS_USET_DROPPING) && configfs_depend_prep()
1042 !(child_sd->s_type & CONFIGFS_USET_CREATING)) { configfs_depend_prep()
1083 if (p->s_type & CONFIGFS_DIR) { configfs_depend_item()
1179 if (!(sd->s_type & CONFIGFS_USET_DIR)) { configfs_mkdir()
1282 sd->s_type |= CONFIGFS_USET_IN_MKDIR; configfs_mkdir()
1291 sd->s_type &= ~CONFIGFS_USET_IN_MKDIR; configfs_mkdir()
1340 if (sd->s_type & CONFIGFS_USET_DEFAULT) configfs_rmdir()
1401 if (sd->s_type & CONFIGFS_USET_DIR) { configfs_rmdir()
H A Dconfigfs_internal.h44 int s_type; member in struct:configfs_dirent
129 if (sd->s_type & CONFIGFS_ITEM_LINK) { configfs_get_config_item()
142 if (!(sd->s_type & CONFIGFS_ROOT)) { release_configfs_dirent()
H A Dinode.c218 if (sd->s_type & (CONFIGFS_DIR | CONFIGFS_ITEM_LINK)) configfs_get_name()
221 if (sd->s_type & CONFIGFS_ITEM_ATTR) { configfs_get_name()
H A Dsymlink.c88 if (target_sd->s_type & CONFIGFS_USET_DROPPING) { create_link()
194 if (!(sd->s_type & CONFIGFS_ITEM_LINK)) configfs_unlink()
H A Dmount.c65 .s_type = CONFIGFS_ROOT,
/linux-4.4.14/fs/hfs/
H A Dsuper.c140 if (sbi->s_type != cpu_to_be32(0x3f3f3f3f)) hfs_show_options()
141 seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4); hfs_show_options()
241 hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */ parse_options()
312 if (match_fourchar(&args[0], &hsb->s_type)) { parse_options()
H A Dhfs_fs.h147 __be32 s_type; /* Type for new files */ member in struct:hfs_sb_info
H A Dcatalog.c59 rec->file.UsrWds.fdType = HFS_SB(inode->i_sb)->s_type; hfs_cat_build_record()
/linux-4.4.14/drivers/net/fddi/skfp/
H A Dess.c500 chg->s_type.para.p_type = SMT_P0015 ; ess_send_response()
501 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; ess_send_response()
502 chg->s_type.res_type = SYNC_BW ; ess_send_response()
591 req->s_type.para.p_type = SMT_P0015 ; ess_send_alc_req()
592 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; ess_send_alc_req()
593 req->s_type.res_type = SYNC_BW ; ess_send_alc_req()
/linux-4.4.14/include/linux/
H A Dsysv_fs.h51 __fs32 s_type; /* type of file system: 1 for 512 byte blocks member in struct:xenix_super_block
93 __fs32 s_type; /* type of file system: 1 for 512 byte blocks member in struct:sysv4_super_block
121 __fs32 s_type; /* type of file system: 1 for 512 byte blocks member in struct:sysv2_super_block
H A Dfs.h1292 struct file_system_type *s_type; member in struct:super_block
/linux-4.4.14/tools/iio/
H A Diio_utils.h19 #define FORMAT_TYPE_FILE "%s_type"
/linux-4.4.14/drivers/net/fddi/skfp/h/
H A Dsmt.h800 struct smt_p_0015 s_type ; /* resource type */ member in struct:smt_sba_alc_res
816 struct smt_p_0015 s_type ; /* resource type */ member in struct:smt_sba_alc_req
834 struct smt_p_0015 s_type ; /* resource type */ member in struct:smt_sba_chg
847 struct smt_p_0015 s_type ; /* resource type */ member in struct:smt_sba_rep_req
856 struct smt_p_0015 s_type ; /* resource type */ member in struct:smt_sba_rep_res
/linux-4.4.14/sound/isa/sb/
H A Dsb16_csp.c803 unsigned char s_type; /* sample type */ snd_sb_csp_start() local
836 s_type = 0x00; snd_sb_csp_start()
838 s_type = 0x11; /* 000n 000n (n = 1 if mono) */ snd_sb_csp_start()
840 s_type |= 0x22; /* 00dX 00dX (d = 1 if 8 bit samples) */ snd_sb_csp_start()
842 if (set_codec_parameter(p->chip, 0x81, s_type)) { snd_sb_csp_start()
/linux-4.4.14/security/selinux/
H A Dhooks.c420 !strcmp(sb->s_type->name, "sysfs") || selinux_is_sblabel_mnt()
421 !strcmp(sb->s_type->name, "pstore") || selinux_is_sblabel_mnt()
422 !strcmp(sb->s_type->name, "debugfs") || selinux_is_sblabel_mnt()
423 !strcmp(sb->s_type->name, "rootfs"); selinux_is_sblabel_mnt()
441 "xattr support\n", sb->s_id, sb->s_type->name); sb_finish_set_opts()
450 sb->s_id, sb->s_type->name); sb_finish_set_opts()
454 sb->s_type->name, -rc); sb_finish_set_opts()
461 sb->s_id, sb->s_type->name); sb_finish_set_opts()
623 const char *name = sb->s_type->name; selinux_set_mnt_opts()
664 if ((sbsec->flags & SE_SBINITIALIZED) && (sb->s_type->fs_flags & FS_BINARY_MOUNTDATA) selinux_set_mnt_opts()
738 if (strcmp(sb->s_type->name, "proc") == 0) selinux_set_mnt_opts()
741 if (!strcmp(sb->s_type->name, "debugfs") || selinux_set_mnt_opts()
742 !strcmp(sb->s_type->name, "sysfs") || selinux_set_mnt_opts()
743 !strcmp(sb->s_type->name, "pstore")) selinux_set_mnt_opts()
755 __func__, sb->s_type->name, rc); selinux_set_mnt_opts()
864 "type %s)\n", newsb->s_id, newsb->s_type->name); selinux_cmp_sb_context()
1060 BUG_ON(sb->s_type->fs_flags & FS_BINARY_MOUNTDATA); superblock_doinit()
1278 rc = security_genfs_sid(sb->s_type->name, path, tclass, sid); selinux_genfs_get_sid()
2600 if (sb->s_type->fs_flags & FS_BINARY_MOUNTDATA) selinux_sb_remount()
2627 mount_options[i], sb->s_id, sb->s_type->name, rc); selinux_sb_remount()
2666 sb->s_type->name); selinux_sb_remount()
/linux-4.4.14/security/tomoyo/
H A Drealpath.c197 const char *name = sb->s_type->name; tomoyo_get_local_path()
/linux-4.4.14/fs/
H A Dproc_namespace.c87 mangle(m, sb->s_type->name); show_type()
H A Dsuper.c297 struct file_system_type *fs = s->s_type; deactivate_locked_super()
494 s->s_type = type; sget()
763 sb->s_type->name, retval); do_remount_sb()
H A Dinode.c160 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); inode_init_always()
163 lockdep_set_class(&inode->i_mutex, &sb->s_type->i_mutex_key); inode_init_always()
918 struct file_system_type *type = inode->i_sb->s_type; lockdep_annotate_inode_mutex_key()
H A Dlibfs.c510 s->s_type->name); simple_fill_super()
H A Dnamespace.c2182 !(sb->s_type->fs_flags & FS_USERNS_DEV_MOUNT)) { do_remount()
3223 if (mnt->mnt.mnt_sb->s_type != type) fs_fully_visible()
H A Ddcache.c1423 dentry->d_sb->s_type->name, umount_check()
2796 inode->i_sb->s_type->name, d_splice_alias()
H A Dnamei.c4286 if (!(old_dir->i_sb->s_type->fs_flags & FS_RENAME_DOES_D_MOVE)) { vfs_rename()
/linux-4.4.14/fs/nfsd/
H A Dnfsfh.c441 return exp_sb(exp)->s_type->fs_flags & FS_REQUIRES_DEV; fsid_type_ok_for_exp()
671 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) fsid_source()
H A Dexport.c368 if (!(inode->i_sb->s_type->fs_flags & FS_REQUIRES_DEV) && check_export()
/linux-4.4.14/init/
H A Ddo_mounts.c375 s->s_type->name, do_mount_root()
/linux-4.4.14/fs/ecryptfs/
H A Dmain.c541 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { ecryptfs_mount()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
H A Dinode.c568 if (path->dentry->d_sb->s_type != &spufs_type) spufs_create()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c197 return sprintf(buf, "%s\n", sbi->ll_sb->s_type->name); fstype_show()
/linux-4.4.14/security/selinux/ss/
H A Dservices.c2549 const char *fstype = sb->s_type->name; security_fs_use()
/linux-4.4.14/kernel/
H A Dcgroup.c4397 if (dentry->d_sb->s_type != &cgroup_fs_type || !kn || cgroupstats_build()
5822 if (dentry->d_sb->s_type != &cgroup_fs_type || !kn || css_tryget_online_from_dir()
/linux-4.4.14/fs/btrfs/
H A Dtree-log.c4996 * lock(&sb->s_type->i_mutex_key#14);

Completed in 1206 milliseconds