Lines Matching refs:state

89                               const libxl__domain_build_state *state)  in libxl__vnuma_config_check()  argument
167 qsort(state->vmemranges, state->num_vmemranges, sizeof(xen_vmemrange_t), in libxl__vnuma_config_check()
170 for (i = 0; i < state->num_vmemranges; i++) { in libxl__vnuma_config_check()
171 if (state->vmemranges[i].end < state->vmemranges[i].start) { in libxl__vnuma_config_check()
177 for (i = 0; i < state->num_vmemranges - 1; i++) { in libxl__vnuma_config_check()
178 if (state->vmemranges[i].end > state->vmemranges[i+1].start) { in libxl__vnuma_config_check()
181 state->vmemranges[i].start, state->vmemranges[i].end, in libxl__vnuma_config_check()
182 state->vmemranges[i+1].start, state->vmemranges[i+1].end); in libxl__vnuma_config_check()
216 libxl__domain_build_state *state) in libxl__vnuma_build_vmemrange_pv_generic() argument
236 state->vmemranges = v; in libxl__vnuma_build_vmemrange_pv_generic()
237 state->num_vmemranges = i; in libxl__vnuma_build_vmemrange_pv_generic()
246 libxl__domain_build_state *state) in libxl__vnuma_build_vmemrange_pv() argument
248 assert(state->vmemranges == NULL); in libxl__vnuma_build_vmemrange_pv()
249 return libxl__arch_vnuma_build_vmemrange(gc, domid, b_info, state); in libxl__vnuma_build_vmemrange_pv()
256 libxl__domain_build_state *state, in libxl__vnuma_build_vmemrange_hvm() argument
274 assert(state->vmemranges == NULL); in libxl__vnuma_build_vmemrange_hvm()
313 state->vmemranges = vmemranges; in libxl__vnuma_build_vmemrange_hvm()
314 state->num_vmemranges = nr_vmemrange; in libxl__vnuma_build_vmemrange_hvm()