Lines Matching defs:link
102 * this interface. A link to the device will be created in the "devices"
103 * directory of the IOMMU device in sysfs and an "iommu" link will be
106 int iommu_device_link(struct iommu_device *iommu, struct device *link)
114 &link->kobj, dev_name(link));
118 ret = sysfs_create_link_nowarn(&link->kobj, &iommu->dev->kobj, "iommu");
121 dev_name(link));
127 void iommu_device_unlink(struct iommu_device *iommu, struct device *link)
132 sysfs_remove_link(&link->kobj, "iommu");
133 sysfs_remove_link_from_group(&iommu->dev->kobj, "devices", dev_name(link));