Home
last modified time | relevance | path

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

12345

/linux/fs/xfs/
A 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()
A Dxfs_sysfs.c71 struct kobj_type xfs_mp_ktype = {
243 struct kobj_type xfs_dbg_ktype = {
300 struct kobj_type xfs_stats_ktype = {
385 struct kobj_type xfs_log_ktype = {
539 static struct kobj_type xfs_error_cfg_ktype = {
545 static struct kobj_type xfs_error_ktype = {
/linux/include/linux/
A Dkobject.h69 struct kobj_type *ktype;
93 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
99 struct kobj_type *ktype, struct kobject *parent,
137 struct kobj_type { struct
220 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
/linux/Documentation/translations/zh_CN/core-api/
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 {
269 类型)。每个kobject都需要有一个相关的kobj_type结构;当你调用
273 当然,kobj_type结构中的release字段是指向这种类型的kobject的release()
/linux/lib/
A Dkobject.c68 struct kobj_type *t = get_ktype(kobj); in populate_dir()
85 const struct kobj_type *ktype = get_ktype(kobj); in create_dir()
349 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init()
464 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, in kobject_init_and_add()
605 const struct kobj_type *ktype; in __kobject_del()
682 struct kobj_type *t = get_ktype(kobj); in kobject_cleanup()
764 static struct kobj_type dynamic_kobj_ktype = {
941 static struct kobj_type kset_ktype = {
/linux/drivers/cpufreq/
A Dcpufreq_governor.h128 struct kobj_type kobj_type; member
A Dcpufreq_governor.c449 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init()
450 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
/linux/drivers/md/bcache/
A Dbcache.h1000 extern struct kobj_type bch_cached_dev_ktype;
1001 extern struct kobj_type bch_flash_dev_ktype;
1002 extern struct kobj_type bch_cache_set_ktype;
1003 extern struct kobj_type bch_cache_set_internal_ktype;
1004 extern struct kobj_type bch_cache_ktype;
/linux/fs/orangefs/
A Dorangefs-sysfs.c898 static struct kobj_type orangefs_ktype = {
935 static struct kobj_type acache_orangefs_ktype = {
972 static struct kobj_type capcache_orangefs_ktype = {
1009 static struct kobj_type ccache_orangefs_ktype = {
1046 static struct kobj_type ncache_orangefs_ktype = {
1076 static struct kobj_type pc_orangefs_ktype = {
1099 static struct kobj_type stats_orangefs_ktype = {
/linux/block/
A Dblk-mq-sysfs.c158 static struct kobj_type blk_mq_ktype = {
162 static struct kobj_type blk_mq_ctx_ktype = {
166 static struct kobj_type blk_mq_hw_ktype = {
A Dblk-ia-ranges.c83 static struct kobj_type blk_ia_range_ktype = {
102 static struct kobj_type blk_ia_ranges_ktype = {
/linux/fs/nfs/
A Dsysfs.c34 static struct kobj_type nfs_netns_object_type = {
146 static struct kobj_type nfs_netns_client_type = {
/linux/drivers/dma/ioat/
A Dsysfs.c75 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add()
162 struct kobj_type ioat_ktype = {
A Ddma.h200 extern struct kobj_type ioat_ktype;
404 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
/linux/drivers/block/rnbd/
A Drnbd-srv-sysfs.c36 static struct kobj_type dev_ktype = {
189 static struct kobj_type rnbd_srv_sess_dev_ktype = {
/linux/net/sunrpc/
A Dsysfs.c39 static struct kobj_type rpc_sysfs_object_type = {
434 static struct kobj_type rpc_sysfs_client_type = {
440 static struct kobj_type rpc_sysfs_xprt_switch_type = {
447 static struct kobj_type rpc_sysfs_xprt_type = {
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs-srv-sysfs.c24 static struct kobj_type ktype = {
225 static struct kobj_type ktype_stats = {
/linux/drivers/edac/
A Dedac_device_sysfs.c217 static struct kobj_type ktype_device_ctrl = {
399 static struct kobj_type ktype_instance_ctrl = {
497 static struct kobj_type ktype_block_ctrl = {
A Dedac_pci_sysfs.c145 static struct kobj_type ktype_pci_instance = {
327 static struct kobj_type ktype_edac_pci_main_kobj = {
/linux/mm/
A Dcma_sysfs.c67 static struct kobj_type cma_ktype = {
/linux/arch/ia64/kernel/
A Dtopology.c285 static struct kobj_type cache_ktype = {
290 static struct kobj_type cache_ktype_percpu_entry = {
/linux/drivers/cpuidle/
A Dsysfs.c203 static struct kobj_type ktype_cpuidle = {
449 static struct kobj_type ktype_state_cpuidle = {
595 static struct kobj_type ktype_driver_cpuidle = {
/linux/Documentation/core-api/
A Dkobject.rst121 void kobject_init(struct kobject *kobj, 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, struct kobj_type *ktype,
297 kobj_type::
299 struct kobj_type {
311 kobj_type structure; a pointer to that structure must be specified when you
314 The release field in struct kobj_type is, of course, a pointer to the
/linux/drivers/dma-buf/
A Ddma-buf-sysfs-stats.c115 static struct kobj_type dma_buf_ktype = {
/linux/drivers/md/
A Ddm-sysfs.c121 static struct kobj_type dm_ktype = {

Completed in 54 milliseconds

12345