Home
last modified time | relevance | path

Searched refs:sysfs_create_link (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/base/
Dmodule.c62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); in module_add_driver()
66 no_warn = sysfs_create_link(mk->drivers_dir, &drv->p->kobj, in module_add_driver()
Ddevcoredump.c295 if (sysfs_create_link(&devcd->devcd_dev.kobj, &dev->kobj, in dev_coredumpm()
299 if (sysfs_create_link(&dev->kobj, &devcd->devcd_dev.kobj, in dev_coredumpm()
Dclass.c536 error = sysfs_create_link(cls->kobj, &dev->kobj, dev_name(dev)); in class_compat_create_link()
546 error = sysfs_create_link(&dev->kobj, &device_link->kobj, in class_compat_create_link()
Dcore.c397 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
401 ret = sysfs_create_link(&link->link_dev.kobj, &con->kobj, "consumer"); in devlink_add_symlinks()
406 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
411 ret = sysfs_create_link(&con->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
2675 error = sysfs_create_link(&dev->kobj, of_node_kobj(of_node), "of_node"); in device_add_class_symlinks()
2684 error = sysfs_create_link(&dev->kobj, in device_add_class_symlinks()
2691 error = sysfs_create_link(&dev->kobj, &dev->parent->kobj, in device_add_class_symlinks()
2704 error = sysfs_create_link(&dev->class->p->subsys.kobj, in device_add_class_symlinks()
2787 error = sysfs_create_link(kobj, &dev->kobj, devt_str); in device_create_sys_dev_entry()
3546 err = sysfs_create_link(&root->dev.kobj, &mk->kobj, "module"); in __root_device_register()
[all …]
/kernel/linux/linux-5.10/fs/sysfs/
Dsymlink.c89 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() function
94 EXPORT_SYMBOL_GPL(sysfs_create_link);
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_driver.c164 result = sysfs_create_link(&device->dev.kobj, in acpi_pss_perf_init()
173 result = sysfs_create_link(&pr->cdev->device.kobj, in acpi_pss_perf_init()
Dglue.c238 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, in acpi_bind_one()
244 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, in acpi_bind_one()
Dfan.c423 result = sysfs_create_link(&pdev->dev.kobj, in acpi_fan_probe()
429 result = sysfs_create_link(&cdev->device.kobj, in acpi_fan_probe()
/kernel/linux/linux-5.10/drivers/vfio/mdev/
Dmdev_sysfs.c255 ret = sysfs_create_link(type->devices_kobj, &dev->kobj, dev_name(dev)); in mdev_create_sysfs_files()
259 ret = sysfs_create_link(&dev->kobj, &type->kobj, "mdev_type"); in mdev_create_sysfs_files()
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dcgskip.txt58 sysfs_create_link
/kernel/linux/linux-5.10/drivers/usb/typec/
Dbus.c342 err = sysfs_create_link(&dev->kobj, &port_dev->kobj, "port"); in typec_altmode_create_links()
346 err = sysfs_create_link(&port_dev->kobj, &dev->kobj, "partner"); in typec_altmode_create_links()
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_class.c83 rc = sysfs_create_link( in register_tape_dev()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_menlow.c161 result = sysfs_create_link(&device->dev.kobj, in intel_menlow_memory_add()
166 result = sysfs_create_link(&cdev->device.kobj, in intel_menlow_memory_add()
/kernel/linux/linux-5.10/net/bridge/
Dbr_sysfs_if.c369 err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj, in br_sysfs_addif()
381 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); in br_sysfs_addif()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dthermal.c172 ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, in ath10k_thermal_register()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv-sysfs.c59 ret = sysfs_create_link(&dev->dev_kobj, bdev_kobj, "block_dev"); in rnbd_srv_create_dev_sysfs()
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
Ddma-sysfs.c146 return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name); in dma_create_sysfs_files()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dccwgroup.c246 rc = sysfs_create_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
257 rc = sysfs_create_link(&gdev->dev.kobj, in __ccwgroup_create_symlinks()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-mux.c420 WARN(sysfs_create_link(&priv->adap.dev.kobj, &muxc->dev->kobj, in i2c_mux_add_adapter()
425 WARN(sysfs_create_link(&muxc->dev->kobj, &priv->adap.dev.kobj, in i2c_mux_add_adapter()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dthermal.c183 ret = sysfs_create_link(&ar->hw->wiphy->dev.kobj, &cdev->device.kobj, in ath11k_thermal_register()
/kernel/linux/linux-5.10/include/linux/
Dsysfs.h269 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
430 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() function
/kernel/linux/linux-5.10/drivers/net/
Dmacvtap.c177 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in macvtap_device_event()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvtap.c170 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in ipvtap_device_event()
/kernel/linux/linux-5.10/drivers/usb/core/
Dport.c348 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); in link_peers()
351 rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer"); in link_peers()
/kernel/linux/linux-5.10/drivers/pci/
Diov.c143 rc = sysfs_create_link(&dev->dev.kobj, &virtfn->dev.kobj, buf); in pci_iov_sysfs_link()
146 rc = sysfs_create_link(&virtfn->dev.kobj, &dev->dev.kobj, "physfn"); in pci_iov_sysfs_link()
521 rc = sysfs_create_link(&dev->dev.kobj, in sriov_enable()

1234