Lines Matching refs:nr_grant_frames
59 static unsigned int nr_grant_frames; variable
393 new_nr_grant_frames = nr_grant_frames + more_frames; in grow_gnttab_list()
396 nr_glist_frames = (nr_grant_frames * GREFS_PER_GRANT_FRAME + RPP - 1) / RPP; in grow_gnttab_list()
406 for (i = GREFS_PER_GRANT_FRAME * nr_grant_frames; in grow_gnttab_list()
411 gnttab_free_head = GREFS_PER_GRANT_FRAME * nr_grant_frames; in grow_gnttab_list()
414 nr_grant_frames = new_nr_grant_frames; in grow_gnttab_list()
567 if (max_nr_gframes < nr_grant_frames) in gnttab_resume()
571 return gnttab_map(0, nr_grant_frames - 1); in gnttab_resume()
582 gnttab_map(0, nr_grant_frames - 1); in gnttab_resume()
589 arch_gnttab_unmap_shared(shared, nr_grant_frames); in gnttab_suspend()
598 cur = nr_grant_frames; in gnttab_expand()
617 nr_grant_frames = 1; in gnttab_init()
631 nr_glist_frames = (nr_grant_frames * GREFS_PER_GRANT_FRAME + RPP - 1) / RPP; in gnttab_init()
641 nr_init_grefs = nr_grant_frames * GREFS_PER_GRANT_FRAME; in gnttab_init()