Searched refs:max_reason_len (Results 1 – 1 of 1) sorted by relevance
452 cluster_error_decode(int error, char *error_reason, size_t max_reason_len) in cluster_error_decode() argument458 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() argument497 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() argument520 if (rv != 0 && error_reason != NULL && max_reason_len > 0) { in cluster_post_wrapper()[all …]