Searched full:gfns (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/xen/ |
| H A D | gntdev-dmabuf.c | 479 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 D | xlate_mmu.c | 206 * @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 D | mem-reservation.c | 101 /* @frames is an array of GFNs */
|
| /linux/drivers/video/fbdev/ |
| H A D | xen-fbfront.c | 51 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 D | book3s_hv_uvmem.c | 130 * 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 D | dirty_ring.c | 111 * 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 D | kvm_main.c | 2438 * Returns true if _all_ gfns in the range [@start, @end) have attributes in kvm_range_has_memory_attributes()
|
| /linux/include/linux/ |
| H A D | kvm_dirty_ring.h | 18 * @dirty_gfns: the array to keep the dirty gfns
|
| /linux/include/xen/interface/ |
| H A D | memory.h | 317 * entry, frame_list will be populated with a list of GFNs 321 * the GFNs.
|
| /linux/Documentation/virt/kvm/ |
| H A D | locking.rst | 145 - The pfn is writable and therefore it cannot be shared between different gfns
|