Home
last modified time | relevance | path

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

12

/linux-6.6.21/lib/
Dkobject.c225 parent = kobject_get(kobj->parent); in kobject_add_internal()
230 parent = kobject_get(&kobj->kset->kobj); in kobject_add_internal()
482 kobj = kobject_get(kobj); in kobject_rename()
546 kobj = kobject_get(kobj); in kobject_move()
549 new_parent = kobject_get(new_parent); in kobject_move()
552 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()
636 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() function
647 EXPORT_SYMBOL(kobject_get);
/linux-6.6.21/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.6.21/include/linux/
Dkobject.h108 struct kobject *kobject_get(struct kobject *kobj);
188 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
/linux-6.6.21/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.6.21/drivers/base/
Dswnode.c370 kobject_get(&swnode->kobj); in software_node_get()
485 kobject_get(&child->kobj); in software_node_get_named_child_node()
710 kobject_get(&swnode->kobj); in software_node_find_by_name()
976 kobject_get(&swnode->kobj); in device_add_software_node()
1081 kobject_get(&swnode->kobj); in software_node_notify()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dkobject.rst172 struct kobject *kobject_get(struct kobject *kobj);
175kobject_get()的成功调用将增加kobject的引用计数器值并返回kobject的指针。
/linux-6.6.21/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.6.21/block/
Dholder.c80 kobject_get(bdev->bd_holder_dir); in bd_link_disk_holder()
Dblk-mq-sysfs.c214 kobject_get(q->mq_kobj); in blk_mq_sysfs_init()
/linux-6.6.21/drivers/staging/greybus/
Daudio_manager.c114 kobject_get(&module->kobj); in gb_audio_manager_get_module()
/linux-6.6.21/fs/ocfs2/
Dfilecheck.c114 kobject_get(kobj); in ocfs2_filecheck_show()
129 kobject_get(kobj); in ocfs2_filecheck_store()
/linux-6.6.21/drivers/vfio/mdev/
Dmdev_core.c170 kobject_get(&type->kobj); in mdev_device_create()
/linux-6.6.21/drivers/edac/
Dedac_device_sysfs.c530 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()
629 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.6.21/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.6.21/drivers/pps/
Dpps.c304 kobject_get(&pps->dev->kobj); in pps_cdev_open()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c489 kobject_get(&adev->hive->kobj); in amdgpu_get_xgmi_hive()
566 kobject_get(&hive->kobj); in amdgpu_get_xgmi_hive()
/linux-6.6.21/fs/
Dchar_dev.c496 kobject_get(p->kobj.parent); in cdev_add()
/linux-6.6.21/fs/sysfs/
Dfile.c449 kobject_get(kobj); in sysfs_break_active_protection()
/linux-6.6.21/drivers/of/
Ddynamic.c35 kobject_get(&node->kobj); in of_node_get()
/linux-6.6.21/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
/linux-6.6.21/kernel/
Dparams.c791 kobject_get(&mk->kobj); in locate_module_kobject()
/linux-6.6.21/drivers/iommu/
Diommu.c1262 kobject_get(group->devices_kobj); in iommu_group_get()
1277 kobject_get(group->devices_kobj); in iommu_group_ref_get()

12