Home
last modified time | relevance | path

Searched refs:kobj_type (Results 1 – 25 of 121) sorted by relevance

12345

/linux-6.1.9/fs/xfs/
Dxfs_sysfs.h10 extern struct kobj_type xfs_mp_ktype; /* xfs_mount */
11 extern struct kobj_type xfs_dbg_ktype; /* debug */
12 extern struct kobj_type xfs_log_ktype; /* xlog */
13 extern struct kobj_type xfs_stats_ktype; /* stats */
31 struct kobj_type *ktype, in xfs_sysfs_init()
Dxfs_sysfs.c72 struct kobj_type xfs_mp_ktype = {
269 struct kobj_type xfs_dbg_ktype = {
327 struct kobj_type xfs_stats_ktype = {
413 struct kobj_type xfs_log_ktype = {
567 static struct kobj_type xfs_error_cfg_ktype = {
573 static struct kobj_type xfs_error_ktype = {
/linux-6.1.9/include/linux/
Dkobject.h69 const struct kobj_type *ktype;
93 extern void kobject_init(struct kobject *kobj, const struct kobj_type *ktype);
99 const struct kobj_type *ktype, struct kobject *parent,
120 struct kobj_type { struct
201 static inline const struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dkobject.rst112 void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
114 ktype是正确创建kobject的必要条件,因为每个kobject都必须有一个相关的kobj_type
143 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype,
256 因此,让我们引入结构体kobj_type::
258 struct kobj_type {
268 类型)。每个kobject都需要有一个相关的kobj_type结构;当你调用
272 当然,kobj_type结构中的release字段是指向这种类型的kobject的release()
/linux-6.1.9/fs/erofs/
Dsysfs.c182 static struct kobj_type erofs_sb_ktype = {
188 static struct kobj_type erofs_ktype = {
196 static struct kobj_type erofs_feat_ktype = {
/linux-6.1.9/drivers/cpufreq/
Dcpufreq_governor.h127 struct kobj_type kobj_type; member
Dcpufreq_governor.c459 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init()
460 gov->kobj_type.release = cpufreq_dbs_data_release; in cpufreq_dbs_governor_init()
461 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
/linux-6.1.9/lib/
Dkobject.c59 const struct kobj_type *ktype = get_ktype(kobj); in create_dir()
317 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype) in kobject_init()
432 int kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, in kobject_init_and_add()
573 const struct kobj_type *ktype; in __kobject_del()
650 const struct kobj_type *t = get_ktype(kobj); in kobject_cleanup()
732 static struct kobj_type dynamic_kobj_ktype = {
909 static struct kobj_type kset_ktype = {
/linux-6.1.9/fs/ubifs/
Dsysfs.c77 static struct kobj_type ubifs_sb_ktype = {
83 static struct kobj_type ubifs_ktype = {
/linux-6.1.9/mm/damon/
Dsysfs.c110 static struct kobj_type damon_sysfs_ul_range_ktype = {
209 static struct kobj_type damon_sysfs_stats_ktype = {
384 static struct kobj_type damon_sysfs_watermarks_ktype = {
495 static struct kobj_type damon_sysfs_weights_ktype = {
626 static struct kobj_type damon_sysfs_quotas_ktype = {
725 static struct kobj_type damon_sysfs_access_pattern_ktype = {
930 static struct kobj_type damon_sysfs_scheme_ktype = {
1053 static struct kobj_type damon_sysfs_schemes_ktype = {
1140 static struct kobj_type damon_sysfs_region_ktype = {
1257 static struct kobj_type damon_sysfs_regions_ktype = {
[all …]
/linux-6.1.9/drivers/md/bcache/
Dbcache.h1007 extern struct kobj_type bch_cached_dev_ktype;
1008 extern struct kobj_type bch_flash_dev_ktype;
1009 extern struct kobj_type bch_cache_set_ktype;
1010 extern struct kobj_type bch_cache_set_internal_ktype;
1011 extern struct kobj_type bch_cache_ktype;
/linux-6.1.9/block/
Dblk-mq-sysfs.c156 static struct kobj_type blk_mq_ktype = {
160 static struct kobj_type blk_mq_ctx_ktype = {
164 static struct kobj_type blk_mq_hw_ktype = {
Dblk-ia-ranges.c78 static struct kobj_type blk_ia_range_ktype = {
97 static struct kobj_type blk_ia_ranges_ktype = {
/linux-6.1.9/fs/nfs/
Dsysfs.c34 static struct kobj_type nfs_netns_object_type = {
147 static struct kobj_type nfs_netns_client_type = {
/linux-6.1.9/drivers/dma/ioat/
Dsysfs.c75 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add()
163 struct kobj_type ioat_ktype = {
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dvas-sysfs.c165 static struct kobj_type vas_def_attr_type = {
171 static struct kobj_type vas_qos_attr_type = {
/linux-6.1.9/fs/orangefs/
Dorangefs-sysfs.c907 static struct kobj_type orangefs_ktype = {
954 static struct kobj_type acache_orangefs_ktype = {
1001 static struct kobj_type capcache_orangefs_ktype = {
1048 static struct kobj_type ccache_orangefs_ktype = {
1095 static struct kobj_type ncache_orangefs_ktype = {
1135 static struct kobj_type pc_orangefs_ktype = {
1168 static struct kobj_type stats_orangefs_ktype = {
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv-sysfs.c35 static struct kobj_type dev_ktype = {
187 static struct kobj_type rnbd_srv_sess_dev_ktype = {
/linux-6.1.9/net/sunrpc/
Dsysfs.c39 static struct kobj_type rpc_sysfs_object_type = {
430 static struct kobj_type rpc_sysfs_client_type = {
436 static struct kobj_type rpc_sysfs_xprt_switch_type = {
443 static struct kobj_type rpc_sysfs_xprt_type = {
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs.c74 static struct kobj_type kobj_gt_type = {
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c24 static struct kobj_type ktype = {
228 static struct kobj_type ktype_stats = {
/linux-6.1.9/mm/
Dcma_sysfs.c67 static struct kobj_type cma_ktype = {
/linux-6.1.9/drivers/edac/
Dedac_device_sysfs.c215 static struct kobj_type ktype_device_ctrl = {
398 static struct kobj_type ktype_instance_ctrl = {
497 static struct kobj_type ktype_block_ctrl = {
/linux-6.1.9/fs/zonefs/
Dsysfs.c82 static struct kobj_type zonefs_sb_ktype = {
/linux-6.1.9/arch/ia64/kernel/
Dtopology.c276 static struct kobj_type cache_ktype = {
281 static struct kobj_type cache_ktype_percpu_entry = {

12345