Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/xen/
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()
/linux-6.12.1/arch/arm/xen/
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
/linux-6.12.1/include/xen/
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);
/linux-6.12.1/drivers/xen/
Dgrant-table.c126 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
1379 static int gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v1() argument
1383 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v1()
1396 static int gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v2() argument
1403 nr_sframes = nr_status_frames(nr_gframes); in gnttab_map_frames_v2()
1431 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v2()
1449 unsigned int nr_gframes = end_idx + 1; in gnttab_map() local
1456 BUG_ON(xen_auto_xlat_grant_frames.count < nr_gframes); in gnttab_map()
1480 frames = kmalloc_array(nr_gframes, sizeof(unsigned long), GFP_ATOMIC); in gnttab_map()
1485 setup.nr_frames = nr_gframes; in gnttab_map()
[all …]