Lu Baolu 85319dcc89 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>
2018-07-20 14:44:24 +02:00
..
2018-02-06 09:59:40 -08:00
2018-07-06 13:26:10 +02:00
2018-04-11 18:50:41 -07:00
2017-08-23 16:28:09 +02:00
2018-01-17 15:25:50 +01:00
2018-07-20 14:44:23 +02:00
2018-01-17 15:25:50 +01:00
2018-04-11 18:50:41 -07:00
2018-01-17 15:25:50 +01:00
2018-06-12 16:19:22 -07:00