Lines Matching refs:xch

26 static int do_sysctl_save(xc_interface *xch, struct xen_sysctl *sysctl)  in do_sysctl_save()  argument
31 ret = do_sysctl(xch, sysctl); in do_sysctl_save()
37 int xc_cpupool_create(xc_interface *xch, in xc_cpupool_create() argument
49 if ( (err = do_sysctl_save(xch, &sysctl)) != 0 ) in xc_cpupool_create()
56 int xc_cpupool_destroy(xc_interface *xch, in xc_cpupool_destroy() argument
64 return do_sysctl_save(xch, &sysctl); in xc_cpupool_destroy()
67 xc_cpupoolinfo_t *xc_cpupool_getinfo(xc_interface *xch, in xc_cpupool_getinfo() argument
76 local_size = xc_get_cpumap_size(xch); in xc_cpupool_getinfo()
83 local = xc_hypercall_buffer_alloc(xch, local, local_size); in xc_cpupool_getinfo()
95 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_getinfo()
104 info->cpumap = xc_cpumap_alloc(xch); in xc_cpupool_getinfo()
116 xc_hypercall_buffer_free(xch, local); in xc_cpupool_getinfo()
121 void xc_cpupool_infofree(xc_interface *xch, in xc_cpupool_infofree() argument
128 int xc_cpupool_addcpu(xc_interface *xch, in xc_cpupool_addcpu() argument
138 return do_sysctl_save(xch, &sysctl); in xc_cpupool_addcpu()
149 int xc_cpupool_removecpu(xc_interface *xch, in xc_cpupool_removecpu() argument
162 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_removecpu()
169 int xc_cpupool_movedomain(xc_interface *xch, in xc_cpupool_movedomain() argument
179 return do_sysctl_save(xch, &sysctl); in xc_cpupool_movedomain()
182 xc_cpumap_t xc_cpupool_freeinfo(xc_interface *xch) in xc_cpupool_freeinfo() argument
190 mapsize = xc_get_cpumap_size(xch); in xc_cpupool_freeinfo()
194 local = xc_hypercall_buffer_alloc(xch, local, mapsize); in xc_cpupool_freeinfo()
205 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_freeinfo()
210 cpumap = xc_cpumap_alloc(xch); in xc_cpupool_freeinfo()
217 xc_hypercall_buffer_free(xch, local); in xc_cpupool_freeinfo()