Lines Matching refs:nr_gframes
123 * nr_gframes is the number of frames to map grant table. Returning
126 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
1381 static int gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes)
1385 rc = arch_gnttab_map_shared(frames, nr_gframes,
1398 static int gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes)
1405 nr_sframes = nr_status_frames(nr_gframes);
1433 rc = arch_gnttab_map_shared(frames, nr_gframes,
1451 unsigned int nr_gframes = end_idx + 1;
1458 BUG_ON(xen_auto_xlat_grant_frames.count < nr_gframes);
1482 frames = kmalloc_array(nr_gframes, sizeof(unsigned long), GFP_ATOMIC);
1487 setup.nr_frames = nr_gframes;
1498 rc = gnttab_interface->map_frames(frames, nr_gframes);