Home
last modified time | relevance | path

Searched refs:kobject_name (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/lib/
Dkobject.c107 if (kobject_name(parent) == NULL) in get_kobj_path_length()
109 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
121 int cur = strlen(kobject_name(parent)); in fill_kobj_path()
124 memcpy(path + length, kobject_name(parent), cur); in fill_kobj_path()
128 pr_debug("kobject: '%s' (%p): %s: path = '%s'\n", kobject_name(kobj), in fill_kobj_path()
219 kobject_name(kobj), kobj, __func__, in kobject_add_internal()
220 parent ? kobject_name(parent) : "<NULL>", in kobject_add_internal()
221 kobj->kset ? kobject_name(&kobj->kset->kobj) : "<NULL>"); in kobject_add_internal()
232 __func__, kobject_name(kobj)); in kobject_add_internal()
235 __func__, kobject_name(kobj), error, in kobject_add_internal()
[all …]
Dkobject_uevent.c478 kobject_name(kobj), kobj, __func__); in kobject_uevent_env()
487 "without kset!\n", kobject_name(kobj), kobj, in kobject_uevent_env()
499 kobject_name(kobj), kobj, __func__); in kobject_uevent_env()
507 kobject_name(kobj), kobj, __func__); in kobject_uevent_env()
515 subsystem = kobject_name(&kset->kobj); in kobject_uevent_env()
518 "event to drop!\n", kobject_name(kobj), kobj, in kobject_uevent_env()
560 "%d\n", kobject_name(kobj), kobj, in kobject_uevent_env()
/linux-6.1.9/drivers/base/
Dnode.c659 kobject_name(&obj->kobj)); in register_cpu_under_node()
665 kobject_name(&node_devices[nid]->dev.kobj)); in register_cpu_under_node()
730 kobject_name(&obj->kobj)); in unregister_cpu_under_node()
732 kobject_name(&node_devices[nid]->dev.kobj)); in unregister_cpu_under_node()
757 kobject_name(&mem_blk->dev.kobj)); in do_register_memory_block_under_node()
761 kobject_name(&mem_blk->dev.kobj), ret); in do_register_memory_block_under_node()
765 kobject_name(&node_devices[nid]->dev.kobj)); in do_register_memory_block_under_node()
769 kobject_name(&node_devices[nid]->dev.kobj), in do_register_memory_block_under_node()
836 kobject_name(&mem_blk->dev.kobj)); in unregister_memory_block_under_nodes()
838 kobject_name(&node_devices[mem_blk->nid]->dev.kobj)); in unregister_memory_block_under_nodes()
Ddd.c397 __func__, kobject_name(&dev->kobj)); in driver_bound()
443 kobject_name(&dev->kobj)); in driver_sysfs_add()
463 kobject_name(&dev->kobj)); in driver_sysfs_add()
476 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); in driver_sysfs_remove()
Dswnode.c416 return kobject_name(&swnode->kobj); in software_node_get_name()
484 if (!strcmp(childname, kobject_name(&child->kobj))) { in software_node_get_named_child_node()
/linux-6.1.9/fs/sysfs/
Ddir.c59 kn = kernfs_create_dir_ns(parent, kobject_name(kobj), 0755, uid, gid, in sysfs_create_dir_ns()
63 sysfs_warn_dup(parent, kobject_name(kobj)); in sysfs_create_dir_ns()
Dgroup.c280 grp->name, kobject_name(kobj)); in sysfs_remove_group()
Dfile.c267 kobject_name(kobj))) in sysfs_add_file_mode_ns()
/linux-6.1.9/block/
Dholder.c24 return sysfs_create_link(from, to, kobject_name(to)); in add_symlink()
29 sysfs_remove_link(from, kobject_name(to)); in del_symlink()
Dblk-sysfs.c825 q->debugfs_dir = debugfs_create_dir(kobject_name(q->kobj.parent), in blk_register_queue()
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-clt-trace.h58 memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX);
Drtrs-srv-trace.h64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX);
Drtrs-srv.c496 kobject_name(&srv_path->kobj), in rtrs_srv_resp_rdma()
507 kobject_name(&srv_path->kobj), in rtrs_srv_resp_rdma()
523 kobject_name(&srv_path->kobj)); in rtrs_srv_resp_rdma()
Drtrs-clt.c448 errno, kobject_name(&clt_path->kobj), clt_path->hca_name, in complete_rdma_req()
1158 ret, kobject_name(&clt_path->kobj), clt_path->hca_name, in rtrs_clt_write_req()
1264 ret, kobject_name(&clt_path->kobj), clt_path->hca_name, in rtrs_clt_read_req()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dkobject.rst136 要正确访问kobject的名称,请使用函数kobject_name()::
138 const char *kobject_name(const struct kobject * kobj);
/linux-6.1.9/drivers/of/
Dkobj.c58 kobject_name(kobj), name); in safe_name()
/linux-6.1.9/include/linux/
Dkobject.h88 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() function
Ddevice.h707 return kobject_name(&dev->kobj); in dev_name()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c338 if (kobject_name(&dssdev->kobj) == NULL) in display_uninit_sysfs()
/linux-6.1.9/arch/x86/kernel/
Dksysfs.c66 name = kobject_name(kobj); in kobj_to_setup_data_nr()
/linux-6.1.9/drivers/hwmon/
Dacpi_power_meter.c538 kobject_name(&obj->dev.kobj)); in remove_domain_devices()
607 kobject_name(&obj->dev.kobj)); in read_domain_devices()
/linux-6.1.9/drivers/s390/char/
Dsclp_sd.c379 const char *name = kobject_name(&sd_file->kobj); in sclp_sd_file_update()
/linux-6.1.9/arch/powerpc/kernel/
Dsysfs.c1117 kobject_name(&dev->kobj)); in sysfs_add_device_to_node()
1124 sysfs_remove_link(&node->dev.kobj, kobject_name(&dev->kobj)); in sysfs_remove_device_from_node()
/linux-6.1.9/drivers/edac/
Dedac_device_sysfs.c290 edac_dbg(4, "name of kobject is: %s\n", kobject_name(&dev->kobj)); in edac_device_unregister_sysfs_main_kobj()
/linux-6.1.9/Documentation/core-api/
Dkobject.rst152 kobject_name()::
154 const char *kobject_name(const struct kobject * kobj);

12