Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c74 static unsigned int nr_grant_frames; variable
668 new_nr_grant_frames = nr_grant_frames + more_frames; in grow_gnttab_list()
671 nr_glist_frames = gnttab_frames(nr_grant_frames, RPP); in grow_gnttab_list()
680 for (i = grefs_per_frame * nr_grant_frames; in grow_gnttab_list()
685 gnttab_free_head = grefs_per_frame * nr_grant_frames; in grow_gnttab_list()
688 nr_grant_frames = new_nr_grant_frames; in grow_gnttab_list()
1282 static unsigned int nr_status_frames(unsigned int nr_grant_frames) in nr_status_frames() argument
1284 return gnttab_frames(nr_grant_frames, SPP); in nr_status_frames()
1301 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v1()
1349 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v2()
[all …]
/kernel/linux/linux-5.10/include/xen/
Dxen-ops.h211 unsigned long nr_grant_frames);