Lines Matching refs:error_reason
604 char *error_reason; in ps_suspend_sequence() local
612 error_reason = (char *)kmem_zalloc(SUSPEND_MAX_REASON_SIZE, KM_SLEEP); in ps_suspend_sequence()
620 rv = suspend_pre(error_reason, SUSPEND_MAX_REASON_SIZE, in ps_suspend_sequence()
624 (void) strncpy(error_reason, DOMAIN_SUSPEND_DR_ERROR_STR, in ps_suspend_sequence()
633 DOMAIN_SUSPEND_PRE_FAILURE, rec_result, error_reason, 0, 0); in ps_suspend_sequence()
637 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()
645 rv = suspend_start(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()
651 DOMAIN_SUSPEND_SUSPEND_FAILURE, rec_result, error_reason, in ps_suspend_sequence()
655 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()
660 rv = suspend_post(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()
663 DOMAIN_SUSPEND_POST_FAILURE, 0, error_reason, in ps_suspend_sequence()
667 DOMAIN_SUSPEND_POST_SUCCESS, 0, error_reason, in ps_suspend_sequence()
672 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()