Searched refs:cap_ndoms (Results 1 – 2 of 2) sorted by relevance
1359 cap_ndoms(iommu->cap) - 1, GFP_KERNEL); in domain_attach_iommu()1423 if (did_old < cap_ndoms(iommu->cap)) { in copied_context_tear_down()1984 if (did >= 0 && did < cap_ndoms(iommu->cap)) in copy_context_table()2900 return sysfs_emit(buf, "%ld\n", cap_ndoms(iommu->cap)); in domains_supported_show()2911 for (id = 0; id < cap_ndoms(iommu->cap); id++) in domains_used_show()
192 #define cap_ndoms(c) (((unsigned long)1) << (4 + 2 * ((c) & 0x7))) macro
Completed in 19 milliseconds