/* free_iova - finds and frees the iova for a given pfn @iovad: - iova domain in question. @pfn: - pfn that is allocated previously This functions finds an iova for a given pfn and then frees the iova from that domain.  */
void free_iova(struct iova_domain *iovad, unsigned long pfn)
/* free_iova - finds and frees the iova for a given pfn @iovad: - iova domain in question. @pfn: - pfn that is allocated previously This functions finds an iova for a given pfn and then frees the iova from that domain.  */
void free_iova(struct iova_domain *iovad, unsigned long pfn)
{
	struct iova *iova = find_iova(iovad, pfn);
	if (iova)
		__free_iova(iovad, iova);
}