/linux-6.6.21/lib/ |
D | kobject.c | 116 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 …]
|
D | kobject_uevent.c | 478 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/ |
D | node.c | 668 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()
|
D | dd.c | 401 __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()
|
D | swnode.c | 416 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/ |
D | dir.c | 59 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()
|
D | group.c | 284 grp->name, kobject_name(kobj)); in sysfs_remove_group()
|
D | file.c | 267 kobject_name(kobj))) in sysfs_add_file_mode_ns()
|
/linux-6.6.21/block/ |
D | holder.c | 24 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/ |
D | rtrs-clt-trace.h | 58 memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX);
|
D | rtrs-srv-trace.h | 64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX);
|
D | rtrs-srv.c | 499 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()
|
D | rtrs-clt.c | 450 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/ |
D | kobject.rst | 136 要正确访问kobject的名称,请使用函数kobject_name():: 138 const char *kobject_name(const struct kobject * kobj);
|
/linux-6.6.21/drivers/of/ |
D | kobj.c | 58 kobject_name(kobj), name); in safe_name()
|
/linux-6.6.21/include/linux/ |
D | kobject.h | 87 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() function
|
D | device.h | 864 return kobject_name(&dev->kobj); in dev_name()
|
/linux-6.6.21/arch/x86/kernel/ |
D | ksysfs.c | 66 name = kobject_name(kobj); in kobj_to_setup_data_nr()
|
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/ |
D | display-sysfs.c | 339 if (kobject_name(&dssdev->kobj) == NULL) in display_uninit_sysfs()
|
/linux-6.6.21/drivers/hwmon/ |
D | acpi_power_meter.c | 542 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/ |
D | sclp_sd.c | 379 const char *name = kobject_name(&sd_file->kobj); in sclp_sd_file_update()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | sysfs.c | 1127 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/ |
D | edac_device_sysfs.c | 292 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/ |
D | kobject.rst | 152 kobject_name():: 154 const char *kobject_name(const struct kobject * kobj);
|
/linux-6.6.21/drivers/net/wwan/ |
D | wwan_core.c | 255 debugfs_create_dir(kobject_name(&wwandev->dev.kobj), in wwan_create_dev()
|