/* *IOMMUdriverscanindicateadeviceismanagedbyagivenIOMMUusing *thisinterface.Alinktothedevicewillbecreatedinthe"devices" *directoryoftheIOMMUdeviceinsysfsandan"iommu"linkwillbe *createdunderthelinkeddevice,pointingbackattheIOMMUdevice.
*/ int iommu_device_link(struct iommu_device *iommu, struct device *link)
{ int ret;
ret = sysfs_add_link_to_group(&iommu->dev->kobj, "devices",
&link->kobj, dev_name(link)); if (ret) return ret;
ret = sysfs_create_link_nowarn(&link->kobj, &iommu->dev->kobj, "iommu"); if (ret)
sysfs_remove_link_from_group(&iommu->dev->kobj, "devices",
dev_name(link));
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.