Home
last modified time | relevance | path

Searched refs:s_type (Results 1 – 25 of 39) sorted by relevance

12

/linux/fs/configfs/
H A Ddir.c200 sd->s_type = type; in configfs_new_dirent()
203 if (parent_sd->s_type & CONFIGFS_USET_DROPPING) { in configfs_new_dirent()
216 if (sd->s_type & CONFIGFS_PINNED) in configfs_new_dirent()
341 sd->s_type &= ~CONFIGFS_USET_CREATING; in configfs_dir_set_ready()
343 if (child_sd->s_type & CONFIGFS_USET_CREATING) in configfs_dir_set_ready()
362 ret = !(sd->s_type & CONFIGFS_USET_CREATING); in configfs_dirent_is_ready()
471 if (sd->s_type & CONFIGFS_PINNED) in configfs_lookup()
478 if ((sd->s_type & CONFIGFS_NOT_PINNED) && in configfs_lookup()
492 if (sd->s_type & CONFIGFS_ITEM_BIN_ATTR) { in configfs_lookup()
523 parent_sd->s_type |= CONFIGFS_USET_DROPPING; in configfs_detach_prep()
[all …]
H A Dinode.c189 if (sd->s_type & (CONFIGFS_DIR | CONFIGFS_ITEM_LINK)) in configfs_get_name()
192 if (sd->s_type & (CONFIGFS_ITEM_ATTR | CONFIGFS_ITEM_BIN_ATTR)) { in configfs_get_name()
H A Dsymlink.c94 if (target_sd->s_type & CONFIGFS_USET_DROPPING) { in create_link()
221 if (!(sd->s_type & CONFIGFS_ITEM_LINK)) in configfs_unlink()
H A Dmount.c59 .s_type = CONFIGFS_ROOT,
/linux/drivers/net/fddi/skfp/h/
H A Dsmt.h794 struct smt_p_0015 s_type ; /* resource type */ member
810 struct smt_p_0015 s_type ; /* resource type */ member
828 struct smt_p_0015 s_type ; /* resource type */ member
841 struct smt_p_0015 s_type ; /* resource type */ member
850 struct smt_p_0015 s_type ; /* resource type */ member
/linux/drivers/net/fddi/skfp/
H A Dess.c497 chg->s_type.para.p_type = SMT_P0015 ; in ess_send_response()
498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
499 chg->s_type.res_type = SYNC_BW ; in ess_send_response()
588 req->s_type.para.p_type = SMT_P0015 ; in ess_send_alc_req()
589 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
590 req->s_type.res_type = SYNC_BW ; in ess_send_alc_req()
/linux/fs/hfs/
H A Dsuper.c144 if (sbi->s_type != cpu_to_be32(0x3f3f3f3f)) in hfs_show_options()
145 seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4); in hfs_show_options()
259 memcpy(&hsb->s_type, param->string, 4); in hfs_parse_param()
424 hsb->s_type = cpu_to_be32(0x3f3f3f3f); /* == '????' */ in hfs_init_fs_context()
/linux/fs/
H A Dsuper.c471 struct file_system_type *fs = s->s_type; in deactivate_locked_super()
653 sb->s_id, sb->s_type->name)) { in generic_shutdown_super()
776 s->s_type = fc->fs_type; in sget_fc()
778 strscpy(s->s_id, s->s_type->name, sizeof(s->s_id)); in sget_fc()
785 hlist_add_head(&s->s_instances, &s->s_type->fs_supers); in sget_fc()
787 get_filesystem(s->s_type); in sget_fc()
858 s->s_type = type; in sget()
1083 sb->s_type->name, retval); in reconfigure_super()
1192 if (!freeze_all_ptr && !(sb->s_type->fs_flags & FS_POWER_FREEZE)) in filesystems_freeze_callback()
1646 shrinker_debugfs_rename(sb->s_shrink, "sb-%s:%s", sb->s_type->name, in setup_bdev_super()
[all …]
H A Dinode.c246 if (sb->s_type->fs_flags & FS_MGTIME) in inode_init_always_gfp()
270 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); in inode_init_always_gfp()
273 lockdep_set_class(&inode->i_rwsem, &sb->s_type->i_mutex_key); in inode_init_always_gfp()
290 &sb->s_type->invalidate_lock_key, in inode_init_always_gfp()
1186 struct file_system_type *type = inode->i_sb->s_type; in lockdep_annotate_inode_mutex_key()
3002 reason, inode, sb->s_type->name, inode->i_mode, inode->i_opflags, in dump_inode()
H A Dioctl.c477 u.len = scnprintf(u.name, sizeof(u.name), "%s/%s", sb->s_type->name, sb->s_sysfs_name); in ioctl_get_fs_sysfs_path()
H A Dfs_context.c338 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
/linux/security/tomoyo/
H A Drealpath.c208 const char *name = sb->s_type->name; in tomoyo_get_local_path()
266 !(sb->s_type->fs_flags & FS_REQUIRES_DEV))) in tomoyo_realpath_from_path()
/linux/fs/smb/server/
H A Dmisc.h16 int parse_stream_name(char *filename, char **stream_name, int *s_type);
/linux/security/selinux/
H A Dhooks.c474 return !strcmp(sb->s_type->name, "sysfs") || in selinux_is_genfs_special_handling()
475 !strcmp(sb->s_type->name, "pstore") || in selinux_is_genfs_special_handling()
476 !strcmp(sb->s_type->name, "debugfs") || in selinux_is_genfs_special_handling()
477 !strcmp(sb->s_type->name, "tracefs") || in selinux_is_genfs_special_handling()
478 !strcmp(sb->s_type->name, "rootfs") || in selinux_is_genfs_special_handling()
480 (!strcmp(sb->s_type->name, "cgroup") || in selinux_is_genfs_special_handling()
481 !strcmp(sb->s_type->name, "cgroup2"))) || in selinux_is_genfs_special_handling()
483 !strcmp(sb->s_type->name, "functionfs")); in selinux_is_genfs_special_handling()
531 sb->s_id, sb->s_type->name); in sb_check_xattr_support()
539 sb->s_id, sb->s_type->name); in sb_check_xattr_support()
[all …]
/linux/fs/overlayfs/
H A Dovl_entry.h118 WARN_ON_ONCE(sb->s_type != &ovl_fs_type); in OVL_FS()
/linux/include/linux/fs/
H A Dsuper_types.h135 struct file_system_type *s_type; member
/linux/drivers/iio/adc/
H A Dad4170-4.c2131 unsigned int s_type) in ad4170_parse_external_sensor() argument
2163 if (s_type == AD4170_THERMOCOUPLE_SENSOR) { in ad4170_parse_external_sensor()
2171 if (s_type == AD4170_WEIGH_SCALE_SENSOR) in ad4170_parse_external_sensor()
2277 unsigned int s_type = AD4170_ADC_SENSOR; in ad4170_parse_channel_node() local
2315 s_type = ret < 0 ? AD4170_ADC_SENSOR : ret; in ad4170_parse_channel_node()
2316 switch (s_type) { in ad4170_parse_channel_node()
2326 ret = ad4170_parse_external_sensor(st, child, setup, chan, s_type); in ad4170_parse_channel_node()
/linux/fs/xfs/scrub/
H A Dxfile.c97 lockdep_set_class(&inode->i_rwsem, &inode->i_sb->s_type->i_mutex_key); in xfile_destroy()
/linux/fs/smb/client/
H A Dnamespace.c225 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); in cifs_do_automount()
/linux/fs/nfsd/
H A Dnfsfh.c522 return exp_sb(exp)->s_type->fs_flags & FS_REQUIRES_DEV; in fsid_type_ok_for_exp()
834 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source()
/linux/init/
H A Ddo_mounts.c175 s->s_type->name, in do_mount_root()
/linux/fs/nfs/
H A Dnamespace.c162 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in nfs_d_automount()
/linux/block/
H A Dbdev.c224 if (!(sb->s_type->fs_flags & FS_LBS)) in sb_validate_large_blocksize()
233 sb->s_type->name, size, PAGE_SIZE, err_str); in sb_validate_large_blocksize()
/linux/fs/exportfs/
H A Dexpfs.c396 __func__, type, inode->i_sb->s_type->name); in exportfs_encode_inode_fh()
/linux/fs/autofs/
H A Ddev-ioctl.c727 if (sb->s_type != &autofs_fs_type) { in _autofs_dev_ioctl()

12