Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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.c70 struct kobj_type xfs_mp_ktype = {
242 struct kobj_type xfs_dbg_ktype = {
299 struct kobj_type xfs_stats_ktype = {
384 struct kobj_type xfs_log_ktype = {
538 static struct kobj_type xfs_error_cfg_ktype = {
544 static struct kobj_type xfs_error_ktype = {
/kernel/linux/linux-5.10/include/linux/
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,
138 struct kobj_type { struct
221 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
/kernel/linux/linux-5.10/lib/
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 = {
/kernel/linux/linux-5.10/drivers/cpufreq/
Dcpufreq_governor.h128 struct kobj_type kobj_type; member
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()
/kernel/linux/linux-5.10/fs/nfs/
Dsysfs.c34 static struct kobj_type nfs_netns_object_type = {
146 static struct kobj_type nfs_netns_client_type = {
/kernel/linux/linux-5.10/drivers/md/bcache/
Dbcache.h1008 extern struct kobj_type bch_cached_dev_ktype;
1009 extern struct kobj_type bch_flash_dev_ktype;
1010 extern struct kobj_type bch_cache_set_ktype;
1011 extern struct kobj_type bch_cache_set_internal_ktype;
1012 extern struct kobj_type bch_cache_ktype;
Dsysfs.h6 struct kobj_type type ## _ktype = { \
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv-sysfs.c36 static struct kobj_type dev_ktype = {
151 static struct kobj_type rnbd_srv_sess_dev_ktype = {
/kernel/linux/linux-5.10/drivers/dma/ioat/
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 = {
Ddma.h200 extern struct kobj_type ioat_ktype;
404 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
/kernel/linux/linux-5.10/fs/orangefs/
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 = {
/kernel/linux/linux-5.10/block/
Dblk-mq-sysfs.c211 static struct kobj_type blk_mq_ktype = {
216 static struct kobj_type blk_mq_ctx_ktype = {
221 static struct kobj_type blk_mq_hw_ktype = {
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dsysfs.c203 static struct kobj_type port_cc_ktype = {
306 static struct kobj_type hfi1_sc2vl_ktype = {
411 static struct kobj_type hfi1_sl2sc_ktype = {
485 static struct kobj_type hfi1_vl2mtu_ktype = {
793 static struct kobj_type sde_ktype = {
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c24 static struct kobj_type ktype = {
231 static struct kobj_type ktype_stats = {
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sysfs.c246 static struct kobj_type qib_port_cc_ktype = {
330 static struct kobj_type qib_port_ktype = {
402 static struct kobj_type qib_sl2vl_ktype = {
548 static struct kobj_type qib_diagc_ktype = {
/kernel/linux/linux-5.10/drivers/edac/
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 = {
Dedac_pci_sysfs.c145 static struct kobj_type ktype_pci_instance = {
327 static struct kobj_type ktype_edac_pci_main_kobj = {
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dtopology.c286 static struct kobj_type cache_ktype = {
291 static struct kobj_type cache_ktype_percpu_entry = {
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-buf-sysfs-stats.c115 static struct kobj_type dma_buf_ktype = {
/kernel/linux/linux-5.10/drivers/cpuidle/
Dsysfs.c203 static struct kobj_type ktype_cpuidle = {
449 static struct kobj_type ktype_state_cpuidle = {
595 static struct kobj_type ktype_driver_cpuidle = {
/kernel/linux/linux-5.10/drivers/md/
Ddm-sysfs.c121 static struct kobj_type dm_ktype = {
/kernel/linux/linux-5.10/Documentation/core-api/
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
/kernel/linux/linux-5.10/drivers/of/
Dkobj.c27 struct kobj_type of_node_ktype = {

12345