/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_sysfs.h | 10 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()
|
D | xfs_sysfs.c | 70 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/ |
D | kobject.h | 69 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/ |
D | kobject.c | 68 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/ |
D | cpufreq_governor.h | 128 struct kobj_type kobj_type; member
|
D | cpufreq_governor.c | 449 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/ |
D | sysfs.c | 34 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/ |
D | bcache.h | 1008 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;
|
D | sysfs.h | 6 struct kobj_type type ## _ktype = { \
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv-sysfs.c | 36 static struct kobj_type dev_ktype = { 151 static struct kobj_type rnbd_srv_sess_dev_ktype = {
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
D | sysfs.c | 75 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add() 162 struct kobj_type ioat_ktype = {
|
D | dma.h | 200 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/ |
D | orangefs-sysfs.c | 898 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/ |
D | blk-mq-sysfs.c | 211 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/ |
D | sysfs.c | 203 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/ |
D | rtrs-srv-sysfs.c | 24 static struct kobj_type ktype = { 231 static struct kobj_type ktype_stats = {
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 246 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/ |
D | edac_device_sysfs.c | 217 static struct kobj_type ktype_device_ctrl = { 399 static struct kobj_type ktype_instance_ctrl = { 497 static struct kobj_type ktype_block_ctrl = {
|
D | edac_pci_sysfs.c | 145 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/ |
D | topology.c | 286 static struct kobj_type cache_ktype = { 291 static struct kobj_type cache_ktype_percpu_entry = {
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
D | dma-buf-sysfs-stats.c | 115 static struct kobj_type dma_buf_ktype = {
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | sysfs.c | 203 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/ |
D | dm-sysfs.c | 121 static struct kobj_type dm_ktype = {
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | kobject.rst | 121 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/ |
D | kobj.c | 27 struct kobj_type of_node_ktype = {
|