Home
last modified time | relevance | path

Searched refs:s_type (Results 1 – 25 of 36) 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()
342 sd->s_type &= ~CONFIGFS_USET_CREATING; in configfs_dir_set_ready()
344 if (child_sd->s_type & CONFIGFS_USET_CREATING) in configfs_dir_set_ready()
363 ret = !(sd->s_type & CONFIGFS_USET_CREATING); in configfs_dirent_is_ready()
464 if (sd->s_type & CONFIGFS_PINNED) in configfs_lookup()
471 if ((sd->s_type & CONFIGFS_NOT_PINNED) && in configfs_lookup()
488 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 Dsymlink.c94 if (target_sd->s_type & CONFIGFS_USET_DROPPING) { in create_link()
237 if (!(sd->s_type & CONFIGFS_ITEM_LINK)) in configfs_unlink()
H A Dmount.c57 .s_type = CONFIGFS_ROOT,
/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
143 *s_type = DATA_STREAM; in parse_stream_name()
146 *s_type = DIR_STREAM; in parse_stream_name()
153 if (has_stream_type && !s_name[0] && *s_type == DATA_STREAM) in parse_stream_name()
H A Dsmb2pdu.c3380 char *stream_name, int s_type) in smb2_set_stream_name_xattr() argument
3390 s_type); in smb2_set_stream_name_xattr()
4150 int s_type = 0; in smb2_open() local
4219 rc = parse_stream_name(name, &stream_name, &s_type); in smb2_open()
4527 if (stream_name || s_type == DATA_STREAM) { in smb2_open()
4529 if (s_type == DATA_STREAM) { in smb2_open()
4535 !stream_name && s_type == DATA_STREAM) { in smb2_open()
4847 s_type); in smb2_open()
7985 int s_type; in smb2_rename() local
7990 rc = parse_stream_name(new_name, &stream_name, &s_type); in smb2_rename()
[all …]
H A Dvfs.c1925 size_t *xattr_stream_name_size, int s_type) in ksmbd_vfs_xattr_stream_name() argument
1929 if (s_type == DIR_STREAM) in ksmbd_vfs_xattr_stream_name()
/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/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.c422 struct file_system_type *type = s->s_type; in put_super()
583 struct file_system_type *fs = s->s_type; in deactivate_locked_super()
761 sb->s_id, sb->s_type->name)) { in generic_shutdown_super()
891 s->s_type = fc->fs_type; in sget_fc()
893 strscpy(s->s_id, s->s_type->name, sizeof(s->s_id)); in sget_fc()
900 hlist_add_head(&s->s_instances, &s->s_type->fs_supers); in sget_fc()
902 get_filesystem(s->s_type); in sget_fc()
1134 sb->s_type->name, retval); in reconfigure_super()
1249 if (!freeze_all_ptr && !(sb->s_type->fs_flags & FS_POWER_FREEZE)) in filesystems_freeze_callback()
1827 shrinker_debugfs_rename(sb->s_shrink, "sb-%s:%s", sb->s_type->name, in setup_bdev_super()
[all …]
H A Dinode.c242 if (sb->s_type->fs_flags & FS_MGTIME) in inode_init_always_gfp()
266 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); in inode_init_always_gfp()
269 lockdep_set_class(&inode->i_rwsem, &sb->s_type->i_mutex_key); in inode_init_always_gfp()
282 &sb->s_type->invalidate_lock_key, in inode_init_always_gfp()
1181 struct file_system_type *type = inode->i_sb->s_type; in lockdep_annotate_inode_mutex_key()
3085 struct file_system_type *s_type; in dump_inode() local
3106 get_kernel_nofault(s_type, &sb->s_type) || !s_type || in dump_inode()
3107 get_kernel_nofault(fs_name_ptr, &s_type->name) || !fs_name_ptr || in dump_inode()
H A Dnamespace.c1102 if ((mnt->mnt.mnt_sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED) && in mnt_add_to_ns()
3128 VFS_WARN_ON_ONCE(old_ns_root->mnt.mnt_sb->s_type != &nullfs_fs_type); in create_new_namespace()
3326 sb->s_type->name, in mnt_warn_timestamp_expiry()
4829 if (!(m->mnt_sb->s_type->fs_flags & FS_ALLOW_IDMAP)) in can_idmap_mount()
5382 seq_puts(seq, sb->s_type->name); in statmount_fs_type()
6384 if (sb_visible->s_type != sb->s_type) in mnt_already_visible()
6443 if (!(sb->s_type->fs_flags & FS_USERNS_MOUNT_RESTRICTED)) in mount_too_revealing()
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()
/linux/security/selinux/
H A Dhooks.c476 return !strcmp(sb->s_type->name, "sysfs") || in selinux_is_genfs_special_handling()
477 !strcmp(sb->s_type->name, "pstore") || in selinux_is_genfs_special_handling()
478 !strcmp(sb->s_type->name, "debugfs") || in selinux_is_genfs_special_handling()
479 !strcmp(sb->s_type->name, "tracefs") || in selinux_is_genfs_special_handling()
480 !strcmp(sb->s_type->name, "rootfs") || in selinux_is_genfs_special_handling()
482 (!strcmp(sb->s_type->name, "cgroup") || in selinux_is_genfs_special_handling()
483 !strcmp(sb->s_type->name, "cgroup2"))) || in selinux_is_genfs_special_handling()
485 !strcmp(sb->s_type->name, "functionfs")); in selinux_is_genfs_special_handling()
533 sb->s_id, sb->s_type->name); in sb_check_xattr_support()
541 sb->s_id, sb->s_type 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.c98 lockdep_set_class(&inode->i_rwsem, &inode->i_sb->s_type->i_mutex_key); in xfile_destroy()
/linux/fs/nfsd/
H A Dnfsfh.c595 return exp_sb(exp)->s_type->fs_flags & FS_REQUIRES_DEV; in fsid_type_ok_for_exp()
908 if (exp_sb(exp)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source_fh()
H A Dexport.c1135 if (!(inode->i_sb->s_type->fs_flags & FS_REQUIRES_DEV) && in check_export()
1144 inode->i_sb->s_type->name); in check_export()
1156 __func__, inode->i_sb->s_type->name); in check_export()
/linux/block/
H A Dbdev.c222 if (!(sb->s_type->fs_flags & FS_LBS)) in sb_validate_large_blocksize()
231 sb->s_type->name, size, PAGE_SIZE, err_str); in sb_validate_large_blocksize()
/linux/fs/autofs/
H A Ddev-ioctl.c727 if (sb->s_type != &autofs_fs_type) { in _autofs_dev_ioctl()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c534 if (path->dentry->d_sb->s_type != &spufs_type) in spufs_create()
/linux/security/integrity/evm/
H A Devm_main.c175 pr_info_once("%s not supported\n", inode->i_sb->s_type->name);
/linux/security/apparmor/
H A Dmount.c342 binary = path->dentry->d_sb->s_type->fs_flags & FS_BINARY_MOUNTDATA; in aa_remount()
/linux/kernel/cgroup/
H A Dcgroup-v1.c727 if (dentry->d_sb->s_type != &cgroup_fs_type || !kn || in cgroupstats_build()

12