diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2018-07-14 09:46:58 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-07-20 14:44:24 +0200 |
commit | 85319dcc8955f8f31828dc8bafff29f6aa011d93 (patch) | |
tree | 83b5de3dfe789b170a7e6b4f5fc377f89c60b028 /net | |
parent | iommu/vt-d: Move device_domain_info to header (diff) | |
download | linux-85319dcc8955f8f31828dc8bafff29f6aa011d93.tar.xz linux-85319dcc8955f8f31828dc8bafff29f6aa011d93.zip |
iommu/vt-d: Add for_each_device_domain() helper
This adds a helper named for_each_device_domain() to iterate
over the elements in device_domain_list and invoke a callback
against each element. This allows to search the device_domain
list in other source files.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Liu Yi L <yi.l.liu@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Liu Yi L <yi.l.liu@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions