Home
last modified time | relevance | path

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

/titanic_44/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
458 ASSERT(max_reason_len > 0); in cluster_error_decode()
460 max_reason_len = MIN(max_reason_len, SC_FAIL_STR_MAX); in cluster_error_decode()
469 if ((decoded_len = strnlen(decoded, max_reason_len - 1)) == 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()
499 max_reason_len)) { 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 …]