Home
last modified time | relevance | path

Searched full:gfns (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/xen/
H A Dgntdev-dmabuf.c479 dmabuf_imp_grant_foreign_access(unsigned long *gfns, u32 *refs, in dmabuf_imp_grant_foreign_access() argument
502 gfns[i], 0); in dmabuf_imp_grant_foreign_access()
564 unsigned long *gfns; in dmabuf_imp_to_refs() local
612 gfns = kcalloc(count, sizeof(*gfns), GFP_KERNEL); in dmabuf_imp_to_refs()
613 if (!gfns) { in dmabuf_imp_to_refs()
619 * Now convert sgt to array of gfns without accessing underlying pages. in dmabuf_imp_to_refs()
623 * and then calculate gfns directly from them. in dmabuf_imp_to_refs()
630 gfns[i++] = pfn_to_gfn(pfn); in dmabuf_imp_to_refs()
633 ret = ERR_PTR(dmabuf_imp_grant_foreign_access(gfns, in dmabuf_imp_to_refs()
636 kfree(gfns); in dmabuf_imp_to_refs()
H A Dxlate_mmu.c206 * @gfns: returns the array of corresponding GFNs
208 * @nr_grant_frames: number of GFNs
214 int __init xen_xlate_map_ballooned_pages(xen_pfn_t **gfns, void **virt, in xen_xlate_map_ballooned_pages() argument
259 *gfns = pfns; in xen_xlate_map_ballooned_pages()
H A Dmem-reservation.c101 /* @frames is an array of GFNs */
/linux/drivers/video/fbdev/
H A Dxen-fbfront.c51 unsigned long *gfns; member
393 info->gfns = vmalloc_array(info->nr_pages, sizeof(unsigned long)); in xenfb_probe()
394 if (!info->gfns) in xenfb_probe()
518 vfree(info->gfns); in xenfb_remove()
532 int epd = PAGE_SIZE / sizeof(info->gfns[0]); in xenfb_init_shared_page()
535 info->gfns[i] = vmalloc_to_gfn(info->fb + i * PAGE_SIZE); in xenfb_init_shared_page()
538 info->page->pd[i] = vmalloc_to_gfn(&info->gfns[i * epd]); in xenfb_init_shared_page()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c130 * the hypervisor. All its GFNs are normal-GFNs.
133 * hypervisor without the VM's consent. Its GFNs are
134 * either Shared-GFN or Secure-GFNs.
139 * of H_SVM_INIT_DONE. This transient VM, can have GFNs
155 * time the Ultravisor may request some of its GFNs to be shared or
156 * secured. So its GFNs can be in one of the three GFN states.
159 * secure-state. At this point any left-over normal-GFNs are
163 * All its GFNs are moved to Normal-GFNs.
166 * the secure-GFN and shared-GFNs are tranistioned to normal-GFN
/linux/virt/kvm/
H A Ddirty_ring.c111 * whose gfns are in the same slot, and are within N frame numbers of in kvm_dirty_ring_reset()
117 * batch, and the bitmask of gfns that need to be reset (relative to in kvm_dirty_ring_reset()
119 * a sequence of gfns X, X-1, ... X-N-1 can be batched. in kvm_dirty_ring_reset()
H A Dkvm_main.c2438 * Returns true if _all_ gfns in the range [@start, @end) have attributes in kvm_range_has_memory_attributes()
/linux/include/linux/
H A Dkvm_dirty_ring.h18 * @dirty_gfns: the array to keep the dirty gfns
/linux/include/xen/interface/
H A Dmemory.h317 * entry, frame_list will be populated with a list of GFNs
321 * the GFNs.
/linux/Documentation/virt/kvm/
H A Dlocking.rst145 - The pfn is writable and therefore it cannot be shared between different gfns