Home
last modified time | relevance | path

Searched refs:nr_gframes (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/x86/xen/
H A Dgrant-table.c31 int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes, in arch_gnttab_map_shared() argument
44 for (i = 0; i < nr_gframes; i++) { in arch_gnttab_map_shared()
53 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, in arch_gnttab_map_status() argument
66 for (i = 0; i < nr_gframes; i++) { in arch_gnttab_map_status()
75 void arch_gnttab_unmap(void *shared, unsigned long nr_gframes) in arch_gnttab_unmap() argument
88 for (i = 0; i < nr_gframes; i++) { in arch_gnttab_unmap()
/openbmc/linux/arch/arm/xen/
H A Dgrant-table.c36 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, in arch_gnttab_map_shared() argument
43 void arch_gnttab_unmap(void *shared, unsigned long nr_gframes) in arch_gnttab_unmap() argument
48 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, in arch_gnttab_map_status() argument
/openbmc/linux/include/xen/
H A Dgrant_table.h194 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes,
197 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
200 void arch_gnttab_unmap(void *shared, unsigned long nr_gframes);
/openbmc/linux/drivers/xen/
H A Dgrant-table.c126 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) in gnttab_map_frames_v1() argument
1385 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v1()
1398 static int gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v2() argument
1405 nr_sframes = nr_status_frames(nr_gframes); in gnttab_map_frames_v2()
1433 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v2()
1451 unsigned int nr_gframes = end_idx + 1; in gnttab_map() local
1458 BUG_ON(xen_auto_xlat_grant_frames.count < nr_gframes); in gnttab_map()
1482 frames = kmalloc_array(nr_gframes, sizeof(unsigned long), GFP_ATOMIC); in gnttab_map()
1487 setup.nr_frames = nr_gframes; in gnttab_map()
[all …]