Lines Matching refs:nr_grant_frames
75 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()
1230 arch_gnttab_unmap(grstatus, nr_status_frames(nr_grant_frames)); in gnttab_unmap_frames_v2()
1360 if (max_nr_gframes < nr_grant_frames) in gnttab_setup()
1370 return gnttab_map(0, nr_grant_frames - 1); in gnttab_setup()
1392 cur = nr_grant_frames; in gnttab_expand()
1421 nr_grant_frames = 1; in gnttab_init()
1436 nr_glist_frames = gnttab_frames(nr_grant_frames, RPP); in gnttab_init()
1455 nr_init_grefs = nr_grant_frames * in gnttab_init()