Home
last modified time | relevance | path

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

/linux/lib/
H A 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/drivers/infiniband/hw/mlx4/
H A Dsysfs.c254 kobject_get(device->ports_parent)); in add_port_entries()
261 kobject_get(port->cur_port)); in add_port_entries()
278 kobject_get(port->cur_port)); in add_port_entries()
297 kobject_create_and_add("pkeys", kobject_get(port->cur_port)); in add_port_entries()
316 kobject_create_and_add("mcgs", kobject_get(port->cur_port)); in add_port_entries()
640 kobject_get(dev->dev_ports_parent[slave]), in add_port()
704 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
715 kobject_get(dev->pkeys.device_parent[slave])); in register_one_pkey_tree()
812 kobject_get(dev->iov_parent)); in mlx4_ib_device_register_sysfs()
/linux/include/linux/
H A Dkobject.h108 struct kobject *kobject_get(struct kobject *kobj);
188 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
/linux/drivers/infiniband/hw/usnic/
H A 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/Documentation/translations/zh_CN/core-api/
H A Dkobject.rst172 struct kobject *kobject_get(struct kobject *kobj);
175kobject_get()的成功调用将增加kobject的引用计数器值并返回kobject的指针。
/linux/block/
H A Dholder.c82 kobject_get(bdev->bd_holder_dir); in bd_link_disk_holder()
/linux/fs/ocfs2/
H A Dfilecheck.c114 kobject_get(kobj); in ocfs2_filecheck_show()
129 kobject_get(kobj); in ocfs2_filecheck_store()
/linux/drivers/vfio/mdev/
H A Dmdev_core.c170 kobject_get(&type->kobj); in mdev_device_create()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-elog.c246 kobject_get(&elog->kobj); in create_elog_obj()
H A Dopal-dump.c372 kobject_get(&dump->kobj); in create_dump_obj()
/linux/drivers/pci/
H A Dslot.c203 kobject_get(&slot->kobj); in get_slot()
/linux/fs/
H A Dchar_dev.c493 kobject_get(p->kobj.parent); in cdev_add()
/linux/fs/sysfs/
H A Dfile.c468 kobject_get(kobj); in sysfs_break_active_protection()
/linux/drivers/iommu/
H A Diommu.c1435 kobject_get(group->devices_kobj); in iommu_group_get()
1450 kobject_get(group->devices_kobj); in iommu_group_ref_get()
/linux/drivers/base/
H A Dcore.c3274 kobj = kobject_get(k); in get_device_parent()
3802 return dev ? kobj_to_dev(kobject_get(&dev->kobj)) : NULL; in get_device()
/linux/net/core/
H A Dnet-sysfs.c2308 kobject_get(&dev->kobj); in netdev_unregister_kobject()
/linux/drivers/cpufreq/
H A Dcpufreq.c247 kobject_get(&policy->kobj); in cpufreq_cpu_get()
/linux/kernel/sched/
H A Dext.c7187 kobject_get(&parent->kobj); in scx_sub_enable_workfn()