Lines Matching defs:handle
396 static int poll_vasi_state(u64 handle, unsigned long *res)
402 hvrc = plpar_hcall(H_VASI_STATE, retbuf, handle);
423 static int wait_for_vasi_session_suspending(u64 handle)
433 ret = poll_vasi_state(handle, &state);
456 static void wait_for_vasi_session_completed(u64 handle)
467 ret = poll_vasi_state(handle, &state);
653 static void pseries_cancel_migration(u64 handle, int err)
664 hvrc = plpar_hcall_norets(H_VASI_SIGNAL, handle,
670 static int pseries_suspend(u64 handle)
708 vasi_err = poll_vasi_state(handle, &vasi_state);
731 static int pseries_migrate_partition(u64 handle)
749 ret = wait_for_vasi_session_suspending(handle);
756 ret = pseries_suspend(handle);
765 wait_for_vasi_session_completed(handle);
767 pseries_cancel_migration(handle, ret);
778 int rtas_syscall_dispatch_ibm_suspend_me(u64 handle)
780 return pseries_migrate_partition(handle);