Home
last modified time | relevance | path

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

/linux-3.4.99/lib/
Dkobject.c270 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init() function
297 EXPORT_SYMBOL(kobject_init);
379 kobject_init(kobj, ktype); in kobject_init_and_add()
637 kobject_init(kobj, &dynamic_kobj_ktype); in kobject_create()
/linux-3.4.99/drivers/firmware/
Dmemmap.c119 kobject_init(&entry->kobj, &memmap_ktype); in firmware_map_add_entry()
/linux-3.4.99/Documentation/
Dkobject.txt117 of the internal fields are setup with a (mandatory) call to kobject_init():
119 void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
122 must have an associated kobj_type. After calling kobject_init(), to
159 The arguments are the same as the individual kobject_init() and
196 reference count and, possibly, free the object. Note that kobject_init()
256 is good practice to always use kobject_put() after kobject_init() to avoid
295 call kobject_init() or kobject_init_and_add().
/linux-3.4.99/fs/
Dchar_dev.c529 kobject_init(&p->kobj, &ktype_cdev_dynamic); in cdev_alloc()
546 kobject_init(&cdev->kobj, &ktype_cdev_default); in cdev_init()
/linux-3.4.99/include/linux/
Dkobject.h85 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
/linux-3.4.99/drivers/uio/
Duio.c289 kobject_init(&map->kobj, &map_attr_type); in uio_dev_add_attributes()
314 kobject_init(&portio->kobj, &portio_attr_type); in uio_dev_add_attributes()
/linux-3.4.99/drivers/base/
Dcore.c651 kobject_init(&dev->kobj, &device_ktype); in device_initialize()
709 kobject_init(&dir->kobj, &class_dir_ktype); in class_dir_create_and_add()
/linux-3.4.99/block/
Delevator.c160 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()
Dblk-core.c514 kobject_init(&q->kobj, &blk_queue_ktype); in blk_alloc_queue_node()
/linux-3.4.99/kernel/
Dpadata.c1099 kobject_init(&pinst->kobj, &padata_attr_type); in padata_alloc()
/linux-3.4.99/drivers/infiniband/core/
Duser_mad.c1153 kobject_init(&umad_dev->kobj, &ib_umad_dev_ktype); in ib_umad_add_one()
/linux-3.4.99/drivers/md/
Dmd.c3153 kobject_init(&rdev->kobj, &rdev_ktype); in md_import_device()