Home
last modified time | relevance | path

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

12345

/linux/fs/xfs/
H A Dxfs_sysfs.h10 extern const struct kobj_type xfs_dbg_ktype; /* debug */
11 extern const struct kobj_type xfs_log_ktype; /* xlog */
12 extern const struct kobj_type xfs_stats_ktype; /* stats */
30 const struct kobj_type *ktype, in xfs_sysfs_init()
H A Dxfs_sysfs.c73 static const struct kobj_type xfs_mp_ktype = {
329 const struct kobj_type xfs_dbg_ktype = {
387 const struct kobj_type xfs_stats_ktype = {
464 const struct kobj_type xfs_log_ktype = {
618 static const struct kobj_type xfs_error_cfg_ktype = {
624 static const struct kobj_type xfs_error_ktype = {
759 static const struct kobj_type xfs_zoned_ktype = {
/linux/include/linux/
H A Dkobject.h69 const struct kobj_type *ktype;
92 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype);
97 const struct kobj_type *ktype,
116 struct kobj_type { struct
196 static inline const struct kobj_type *get_ktype(const struct kobject *kobj) in get_ktype()
/linux/Documentation/translations/zh_CN/core-api/
H A 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/mm/damon/
H A Dsysfs-common.h24 extern const struct kobj_type damon_sysfs_ul_range_ktype;
39 extern const struct kobj_type damon_sysfs_schemes_ktype;
H A Dsysfs-schemes.c121 static const struct kobj_type damon_sysfs_scheme_region_ktype = {
189 static const struct kobj_type damon_sysfs_scheme_regions_ktype = {
302 static const struct kobj_type damon_sysfs_stats_ktype = {
664 static const struct kobj_type damon_sysfs_scheme_filter_ktype = {
790 static const struct kobj_type damon_sysfs_scheme_filters_ktype = {
986 static const struct kobj_type damon_sysfs_watermarks_ktype = {
1158 static const struct kobj_type damos_sysfs_quota_goal_ktype = {
1276 static const struct kobj_type damos_sysfs_quota_goals_ktype = {
1387 static const struct kobj_type damon_sysfs_weights_ktype = {
1553 static const struct kobj_type damon_sysfs_quotas_ktyp
[all...]
H A Dsysfs-common.c102 const struct kobj_type damon_sysfs_ul_range_ktype = {
/linux/drivers/cpufreq/
H A Dcpufreq_governor.h127 struct kobj_type kobj_type; member
/linux/fs/nfs/
H A Dsysfs.c36 static struct kobj_type nfs_kset_type = {
144 static struct kobj_type nfs_netns_client_type = {
164 static struct kobj_type nfs_netns_object_type = {
357 static struct kobj_type nfs_sb_ktype = {
/linux/block/
H A Dblk-mq-sysfs.c130 static const struct kobj_type blk_mq_ktype = {
134 static const struct kobj_type blk_mq_ctx_ktype = {
138 static const struct kobj_type blk_mq_hw_ktype = {
H A Dblk-ia-ranges.c78 static const struct kobj_type blk_ia_range_ktype = {
97 static const struct kobj_type blk_ia_ranges_ktype = {
/linux/drivers/platform/x86/intel/pmt/
H A Ddiscovery.c282 static const struct kobj_type pmt_feature_rmid_ktype = {
298 static const struct kobj_type pmt_feature_watcher_ktype = {
313 static const struct kobj_type pmt_feature_command_ktype = {
326 static const struct kobj_type pmt_feature_guids_ktype = {
472 const struct kobj_type *ktype; in pmt_features_discovery()
/linux/fs/erofs/
H A Dsysfs.c233 static const struct kobj_type erofs_sb_ktype = {
239 static const struct kobj_type erofs_ktype = {
248 static const struct kobj_type erofs_feat_ktype = {
/linux/fs/ubifs/
H A Dsysfs.c77 static const struct kobj_type ubifs_sb_ktype = {
83 static const struct kobj_type ubifs_ktype = {
/linux/drivers/md/bcache/
H A Dbcache.h1011 extern const struct kobj_type bch_cached_dev_ktype;
1012 extern const struct kobj_type bch_flash_dev_ktype;
1013 extern const struct kobj_type bch_cache_set_ktype;
1014 extern const struct kobj_type bch_cache_set_internal_ktype;
1015 extern const struct kobj_type bch_cache_ktype;
/linux/drivers/dma/ioat/
H A 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 = {
H A Ddma.h200 extern struct kobj_type ioat_ktype;
403 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
/linux/arch/powerpc/platforms/pseries/
H A Dvas-sysfs.c165 static const struct kobj_type vas_def_attr_type = {
171 static const struct kobj_type vas_qos_attr_type = {
/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c36 static const struct kobj_type dev_ktype = {
187 static const struct kobj_type rnbd_srv_sess_dev_ktype = {
/linux/drivers/gpu/drm/xe/
H A Dxe_tile_sysfs.c20 static const struct kobj_type xe_tile_sysfs_kobj_type = {
/linux/scripts/
H A Dconst_structs.checkpatch42 kobj_type
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_sysfs.c75 static const struct kobj_type kobj_gt_type = {
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv-sysfs.c24 static struct kobj_type ktype = {
227 static struct kobj_type ktype_stats = {
/linux/drivers/edac/
H A Dedac_device_sysfs.c215 static struct kobj_type ktype_device_ctrl = {
400 static struct kobj_type ktype_instance_ctrl = {
483 static struct kobj_type ktype_block_ctrl = {
/linux/Documentation/core-api/
H A Dkobject.rst121 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype);
124 must have an associated kobj_type. After calling kobject_init(), to
159 int kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype,
297 kobj_type::
299 struct kobj_type {
310 kobj_type structure; a pointer to that structure must be specified when you
313 The release field in struct kobj_type is, of course, a pointer to the

12345