Home
last modified time | relevance | path

Searched refs:error_reason (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/os/
H A Dsuspend.c452 cluster_error_decode(int error, char *error_reason, size_t max_reason_len) in cluster_error_decode() argument
457 ASSERT(error_reason != NULL); in cluster_error_decode()
472 bcopy(decoded, error_reason, decoded_len); in cluster_error_decode()
481 error_reason[decoded_len] = '\0'; in cluster_error_decode()
490 cluster_pre_wrapper(char *error_reason, size_t max_reason_len) in cluster_pre_wrapper() argument
497 if (rv != 0 && error_reason != NULL && max_reason_len > 0) { in cluster_pre_wrapper()
498 if (cluster_error_decode(rv, error_reason, in cluster_pre_wrapper()
500 (void) snprintf(error_reason, max_reason_len, in cluster_pre_wrapper()
513 cluster_post_wrapper(char *error_reason, size_t max_reason_len) in cluster_post_wrapper() argument
520 if (rv != 0 && error_reason != NULL && max_reason_len > 0) { in cluster_post_wrapper()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c604 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()
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dsuspend.h32 int suspend_pre(char *error_reason, size_t max_reason_length,
34 int suspend_start(char *error_reason, size_t max_reason_length);
35 int suspend_post(char *error_reason, size_t max_reason_length);