Lines Matching refs:si
64 struct suspend_info *si = data; in xen_suspend() local
79 si->cancelled = HYPERVISOR_suspend(xen_pv_domain() in xen_suspend()
83 xen_arch_post_suspend(si->cancelled); in xen_suspend()
84 xen_manage_runstate_time(si->cancelled ? 1 : 0); in xen_suspend()
87 if (!si->cancelled) { in xen_suspend()
100 struct suspend_info si; in do_suspend() local
128 si.cancelled = 0; in do_suspend()
134 si.cancelled = 1; in do_suspend()
136 err = stop_machine(xen_suspend, &si, cpumask_of(0)); in do_suspend()
139 if (!si.cancelled) in do_suspend()
146 dpm_resume_start(si.cancelled ? PMSG_THAW : PMSG_RESTORE); in do_suspend()
150 si.cancelled = 1; in do_suspend()
154 if (!si.cancelled) in do_suspend()
159 dpm_resume_end(si.cancelled ? PMSG_THAW : PMSG_RESTORE); in do_suspend()