Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/
Dgrant-table.c75 static unsigned int nr_grant_frames; variable
670 new_nr_grant_frames = nr_grant_frames + more_frames; in grow_gnttab_list()
673 nr_glist_frames = gnttab_frames(nr_grant_frames, RPP); in grow_gnttab_list()
682 for (i = grefs_per_frame * nr_grant_frames; in grow_gnttab_list()
687 gnttab_free_head = grefs_per_frame * nr_grant_frames; in grow_gnttab_list()
690 nr_grant_frames = new_nr_grant_frames; in grow_gnttab_list()
1161 static unsigned int nr_status_frames(unsigned int nr_grant_frames) in nr_status_frames() argument
1164 return gnttab_frames(nr_grant_frames, SPP); in nr_status_frames()
1181 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v1()
1229 arch_gnttab_unmap(gnttab_shared.addr, nr_grant_frames); in gnttab_unmap_frames_v2()
[all …]
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()
/Linux-v5.4/include/xen/
Dxen-ops.h211 unsigned long nr_grant_frames);