Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/s390/cio/
Dvfio_ccw_cp.c28 int pa_nr; member
63 if (pa->pa_nr || pa->pa_iova) in page_array_alloc()
66 pa->pa_nr = ((iova & ~PAGE_MASK) + len + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in page_array_alloc()
67 if (!pa->pa_nr) in page_array_alloc()
70 pa->pa_iova = kcalloc(pa->pa_nr, in page_array_alloc()
74 pa->pa_nr = 0; in page_array_alloc()
77 pa->pa_page = (struct page **)&pa->pa_iova[pa->pa_nr]; in page_array_alloc()
81 for (i = 1; i < pa->pa_nr; i++) { in page_array_alloc()
99 struct vfio_device *vdev, int pa_nr) in page_array_unpin() argument
103 while (unpinned < pa_nr) { in page_array_unpin()
[all …]