| /linux/fs/xfs/ |
| H A D | xfs_sysfs.h | 10 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()
|
| /linux/include/linux/ |
| H A D | kobject.h | 69 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 D | kobject.rst | 112 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 D | sysfs-common.h | 24 extern const struct kobj_type damon_sysfs_ul_range_ktype; 39 extern const struct kobj_type damon_sysfs_schemes_ktype;
|
| H A D | sysfs.c | 84 static const struct kobj_type damon_sysfs_region_ktype = { 201 static const struct kobj_type damon_sysfs_regions_ktype = { 308 static const struct kobj_type damon_sysfs_target_ktype = { 433 static const struct kobj_type damon_sysfs_targets_ktype = { 590 static const struct kobj_type damon_sysfs_intervals_goal_ktype = { 744 static const struct kobj_type damon_sysfs_intervals_ktype = { 832 static const struct kobj_type damon_sysfs_attrs_ktype = { 1078 static const struct kobj_type damon_sysfs_context_ktype = { 1204 static const struct kobj_type damon_sysfs_contexts_ktype = { 1888 static const struct kobj_type damon_sysfs_kdamond_ktype = { [all …]
|
| H A D | sysfs-common.c | 101 const struct kobj_type damon_sysfs_ul_range_ktype = {
|
| /linux/lib/ |
| H A D | kobject.c | 69 const struct kobj_type *ktype = get_ktype(kobj); in create_dir() 333 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype) in kobject_init() 448 int kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, in kobject_init_and_add() 589 const struct kobj_type *ktype; in __kobject_del() 666 const struct kobj_type *t = get_ktype(kobj); in kobject_cleanup() 748 static const struct kobj_type dynamic_kobj_ktype = { 937 static const struct kobj_type kset_ktype = {
|
| /linux/drivers/cpufreq/ |
| H A D | cpufreq_governor.h | 128 struct kobj_type kobj_type; member
|
| H A D | cpufreq_governor.c | 460 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init() 461 gov->kobj_type.release = cpufreq_dbs_data_release; in cpufreq_dbs_governor_init() 462 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
|
| /linux/fs/nfs/ |
| H A D | sysfs.c | 37 static struct kobj_type nfs_kset_type = { 146 static struct kobj_type nfs_netns_client_type = { 167 static struct kobj_type nfs_netns_object_type = { 362 static struct kobj_type nfs_sb_ktype = {
|
| /linux/fs/ubifs/ |
| H A D | sysfs.c | 77 static const struct kobj_type ubifs_sb_ktype = { 83 static const struct kobj_type ubifs_ktype = {
|
| /linux/drivers/md/bcache/ |
| H A D | bcache.h | 1018 extern const struct kobj_type bch_cached_dev_ktype; 1019 extern const struct kobj_type bch_flash_dev_ktype; 1020 extern const struct kobj_type bch_cache_set_ktype; 1021 extern const struct kobj_type bch_cache_set_internal_ktype; 1022 extern const struct kobj_type bch_cache_ktype;
|
| H A D | sysfs.h | 6 const struct kobj_type type ## _ktype = { \
|
| /linux/fs/orangefs/ |
| H A D | orangefs-sysfs.c | 899 static const struct kobj_type orangefs_ktype = { 946 static const struct kobj_type acache_orangefs_ktype = { 993 static const struct kobj_type capcache_orangefs_ktype = { 1040 static const struct kobj_type ccache_orangefs_ktype = { 1087 static const struct kobj_type ncache_orangefs_ktype = { 1127 static const struct kobj_type pc_orangefs_ktype = { 1160 static const struct kobj_type stats_orangefs_ktype = {
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | vas-sysfs.c | 165 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 D | rnbd-srv-sysfs.c | 36 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 D | xe_gt_sysfs.c | 20 static const struct kobj_type xe_gt_sysfs_kobj_type = {
|
| /linux/scripts/ |
| H A D | const_structs.checkpatch | 42 kobj_type
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_sysfs.c | 75 static const struct kobj_type kobj_gt_type = {
|
| /linux/net/sunrpc/ |
| H A D | sysfs.c | 40 static const struct kobj_type rpc_sysfs_object_type = { 635 static const struct kobj_type rpc_sysfs_client_type = { 642 static const struct kobj_type rpc_sysfs_xprt_switch_type = { 649 static const struct kobj_type rpc_sysfs_xprt_type = {
|
| /linux/fs/zonefs/ |
| H A D | sysfs.c | 82 static const struct kobj_type zonefs_sb_ktype = {
|
| /linux/drivers/md/ |
| H A D | dm-sysfs.c | 119 static const struct kobj_type dm_ktype = {
|
| /linux/mm/ |
| H A D | cma_sysfs.c | 102 static const struct kobj_type cma_ktype = {
|
| /linux/drivers/cpuidle/ |
| H A D | sysfs.c | 210 static const struct kobj_type ktype_cpuidle = { 457 static const struct kobj_type ktype_state_cpuidle = { 604 static const struct kobj_type ktype_driver_cpuidle = {
|
| /linux/drivers/of/ |
| H A D | kobj.c | 27 const struct kobj_type of_node_ktype = {
|