Home
last modified time | relevance | path

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

12

/Linux-v6.6/lib/
Dkobject.c223 parent = kobject_get(kobj->parent); in kobject_add_internal()
228 parent = kobject_get(&kobj->kset->kobj); in kobject_add_internal()
480 kobj = kobject_get(kobj); in kobject_rename()
544 kobj = kobject_get(kobj); in kobject_move()
547 new_parent = kobject_get(new_parent); in kobject_move()
550 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()
633 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() function
644 EXPORT_SYMBOL(kobject_get);
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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()
973 kobject_get(&swnode->kobj); in device_add_software_node()
1078 kobject_get(&swnode->kobj); in software_node_notify()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dkobject.rst172 struct kobject *kobject_get(struct kobject *kobj);
175kobject_get()的成功调用将增加kobject的引用计数器值并返回kobject的指针。
/Linux-v6.6/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-v6.6/drivers/staging/greybus/
Daudio_manager.c114 kobject_get(&module->kobj); in gb_audio_manager_get_module()
/Linux-v6.6/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-v6.6/fs/ocfs2/
Dfilecheck.c114 kobject_get(kobj); in ocfs2_filecheck_show()
129 kobject_get(kobj); in ocfs2_filecheck_store()
/Linux-v6.6/drivers/vfio/mdev/
Dmdev_core.c170 kobject_get(&type->kobj); in mdev_device_create()
/Linux-v6.6/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-v6.6/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-v6.6/drivers/pps/
Dpps.c304 kobject_get(&pps->dev->kobj); in pps_cdev_open()
/Linux-v6.6/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-v6.6/fs/
Dchar_dev.c496 kobject_get(p->kobj.parent); in cdev_add()
/Linux-v6.6/fs/sysfs/
Dfile.c449 kobject_get(kobj); in sysfs_break_active_protection()
/Linux-v6.6/drivers/of/
Ddynamic.c35 kobject_get(&node->kobj); in of_node_get()
/Linux-v6.6/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-v6.6/kernel/
Dparams.c791 kobject_get(&mk->kobj); in locate_module_kobject()
/Linux-v6.6/drivers/iommu/
Diommu.c1264 kobject_get(group->devices_kobj); in iommu_group_get()
1279 kobject_get(group->devices_kobj); in iommu_group_ref_get()

12