Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/xen/
Dxlate_mmu.c215 unsigned long nr_grant_frames) in xen_xlate_map_ballooned_pages() argument
224 BUG_ON(nr_grant_frames == 0); in xen_xlate_map_ballooned_pages()
225 nr_pages = DIV_ROUND_UP(nr_grant_frames, XEN_PFN_PER_PAGE); in xen_xlate_map_ballooned_pages()
230 pfns = kcalloc(nr_grant_frames, sizeof(pfns[0]), GFP_KERNEL); in xen_xlate_map_ballooned_pages()
246 xen_for_each_gfn(pages, nr_grant_frames, setup_balloon_gfn, &data); in xen_xlate_map_ballooned_pages()
Dgrant-table.c73 static unsigned int nr_grant_frames; variable
744 new_nr_grant_frames = nr_grant_frames + more_frames; in grow_gnttab_list()
747 nr_glist_frames = gnttab_frames(nr_grant_frames, RPP); in grow_gnttab_list()
760 nr_grant_frames = new_nr_grant_frames; in grow_gnttab_list()
1358 static unsigned int nr_status_frames(unsigned int nr_grant_frames) in nr_status_frames() argument
1360 return gnttab_frames(nr_grant_frames, SPP); in nr_status_frames()
1377 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v1()
1425 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v2()
1426 arch_gnttab_unmap(grstatus, nr_status_frames(nr_grant_frames)); in gnttab_unmap_frames_v2()
1554 if (max_nr_gframes < nr_grant_frames) in gnttab_setup()
[all …]
/linux-6.1.9/include/xen/
Dxen-ops.h190 unsigned long nr_grant_frames);