Home
last modified time | relevance | path

Searched refs:pa_iova_pfn (Results 1 – 1 of 1) sorted by relevance

/drivers/s390/cio/
Dvfio_ccw_cp.c23 unsigned long *pa_iova_pfn; member
62 if (pa->pa_nr || pa->pa_iova_pfn) in pfn_array_alloc()
71 pa->pa_iova_pfn = kcalloc(pa->pa_nr, in pfn_array_alloc()
72 sizeof(*pa->pa_iova_pfn) + in pfn_array_alloc()
75 if (unlikely(!pa->pa_iova_pfn)) { in pfn_array_alloc()
79 pa->pa_pfn = pa->pa_iova_pfn + pa->pa_nr; in pfn_array_alloc()
81 pa->pa_iova_pfn[0] = pa->pa_iova >> PAGE_SHIFT; in pfn_array_alloc()
84 pa->pa_iova_pfn[i] = pa->pa_iova_pfn[i - 1] + 1; in pfn_array_alloc()
104 ret = vfio_pin_pages(mdev, pa->pa_iova_pfn, pa->pa_nr, in pfn_array_pin()
110 vfio_unpin_pages(mdev, pa->pa_iova_pfn, ret); in pfn_array_pin()
[all …]