• Home
  • Raw
  • Download

Lines Matching +full:cpu +full:- +full:nr

1 /* SPDX-License-Identifier: GPL-2.0 */
15 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() argument
17 return per_cpu(xen_vcpu_id, cpu); in xen_vcpu_nr()
35 void xen_setup_runstate_info(int cpu);
39 u64 xen_steal_clock(int cpu);
66 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
70 xen_pfn_t *pfn, int nr, int *err_ptr, in xen_remap_pfn() argument
84 xen_pfn_t *gfn, int nr,
89 int nr, struct page **pages);
97 xen_pfn_t *gfn, int nr, in xen_xlate_remap_gfn_array() argument
102 return -EOPNOTSUPP; in xen_xlate_remap_gfn_array()
106 int nr, struct page **pages) in xen_xlate_unmap_gfn_range() argument
108 return -EOPNOTSUPP; in xen_xlate_unmap_gfn_range()
116 * xen_remap_domain_gfn_array() - map an array of foreign frames by gfn
120 * @nr: Number entries in the GFN array
121 * @err_ptr: Returns per-GFN error status.
124 * @pages: Array of pages if this domain has an auto-translated physmap
129 * Returns the number of successfully mapped frames, or a -ve error
134 xen_pfn_t *gfn, int nr, in xen_remap_domain_gfn_array() argument
140 return xen_xlate_remap_gfn_array(vma, addr, gfn, nr, err_ptr, in xen_remap_domain_gfn_array()
148 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array()
153 * xen_remap_domain_mfn_array() - map an array of foreign frames by mfn
157 * @nr: Number entries in the MFN array
158 * @err_ptr: Returns per-MFN error status.
161 * @pages: Array of pages if this domain has an auto-translated physmap
166 * Returns the number of successfully mapped frames, or a -ve error
171 int nr, int *err_ptr, in xen_remap_domain_mfn_array() argument
176 return -EOPNOTSUPP; in xen_remap_domain_mfn_array()
178 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array()
182 /* xen_remap_domain_gfn_range() - map a range of foreign frames
186 * @nr: Number frames to map
189 * @pages: Array of pages if this domain has an auto-translated physmap
191 * Returns the number of successfully mapped frames, or a -ve error
196 xen_pfn_t gfn, int nr, in xen_remap_domain_gfn_range() argument
201 return -EOPNOTSUPP; in xen_remap_domain_gfn_range()
203 return xen_remap_pfn(vma, addr, &gfn, nr, NULL, prot, domid, false, in xen_remap_domain_gfn_range()