Lines Matching refs:num
24 const xen_pfn_t *arr, int num) in xc_map_foreign_pages() argument
26 if (num < 0) { in xc_map_foreign_pages()
31 return xenforeignmemory_map(xch->fmem, dom, prot, num, arr, NULL); in xc_map_foreign_pages()
39 int num; in xc_map_foreign_range() local
43 num = (size + XC_PAGE_SIZE - 1) >> XC_PAGE_SHIFT; in xc_map_foreign_range()
44 arr = calloc(num, sizeof(xen_pfn_t)); in xc_map_foreign_range()
48 for ( i = 0; i < num; i++ ) in xc_map_foreign_range()
51 ret = xc_map_foreign_pages(xch, dom, prot, arr, num); in xc_map_foreign_range()
64 int num; in xc_map_foreign_ranges() local
70 num = num_per_entry * nentries; in xc_map_foreign_ranges()
71 arr = calloc(num, sizeof(xen_pfn_t)); in xc_map_foreign_ranges()
79 ret = xc_map_foreign_pages(xch, dom, prot, arr, num); in xc_map_foreign_ranges()
85 const xen_pfn_t *arr, int *err, unsigned int num) in xc_map_foreign_bulk() argument
87 return xenforeignmemory_map(xch->fmem, dom, prot, num, arr, err); in xc_map_foreign_bulk()