Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virtio/
H A Dvirtio_balloon.c107 unsigned int num_pfns; member
207 unsigned int num_pfns; in fill_balloon() local
214 for (num_pfns = 0; num_pfns < num; in fill_balloon()
232 vb->num_pfns = 0; in fill_balloon()
242 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
245 num_allocated_pages = vb->num_pfns; in fill_balloon()
247 if (vb->num_pfns != 0) in fill_balloon()
281 for (vb->num_pfns = 0; vb->num_pfns < num; in leak_balloon()
291 num_freed_pages = vb->num_pfns; in leak_balloon()
297 if (vb->num_pfns != 0) in leak_balloon()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dumem_odp.c354 unsigned long num_pfns, current_seq; in ib_umem_odp_map_dma_and_lock() local
382 num_pfns = (range.end - range.start) >> PAGE_SHIFT; in ib_umem_odp_map_dma_and_lock()
415 for (pfn_index = 0; pfn_index < num_pfns; in ib_umem_odp_map_dma_and_lock()