Home
last modified time | relevance | path

Searched refs:ktype (Results 1 – 6 of 6) sorted by relevance

/fs/sysfs/
Dfile.c32 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; in sysfs_file_ops()
257 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; in sysfs_add_file_mode_ns()
673 const struct kobj_type *ktype; in sysfs_change_owner() local
683 ktype = get_ktype(kobj); in sysfs_change_owner()
684 if (ktype) { in sysfs_change_owner()
691 for (kattr = ktype->default_attrs; kattr && *kattr; kattr++) { in sysfs_change_owner()
702 error = sysfs_groups_change_owner(kobj, ktype->default_groups, in sysfs_change_owner()
/fs/xfs/
Dxfs_sysfs.h31 struct kobj_type *ktype, in xfs_sysfs_init() argument
39 return kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); in xfs_sysfs_init()
/fs/ceph/
Dmdsmap.c74 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
79 need = (sizeof(ktype) + sizeof(vtype)) * n; \
/fs/ocfs2/cluster/
Dmasklog.c154 .kobj = {.ktype = &mlog_ktype},
/fs/btrfs/
Dsysfs.c884 if (kobj->ktype != &btrfs_ktype) in to_fs_devs()
891 if (kobj->ktype != &btrfs_ktype) in to_fs_info()
/fs/f2fs/
Dsysfs.c994 .kobj = {.ktype = &f2fs_ktype},