/Linux-v4.19/drivers/md/bcache/ |
D | stats.c | 234 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init() 235 kobject_init(&acc->five_minute.kobj, &bch_stats_ktype); in bch_cache_accounting_init() 236 kobject_init(&acc->hour.kobj, &bch_stats_ktype); in bch_cache_accounting_init() 237 kobject_init(&acc->day.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
|
D | super.c | 1238 kobject_init(&dc->disk.kobj, &bch_cached_dev_ktype); in cached_dev_init() 1366 kobject_init(&d->kobj, &bch_flash_dev_ktype); in flash_dev_run() 1705 kobject_init(&c->kobj, &bch_cache_set_ktype); in bch_cache_set_alloc() 1706 kobject_init(&c->internal, &bch_cache_set_internal_ktype); in bch_cache_set_alloc() 2054 kobject_init(&ca->kobj, &bch_cache_ktype); in cache_alloc()
|
/Linux-v4.19/block/ |
D | blk-mq-sysfs.c | 270 kobject_init(&hctx->kobj, &blk_mq_hw_ktype); in blk_mq_hctx_kobj_init() 290 kobject_init(&q->mq_kobj, &blk_mq_ktype); in blk_mq_sysfs_init() 294 kobject_init(&ctx->kobj, &blk_mq_ctx_ktype); in blk_mq_sysfs_init()
|
D | elevator.c | 184 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()
|
D | blk-core.c | 1046 kobject_init(&q->kobj, &blk_queue_ktype); in blk_alloc_queue_node()
|
/Linux-v4.19/lib/ |
D | kobject.c | 341 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init() function 368 EXPORT_SYMBOL(kobject_init); 450 kobject_init(kobj, ktype); in kobject_init_and_add() 743 kobject_init(kobj, &dynamic_kobj_ktype); in kobject_create()
|
/Linux-v4.19/Documentation/ |
D | kobject.txt | 119 of the internal fields are setup with a (mandatory) call to kobject_init():: 121 void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 124 must have an associated kobj_type. After calling kobject_init(), to 162 The arguments are the same as the individual kobject_init() and 201 reference count and, possibly, free the object. Note that kobject_init() 265 is good practice to always use kobject_put() after kobject_init() to avoid 306 call kobject_init() or kobject_init_and_add().
|
/Linux-v4.19/include/linux/ |
D | kobject.h | 94 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
|
D | of.h | 111 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
|
/Linux-v4.19/drivers/firmware/efi/ |
D | runtime-map.c | 126 kobject_init(&entry->kobj, &map_ktype); in add_sysfs_runtime_map_entry()
|
/Linux-v4.19/fs/ |
D | char_dev.c | 638 kobject_init(&p->kobj, &ktype_cdev_dynamic); in cdev_alloc() 655 kobject_init(&cdev->kobj, &ktype_cdev_default); in cdev_init()
|
/Linux-v4.19/drivers/firmware/ |
D | memmap.c | 160 kobject_init(&entry->kobj, &memmap_ktype); in firmware_map_add_entry()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | cpuinfo.c | 292 kobject_init(&info->kobj, &cpuregs_kobj_type); in cpuinfo_regs_init()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 197 kobject_init(&elog->kobj, &elog_ktype); in create_elog_obj()
|
D | opal-dump.c | 337 kobject_init(&dump->kobj, &dump_ktype); in create_dump_obj()
|
/Linux-v4.19/drivers/uio/ |
D | uio.c | 309 kobject_init(&map->kobj, &map_attr_type); in uio_dev_add_attributes() 338 kobject_init(&portio->kobj, &portio_attr_type); in uio_dev_add_attributes()
|
/Linux-v4.19/sound/hda/ |
D | hdac_sysfs.c | 347 kobject_init(kobj, &widget_ktype); in add_widget_node()
|
/Linux-v4.19/kernel/irq/ |
D | irqdesc.c | 396 kobject_init(&desc->kobj, &irq_kobj_type); in alloc_desc()
|
/Linux-v4.19/kernel/ |
D | padata.c | 1047 kobject_init(&pinst->kobj, &padata_attr_type); in padata_alloc()
|
/Linux-v4.19/drivers/base/ |
D | core.c | 1485 kobject_init(&dev->kobj, &device_ktype); in device_initialize() 1550 kobject_init(&dir->kobj, &class_dir_ktype); in class_dir_create_and_add()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | uverbs_main.c | 1035 kobject_init(&uverbs_dev->kobj, &ib_uverbs_dev_ktype); in ib_uverbs_add_one()
|
D | user_mad.c | 1282 kobject_init(&umad_dev->kobj, &ib_umad_dev_ktype); in ib_umad_add_one()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | init.c | 1343 kobject_init(&dd->kobj, &hfi1_devdata_type); in hfi1_alloc_devdata()
|
/Linux-v4.19/drivers/md/ |
D | md.c | 556 kobject_init(&mddev->kobj, &md_ktype); in mddev_init() 3477 kobject_init(&rdev->kobj, &rdev_ktype); in md_import_device()
|
/Linux-v4.19/mm/ |
D | slub.c | 5682 kobject_init(&s->kobj, &slab_ktype); in sysfs_slab_add()
|