Home
last modified time | relevance | path

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

12

/linux-6.1.9/lib/
Dkobject.c208 parent = kobject_get(kobj->parent); in kobject_add_internal()
213 parent = kobject_get(&kobj->kset->kobj); in kobject_add_internal()
466 kobj = kobject_get(kobj); in kobject_rename()
530 kobj = kobject_get(kobj); in kobject_move()
533 new_parent = kobject_get(new_parent); in kobject_move()
536 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()
620 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() function
631 EXPORT_SYMBOL(kobject_get);
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dsysfs.c255 kobject_get(device->ports_parent)); in add_port_entries()
262 kobject_get(port->cur_port)); in add_port_entries()
279 kobject_get(port->cur_port)); in add_port_entries()
298 kobject_create_and_add("pkeys", kobject_get(port->cur_port)); in add_port_entries()
317 kobject_create_and_add("mcgs", kobject_get(port->cur_port)); in add_port_entries()
642 kobject_get(dev->dev_ports_parent[slave]), in add_port()
706 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
717 kobject_get(dev->pkeys.device_parent[slave])); in register_one_pkey_tree()
814 kobject_get(dev->iov_parent)); in mlx4_ib_device_register_sysfs()
/linux-6.1.9/include/linux/
Dkobject.h110 extern struct kobject *kobject_get(struct kobject *kobj);
193 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
/linux-6.1.9/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c255 kobject_get(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
279 kobject_get(us_ibdev->qpn_kobj), in usnic_ib_sysfs_qpn_add()
/linux-6.1.9/drivers/base/
Dswnode.c370 kobject_get(&swnode->kobj); in software_node_get()
485 kobject_get(&child->kobj); in software_node_get_named_child_node()
707 kobject_get(&swnode->kobj); in software_node_find_by_name()
1034 kobject_get(&swnode->kobj); in device_add_software_node()
1139 kobject_get(&swnode->kobj); in software_node_notify()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dkobject.rst172 struct kobject *kobject_get(struct kobject *kobj);
175kobject_get()的成功调用将增加kobject的引用计数器值并返回kobject的指针。
/linux-6.1.9/drivers/pci/
Dhost-bridge.c33 kobject_get(&bridge->kobj); in pci_get_host_bridge_device()
Dslot.c181 kobject_get(&slot->kobj); in get_slot()
/linux-6.1.9/drivers/staging/greybus/
Daudio_manager.c114 kobject_get(&module->kobj); in gb_audio_manager_get_module()
/linux-6.1.9/block/
Dholder.c110 kobject_get(bdev->bd_holder_dir); in bd_link_disk_holder()
Dblk-mq-sysfs.c240 kobject_get(q->mq_kobj); in blk_mq_sysfs_init()
Dblk-core.c457 kobject_get(&q->kobj); in blk_get_queue()
/linux-6.1.9/fs/ocfs2/
Dfilecheck.c114 kobject_get(kobj); in ocfs2_filecheck_show()
129 kobject_get(kobj); in ocfs2_filecheck_store()
/linux-6.1.9/drivers/vfio/mdev/
Dmdev_core.c176 kobject_get(&type->kobj); in mdev_device_create()
/linux-6.1.9/drivers/edac/
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()
Dedac_pci_sysfs.c168 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-elog.c246 kobject_get(&elog->kobj); in create_elog_obj()
Dopal-dump.c372 kobject_get(&dump->kobj); in create_dump_obj()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c363 kobject_get(&adev->hive->kobj); in amdgpu_get_xgmi_hive()
439 kobject_get(&hive->kobj); in amdgpu_get_xgmi_hive()
/linux-6.1.9/drivers/pps/
Dpps.c304 kobject_get(&pps->dev->kobj); in pps_cdev_open()
/linux-6.1.9/fs/
Dchar_dev.c494 kobject_get(p->kobj.parent); in cdev_add()
/linux-6.1.9/drivers/iommu/
Diommu.c787 kobject_get(group->devices_kobj); in iommu_group_get_by_id()
981 kobject_get(group->devices_kobj); in iommu_group_add_device()
1121 kobject_get(group->devices_kobj); in iommu_group_get()
1136 kobject_get(group->devices_kobj); in iommu_group_ref_get()
/linux-6.1.9/drivers/of/
Ddynamic.c35 kobject_get(&node->kobj); in of_node_get()
/linux-6.1.9/fs/sysfs/
Dfile.c449 kobject_get(kobj); in sysfs_break_active_protection()
/linux-6.1.9/Documentation/core-api/
Dkobject.rst194 struct kobject *kobject_get(struct kobject *kobj);
197 A successful call to kobject_get() will increment the kobject's reference

12