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)
111 &link->kobj, dev_name(link));
115 ret = sysfs_create_link_nowarn(&link->kobj, &iommu->dev->kobj, "iommu");
118 dev_name(link));
123 void iommu_device_unlink(struct iommu_device *iommu, struct device *link)
125 sysfs_remove_link(&link->kobj, "iommu");
126 sysfs_remove_link_from_group(&iommu->dev->kobj, "devices", dev_name(link));