Lines Matching refs:nr_gframes
101 * nr_gframes is the number of frames to map grant table. Returning
104 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
1297 static int gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes)
1301 rc = arch_gnttab_map_shared(frames, nr_gframes,
1314 static int gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes)
1321 nr_sframes = nr_status_frames(nr_gframes);
1349 rc = arch_gnttab_map_shared(frames, nr_gframes,
1367 unsigned int nr_gframes = end_idx + 1;
1374 BUG_ON(xen_auto_xlat_grant_frames.count < nr_gframes);
1398 frames = kmalloc_array(nr_gframes, sizeof(unsigned long), GFP_ATOMIC);
1403 setup.nr_frames = nr_gframes;
1414 rc = gnttab_interface->map_frames(frames, nr_gframes);