Home
last modified time | relevance | path

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

12

/Linux-v4.19/lib/
Dkobject.c232 parent = kobject_get(kobj->parent); in kobject_add_internal()
237 parent = kobject_get(&kobj->kset->kobj); in kobject_add_internal()
478 kobj = kobject_get(kobj); in kobject_rename()
540 kobj = kobject_get(kobj); in kobject_move()
543 new_parent = kobject_get(new_parent); in kobject_move()
546 new_parent = kobject_get(&kobj->kset->kobj); in kobject_move()
606 struct kobject *kobject_get(struct kobject *kobj) in kobject_get() function
617 EXPORT_SYMBOL(kobject_get);
/Linux-v4.19/drivers/infiniband/hw/mlx4/
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()
656 kobject_get(dev->dev_ports_parent[slave]), in add_port()
720 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
731 kobject_get(dev->pkeys.device_parent[slave])); in register_one_pkey_tree()
823 kobject_get(dev->ib_dev.ports_parent->parent)); in mlx4_ib_device_register_sysfs()
830 kobject_get(dev->iov_parent)); in mlx4_ib_device_register_sysfs()
/Linux-v4.19/include/linux/
Dkobject.h112 extern struct kobject *kobject_get(struct kobject *kobj);
213 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c294 kobject_get(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
324 kobject_get(us_ibdev->qpn_kobj), in usnic_ib_sysfs_qpn_add()
/Linux-v4.19/drivers/pci/
Dhost-bridge.c32 kobject_get(&bridge->kobj); in pci_get_host_bridge_device()
Dslot.c216 kobject_get(&slot->kobj); in get_slot()
/Linux-v4.19/drivers/staging/greybus/
Daudio_manager.c111 kobject_get(&module->kobj); in gb_audio_manager_get_module()
/Linux-v4.19/fs/ocfs2/
Dfilecheck.c123 kobject_get(kobj); in ocfs2_filecheck_show()
138 kobject_get(kobj); in ocfs2_filecheck_store()
/Linux-v4.19/fs/
Dchar_dev.c358 kobj = kobject_get(&p->kobj); in cdev_get()
494 kobject_get(p->kobj.parent); in cdev_add()
/Linux-v4.19/drivers/edac/
Dedac_device_sysfs.c527 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()
626 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_instance()
Dedac_pci_sysfs.c167 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
/Linux-v4.19/drivers/iommu/
Diommu.c447 kobject_get(group->devices_kobj); in iommu_group_get_by_id()
621 kobject_get(group->devices_kobj); in iommu_group_add_device()
768 kobject_get(group->devices_kobj); in iommu_group_get()
783 kobject_get(group->devices_kobj); in iommu_group_ref_get()
/Linux-v4.19/block/
Dblk.h123 kobject_get(&q->kobj); in __blk_get_queue()
Dblk-mq-sysfs.c306 ret = kobject_add(&q->mq_kobj, kobject_get(&dev->kobj), "%s", "mq"); in __blk_mq_register_dev()
Dblk-sysfs.c923 ret = kobject_add(&q->kobj, kobject_get(&dev->kobj), "%s", "queue"); in blk_register_queue()
/Linux-v4.19/drivers/pps/
Dpps.c310 kobject_get(&pps->dev->kobj); in pps_cdev_open()
/Linux-v4.19/fs/sysfs/
Dfile.c427 kobject_get(kobj); in sysfs_break_active_protection()
/Linux-v4.19/drivers/of/
Ddynamic.c35 kobject_get(&node->kobj); in of_node_get()
/Linux-v4.19/drivers/infiniband/core/
Duser_mad.c989 kobject_get(&port->umad_dev->kobj); in ib_umad_open()
1079 kobject_get(&port->umad_dev->kobj); in ib_umad_sm_open()
Duverbs_main.c881 kobject_get(&dev->kobj); in ib_uverbs_open()
/Linux-v4.19/drivers/lightnvm/
Dpblk-sysfs.c697 kobject_get(&parent_dev->kobj), in pblk_sysfs_init()
/Linux-v4.19/Documentation/
Dkobject.txt194 struct kobject *kobject_get(struct kobject *kobj);
197 A successful call to kobject_get() will increment the kobject's reference
/Linux-v4.19/kernel/
Dparams.c772 kobject_get(&mk->kobj); in locate_module_kobject()
/Linux-v4.19/net/batman-adv/
Dsysfs.c842 kobject_get(bat_priv->mesh_obj); in batadv_sysfs_add_vlan()
/Linux-v4.19/drivers/base/
Dcore.c1599 kobj = kobject_get(k); in get_device_parent()
2012 return dev ? kobj_to_dev(kobject_get(&dev->kobj)) : NULL; in get_device()

12