Home
last modified time | relevance | path

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

12

/linux-6.6.21/lib/
Dkobject.c116 if (kobject_name(parent) == NULL) in get_kobj_path_length()
118 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
130 int cur = strlen(kobject_name(parent)); in fill_kobj_path()
135 memcpy(path + length, kobject_name(parent), cur); in fill_kobj_path()
139 pr_debug("'%s' (%p): %s: path = '%s'\n", kobject_name(kobj), in fill_kobj_path()
236 kobject_name(kobj), kobj, __func__, in kobject_add_internal()
237 parent ? kobject_name(parent) : "<NULL>", in kobject_add_internal()
238 kobj->kset ? kobject_name(&kobj->kset->kobj) : "<NULL>"); in kobject_add_internal()
249 __func__, kobject_name(kobj)); in kobject_add_internal()
252 __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.6.21/drivers/base/
Dnode.c668 kobject_name(&obj->kobj)); in register_cpu_under_node()
674 kobject_name(&node_devices[nid]->dev.kobj)); in register_cpu_under_node()
739 kobject_name(&obj->kobj)); in unregister_cpu_under_node()
741 kobject_name(&node_devices[nid]->dev.kobj)); in unregister_cpu_under_node()
766 kobject_name(&mem_blk->dev.kobj)); in do_register_memory_block_under_node()
770 kobject_name(&mem_blk->dev.kobj), ret); in do_register_memory_block_under_node()
774 kobject_name(&node_devices[nid]->dev.kobj)); in do_register_memory_block_under_node()
778 kobject_name(&node_devices[nid]->dev.kobj), in do_register_memory_block_under_node()
845 kobject_name(&mem_blk->dev.kobj)); in unregister_memory_block_under_nodes()
847 kobject_name(&node_devices[mem_blk->nid]->dev.kobj)); in unregister_memory_block_under_nodes()
Ddd.c401 __func__, kobject_name(&dev->kobj)); in driver_bound()
442 kobject_name(&dev->kobj)); in driver_sysfs_add()
462 kobject_name(&dev->kobj)); in driver_sysfs_add()
475 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.6.21/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.c284 grp->name, kobject_name(kobj)); in sysfs_remove_group()
Dfile.c267 kobject_name(kobj))) in sysfs_add_file_mode_ns()
/linux-6.6.21/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()
/linux-6.6.21/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.c499 kobject_name(&srv_path->kobj), in rtrs_srv_resp_rdma()
510 kobject_name(&srv_path->kobj), in rtrs_srv_resp_rdma()
526 kobject_name(&srv_path->kobj)); in rtrs_srv_resp_rdma()
Drtrs-clt.c450 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.6.21/Documentation/translations/zh_CN/core-api/
Dkobject.rst136 要正确访问kobject的名称,请使用函数kobject_name()::
138 const char *kobject_name(const struct kobject * kobj);
/linux-6.6.21/drivers/of/
Dkobj.c58 kobject_name(kobj), name); in safe_name()
/linux-6.6.21/include/linux/
Dkobject.h87 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() function
Ddevice.h864 return kobject_name(&dev->kobj); in dev_name()
/linux-6.6.21/arch/x86/kernel/
Dksysfs.c66 name = kobject_name(kobj); in kobj_to_setup_data_nr()
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c339 if (kobject_name(&dssdev->kobj) == NULL) in display_uninit_sysfs()
/linux-6.6.21/drivers/hwmon/
Dacpi_power_meter.c542 kobject_name(&obj->dev.kobj)); in remove_domain_devices()
611 kobject_name(&obj->dev.kobj)); in read_domain_devices()
/linux-6.6.21/drivers/s390/char/
Dsclp_sd.c379 const char *name = kobject_name(&sd_file->kobj); in sclp_sd_file_update()
/linux-6.6.21/arch/powerpc/kernel/
Dsysfs.c1127 kobject_name(&dev->kobj)); in sysfs_add_device_to_node()
1134 sysfs_remove_link(&node->dev.kobj, kobject_name(&dev->kobj)); in sysfs_remove_device_from_node()
/linux-6.6.21/drivers/edac/
Dedac_device_sysfs.c292 edac_dbg(4, "name of kobject is: %s\n", kobject_name(&dev->kobj)); in edac_device_unregister_sysfs_main_kobj()
/linux-6.6.21/Documentation/core-api/
Dkobject.rst152 kobject_name()::
154 const char *kobject_name(const struct kobject * kobj);
/linux-6.6.21/drivers/net/wwan/
Dwwan_core.c255 debugfs_create_dir(kobject_name(&wwandev->dev.kobj), in wwan_create_dev()

12