Lines Matching refs:state
106 libxl__xswait_state *xswa, int rc, const char *state);
132 static bool domain_suspend_pvcontrol_acked(const char *state) { in domain_suspend_pvcontrol_acked() argument
134 if (!state) return 1; in domain_suspend_pvcontrol_acked()
135 return strcmp(state,"suspend"); in domain_suspend_pvcontrol_acked()
223 libxl__xswait_state *xswa, int rc, const char *state) in domain_suspend_common_pvcontrol_suspending() argument
229 if (!rc && !domain_suspend_pvcontrol_acked(state)) in domain_suspend_common_pvcontrol_suspending()
249 rc = libxl__xs_read_checked(gc, t, xswa->path, &state); in domain_suspend_common_pvcontrol_suspending()
252 if (domain_suspend_pvcontrol_acked(state)) in domain_suspend_common_pvcontrol_suspending()
272 assert(domain_suspend_pvcontrol_acked(state)); in domain_suspend_common_pvcontrol_suspending()
427 const char *path, *state; in libxl__domain_resume_device_model() local
434 state = libxl__xs_read(gc, XBT_NULL, path); in libxl__domain_resume_device_model()
435 if (state != NULL && !strcmp(state, "paused")) { in libxl__domain_resume_device_model()