Home
last modified time | relevance | path

Searched refs:kobject_init (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dstats.c238 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
239 kobject_init(&acc->five_minute.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
240 kobject_init(&acc->hour.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
241 kobject_init(&acc->day.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
H A Dsuper.c1433 kobject_init(&dc->disk.kobj, &bch_cached_dev_ktype); in cached_dev_init()
1564 kobject_init(&d->kobj, &bch_flash_dev_ktype); in flash_dev_run()
1900 kobject_init(&c->kobj, &bch_cache_set_ktype); in bch_cache_set_alloc()
1901 kobject_init(&c->internal, &bch_cache_set_internal_ktype); in bch_cache_set_alloc()
2261 kobject_init(&ca->kobj, &bch_cache_ktype); in cache_alloc()
/OK3568_Linux_fs/kernel/block/
H A Dblk-mq-sysfs.c282 kobject_init(&hctx->kobj, &blk_mq_hw_ktype); in blk_mq_hctx_kobj_init()
302 kobject_init(q->mq_kobj, &blk_mq_ktype); in blk_mq_sysfs_init()
308 kobject_init(&ctx->kobj, &blk_mq_ctx_ktype); in blk_mq_sysfs_init()
H A Delevator.c174 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()
H A Dblk-core.c564 kobject_init(&q->kobj, &blk_queue_ktype); in blk_alloc_queue()
/OK3568_Linux_fs/kernel/lib/
H A Dkobject.c349 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init() function
376 EXPORT_SYMBOL(kobject_init);
470 kobject_init(kobj, ktype); in kobject_init_and_add()
788 kobject_init(kobj, &dynamic_kobj_ktype); in kobject_create()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dkobject.rst119 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
312 call kobject_init() or kobject_init_and_add().
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c437 kobject_init(&ke->base, &kobj_engine_type); in kobj_engine()
465 kobject_init(&ke->base, &kobj_engine_type); in add_defaults()
/OK3568_Linux_fs/kernel/fs/incfs/
H A Dsysfs.c172 kobject_init(&node->isn_sysfs_node, &incfs_kobj_node_ktype); in incfs_add_sysfs_node()
/OK3568_Linux_fs/kernel/kernel/livepatch/
H A Dcore.c854 kobject_init(&func->kobj, &klp_ktype_func); in klp_init_func_early()
862 kobject_init(&obj->kobj, &klp_ktype_object); in klp_init_object_early()
876 kobject_init(&patch->kobj, &klp_ktype_patch); in klp_init_patch_early()
/OK3568_Linux_fs/kernel/fs/
H A Dchar_dev.c638 kobject_init(&p->kobj, &ktype_cdev_dynamic); in cdev_alloc()
655 kobject_init(&cdev->kobj, &ktype_cdev_default); in cdev_init()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Druntime-map.c125 kobject_init(&entry->kobj, &map_ktype); in add_sysfs_runtime_map_entry()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkobject.h99 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
H A Dof.h109 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsecvar-sysfs.c193 kobject_init(kobj, &secvar_ktype); in secvar_sysfs_load()
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Dmemmap.c151 kobject_init(&entry->kobj, &memmap_ktype); in firmware_map_add_entry()
H A Dturris-mox-rwtm.c118 kobject_init(rwtm_to_kobj(rwtm), &mox_kobj_ktype); in mox_kobj_create()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dopal-elog.c198 kobject_init(&elog->kobj, &elog_ktype); in create_elog_obj()
H A Dopal-dump.c337 kobject_init(&dump->kobj, &dump_ktype); in create_dump_obj()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dcpuinfo.c326 kobject_init(&info->kobj, &cpuregs_kobj_type); in cpuinfo_regs_init()
/OK3568_Linux_fs/kernel/drivers/uio/
H A Duio.c311 kobject_init(&map->kobj, &map_attr_type); in uio_dev_add_attributes()
340 kobject_init(&portio->kobj, &portio_attr_type); in uio_dev_add_attributes()
/OK3568_Linux_fs/kernel/sound/hda/
H A Dhdac_sysfs.c347 kobject_init(kobj, &widget_ktype); in add_widget_node()
/OK3568_Linux_fs/kernel/kernel/irq/
H A Dirqdesc.c412 kobject_init(&desc->kobj, &irq_kobj_type); in alloc_desc()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_virtual_device206 kobject_init
/OK3568_Linux_fs/kernel/kernel/
H A Dpadata.c1019 kobject_init(&pinst->kobj, &padata_attr_type); in padata_alloc()

12