Home
last modified time | relevance | path

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

123

/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()
465 if (sd->s_type & CONFIGFS_PINNED) in configfs_lookup()
472 if ((sd->s_type & CONFIGFS_NOT_PINNED) && in configfs_lookup()
486 if (sd->s_type & CONFIGFS_ITEM_BIN_ATTR) { in configfs_lookup()
517 parent_sd->s_type |= CONFIGFS_USET_DROPPING; in configfs_detach_prep()
[all …]
H A Dconfigfs_internal.h37 int s_type; member
137 if (!(sd->s_type & CONFIGFS_ROOT)) { in release_configfs_dirent()
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/smb/server/
H A Dmisc.c119 int parse_stream_name(char *filename, char **stream_name, int *s_type) in parse_stream_name() argument
141 *s_type = DATA_STREAM; in parse_stream_name()
143 *s_type = DIR_STREAM; in parse_stream_name()
H A Dmisc.h16 int parse_stream_name(char *filename, char **stream_name, int *s_type);
H A Dvfs.h116 size_t *xattr_stream_name_size, int s_type);
/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()
H A Dhfs_fs.h117 __be32 s_type; /* Type for new files */ member
/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/
H A Dsuper.c470 struct file_system_type *fs = s->s_type; in deactivate_locked_super()
652 sb->s_id, sb->s_type->name)) { in generic_shutdown_super()
775 s->s_type = fc->fs_type; in sget_fc()
777 strscpy(s->s_id, s->s_type->name, sizeof(s->s_id)); in sget_fc()
784 hlist_add_head(&s->s_instances, &s->s_type->fs_supers); in sget_fc()
786 get_filesystem(s->s_type); in sget_fc()
857 s->s_type = type; in sget()
1082 sb->s_type->name, retval); in reconfigure_super()
1646 shrinker_debugfs_rename(sb->s_shrink, "sb-%s:%s", sb->s_type->name, in setup_bdev_super()
1832 return super_setup_bdi_name(sb, "%.28s-%ld", sb->s_type->name, in super_setup_bdi()
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()
1156 struct file_system_type *type = inode->i_sb->s_type; in lockdep_annotate_inode_mutex_key()
2972 reason, inode, sb->s_type->name, inode->i_mode, inode->i_opflags, in dump_inode()
H A Dproc_namespace.c94 mangle(m, sb->s_type->name); in show_type()
/linux/security/selinux/
H A Dhooks.c472 return !strcmp(sb->s_type->name, "sysfs") || in selinux_is_genfs_special_handling()
473 !strcmp(sb->s_type->name, "pstore") || in selinux_is_genfs_special_handling()
474 !strcmp(sb->s_type->name, "debugfs") || in selinux_is_genfs_special_handling()
475 !strcmp(sb->s_type->name, "tracefs") || in selinux_is_genfs_special_handling()
476 !strcmp(sb->s_type->name, "rootfs") || in selinux_is_genfs_special_handling()
478 (!strcmp(sb->s_type->name, "cgroup") || in selinux_is_genfs_special_handling()
479 !strcmp(sb->s_type->name, "cgroup2"))) || in selinux_is_genfs_special_handling()
481 !strcmp(sb->s_type->name, "functionfs")); in selinux_is_genfs_special_handling()
529 sb->s_id, sb->s_type->name); in sb_check_xattr_support()
537 sb->s_id, sb->s_type->name); in sb_check_xattr_support()
[all …]
/linux/sound/isa/sb/
H A Dsb16_csp.c779 unsigned char s_type; /* sample type */ in snd_sb_csp_start() local
812 s_type = 0x00; in snd_sb_csp_start()
814 s_type = 0x11; /* 000n 000n (n = 1 if mono) */ in snd_sb_csp_start()
816 s_type |= 0x22; /* 00dX 00dX (d = 1 if 8 bit samples) */ in snd_sb_csp_start()
818 if (set_codec_parameter(p->chip, 0x81, s_type)) { in snd_sb_csp_start()
/linux/fs/overlayfs/
H A Dovl_entry.h118 WARN_ON_ONCE(sb->s_type != &ovl_fs_type); in OVL_FS()
/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/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/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/fs/nfs/
H A Dnamespace.c161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in nfs_d_automount()
/linux/init/
H A Ddo_mounts.c174 s->s_type->name, in do_mount_root()

123