Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
Dumem_odp.c78 umem_odp->pfn_list = kvcalloc( in ib_init_umem_odp()
79 npfns, sizeof(*umem_odp->pfn_list), GFP_KERNEL); in ib_init_umem_odp()
80 if (!umem_odp->pfn_list) in ib_init_umem_odp()
102 kvfree(umem_odp->pfn_list); in ib_init_umem_odp()
278 kvfree(umem_odp->pfn_list); in ib_umem_odp_release()
390 range.hmm_pfns = &(umem_odp->pfn_list[pfn_start_idx]); in ib_umem_odp_map_dma_and_lock()
491 struct page *page = hmm_pfn_to_page(umem_odp->pfn_list[pfn_idx]); in ib_umem_odp_unmap_dma_pages()
/linux-6.1.9/include/rdma/
Dib_umem_odp.h18 unsigned long *pfn_list; member
/linux-6.1.9/drivers/vfio/
Dvfio_iommu_type1.c101 struct rb_root pfn_list; /* Ex-user pinned pfn list */ member
268 for (p = rb_first(&dma->pfn_list); p; p = rb_next(p)) { in vfio_dma_populate_bitmap()
329 struct rb_node *node = dma->pfn_list.rb_node; in vfio_find_vpfn()
350 link = &dma->pfn_list.rb_node; in vfio_link_pfn()
362 rb_insert_color(&new->node, &dma->pfn_list); in vfio_link_pfn()
367 rb_erase(&old->node, &dma->pfn_list); in vfio_unlink_pfn()
1173 WARN_ON(!RB_EMPTY_ROOT(&dma->pfn_list)); in vfio_remove_dma()
1442 if (!RB_EMPTY_ROOT(&dma->pfn_list)) { in vfio_dma_do_unmap()
1679 dma->pfn_list = RB_ROOT; in vfio_dma_do_map()
2402 p = rb_first(&dma->pfn_list); in vfio_iommu_unmap_unpin_reaccount()