Searched refs:num_pfns (Results 1 – 2 of 2) sorted by relevance
114 unsigned int num_pfns; member157 sg_init_one(&sg, vb->pfns, sizeof(vb->pfns[0]) * vb->num_pfns); in tell_host()214 unsigned int num_pfns; in fill_balloon() local221 for (num_pfns = 0; num_pfns < num; in fill_balloon()222 num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in fill_balloon()239 vb->num_pfns = 0; in fill_balloon()244 set_page_pfns(vb, vb->pfns + vb->num_pfns, page); in fill_balloon()249 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()252 num_allocated_pages = vb->num_pfns; in fill_balloon()254 if (vb->num_pfns != 0) in fill_balloon()[all …]
356 unsigned long num_pfns, current_seq; in ib_umem_odp_map_dma_and_lock() local384 num_pfns = (range.end - range.start) >> PAGE_SHIFT; in ib_umem_odp_map_dma_and_lock()417 for (pfn_index = 0; pfn_index < num_pfns; in ib_umem_odp_map_dma_and_lock()