Searched refs:kobject_init (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/lib/ |
D | kobject.c | 270 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/ |
D | memmap.c | 119 kobject_init(&entry->kobj, &memmap_ktype); in firmware_map_add_entry()
|
/linux-3.4.99/Documentation/ |
D | kobject.txt | 117 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/ |
D | char_dev.c | 529 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/ |
D | kobject.h | 85 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
|
/linux-3.4.99/drivers/uio/ |
D | uio.c | 289 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/ |
D | core.c | 651 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/ |
D | elevator.c | 160 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()
|
D | blk-core.c | 514 kobject_init(&q->kobj, &blk_queue_ktype); in blk_alloc_queue_node()
|
/linux-3.4.99/kernel/ |
D | padata.c | 1099 kobject_init(&pinst->kobj, &padata_attr_type); in padata_alloc()
|
/linux-3.4.99/drivers/infiniband/core/ |
D | user_mad.c | 1153 kobject_init(&umad_dev->kobj, &ib_umad_dev_ktype); in ib_umad_add_one()
|
/linux-3.4.99/drivers/md/ |
D | md.c | 3153 kobject_init(&rdev->kobj, &rdev_ktype); in md_import_device()
|