amd_iommu_pdom_id_reserve
int amd_iommu_pdom_id_reserve(u16 id, gfp_t gfp);
if (amd_iommu_pdom_id_reserve(dom_id, GFP_KERNEL) == -ENOMEM)