Home
last modified time | relevance | path

Searched refs:kobject_get (Results 1 – 25 of 43) sorted by relevance

12

/OK3568_Linux_fs/kernel/lib/
H A Dkobject.c240 parent = kobject_get(kobj->parent); in kobject_add_internal()
245 parent = kobject_get(&kobj->kset->kobj); in kobject_add_internal()
498 kobj = kobject_get(kobj); in kobject_rename()
562 kobj = kobject_get(kobj); in kobject_move()
565 new_parent = kobject_get(new_parent); in kobject_move()
568 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()
652 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() function
663 EXPORT_SYMBOL(kobject_get);
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dsysfs.c253 kobject_get(device->ports_parent)); in add_port_entries()
260 kobject_get(port->cur_port)); in add_port_entries()
277 kobject_get(port->cur_port)); in add_port_entries()
296 kobject_create_and_add("pkeys", kobject_get(port->cur_port)); in add_port_entries()
315 kobject_create_and_add("mcgs", kobject_get(port->cur_port)); in add_port_entries()
652 kobject_get(dev->dev_ports_parent[slave]), in add_port()
716 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
727 kobject_get(dev->pkeys.device_parent[slave])); in register_one_pkey_tree()
824 kobject_get(dev->iov_parent)); in mlx4_ib_device_register_sysfs()
/OK3568_Linux_fs/kernel/drivers/base/
H A Dswnode.c367 kobject_get(&swnode->kobj); in software_node_get()
485 kobject_get(&child->kobj); in software_node_get_named_child_node()
597 kobject_get(&swnode->kobj); in software_node_find_by_name()
886 kobject_get(&swnode->kobj); in device_add_software_node()
952 kobject_get(&swnode->kobj); in software_node_notify()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkobject.h117 extern struct kobject *kobject_get(struct kobject *kobj);
229 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c276 kobject_get(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
300 kobject_get(us_ibdev->qpn_kobj), in usnic_ib_sysfs_qpn_add()
/OK3568_Linux_fs/kernel/block/
H A Dblk-mq-sysfs.c307 kobject_get(q->mq_kobj); in blk_mq_sysfs_init()
320 ret = kobject_add(q->mq_kobj, kobject_get(&dev->kobj), "%s", "mq"); in __blk_mq_register_dev()
H A Dblk.h44 kobject_get(&q->kobj); in __blk_get_queue()
H A Dblk-sysfs.c873 ret = kobject_add(&q->kobj, kobject_get(&dev->kobj), "%s", "queue"); in blk_register_queue()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dhost-bridge.c32 kobject_get(&bridge->kobj); in pci_get_host_bridge_device()
H A Dslot.c180 kobject_get(&slot->kobj); in get_slot()
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_manager.c114 kobject_get(&module->kobj); in gb_audio_manager_get_module()
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dfilecheck.c115 kobject_get(kobj); in ocfs2_filecheck_show()
130 kobject_get(kobj); in ocfs2_filecheck_store()
/OK3568_Linux_fs/kernel/drivers/edac/
H A Dedac_device_sysfs.c528 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()
627 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_instance()
H A Dedac_pci_sysfs.c167 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c334 kobject_get(&adev->hive->kobj); in amdgpu_get_xgmi_hive()
385 kobject_get(&hive->kobj); in amdgpu_get_xgmi_hive()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dopal-elog.c245 kobject_get(&elog->kobj); in create_elog_obj()
H A Dopal-dump.c371 kobject_get(&dump->kobj); in create_dump_obj()
/OK3568_Linux_fs/kernel/drivers/pps/
H A Dpps.c304 kobject_get(&pps->dev->kobj); in pps_cdev_open()
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Diommu.c655 kobject_get(group->devices_kobj); in iommu_group_get_by_id()
839 kobject_get(group->devices_kobj); in iommu_group_add_device()
988 kobject_get(group->devices_kobj); in iommu_group_get()
1003 kobject_get(group->devices_kobj); in iommu_group_ref_get()
/OK3568_Linux_fs/kernel/fs/
H A Dchar_dev.c494 kobject_get(p->kobj.parent); in cdev_add()
/OK3568_Linux_fs/kernel/fs/sysfs/
H A Dfile.c428 kobject_get(kobj); in sysfs_break_active_protection()
/OK3568_Linux_fs/kernel/drivers/of/
H A Ddynamic.c35 kobject_get(&node->kobj); in of_node_get()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dkobject.rst194 struct kobject *kobject_get(struct kobject *kobj);
197 A successful call to kobject_get() will increment the kobject's reference
/OK3568_Linux_fs/kernel/drivers/lightnvm/
H A Dpblk-sysfs.c710 kobject_get(&parent_dev->kobj), in pblk_sysfs_init()
/OK3568_Linux_fs/kernel/kernel/
H A Dparams.c772 kobject_get(&mk->kobj); in locate_module_kobject()

12