Searched refs:pa_nr (Results 1 – 1 of 1) sorted by relevance
28 int pa_nr; member63 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() argument103 while (unpinned < pa_nr) { in page_array_unpin()[all …]