Home
last modified time | relevance | path

Searched refs:link_dev (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dsetup_loopback.sh44 local -r link_dev="$1"
50 ip link add link "${link_dev}" dev "${ns_dev}" \
H A Dsetup_veth.sh8 local -r link_dev="$1"
/linux/drivers/base/
H A Dcore.c422 #define to_devlink(dev) container_of((dev), struct device_link, link_dev)
569 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
573 ret = sysfs_create_link(&link->link_dev.kobj, &con->kobj, "consumer"); in devlink_add_symlinks()
583 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf_con); in devlink_add_symlinks()
593 ret = sysfs_create_link(&con->kobj, &link->link_dev.kobj, buf_sup); in devlink_add_symlinks()
602 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_add_symlinks()
604 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_add_symlinks()
616 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_remove_symlinks()
617 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_remove_symlinks()
863 link->link_dev.class = &devlink_class; in device_link_add()
[all …]
/linux/drivers/ata/
H A Dlibata-eh.c3426 struct ata_device *dev, *link_dev = NULL, *lpm_dev = NULL; in ata_eh_set_lpm() local
3449 if (!link_dev) in ata_eh_set_lpm()
3450 link_dev = dev; in ata_eh_set_lpm()
3489 dev = lpm_dev ? lpm_dev : link_dev; in ata_eh_set_lpm()
/linux/include/linux/
H A Ddevice.h851 struct device link_dev; member