Searched refs:rtas_error_log_max (Results 1 – 2 of 2) sorted by relevance
46 static unsigned int rtas_error_log_max; variable175 if (rtas_error_log_max == 0) in log_rtas_len()176 rtas_error_log_max = rtas_get_error_log_max(); in log_rtas_len()178 if (len > rtas_error_log_max) in log_rtas_len()179 len = rtas_error_log_max; in log_rtas_len()429 memset(logdata, 0, rtas_error_log_max); in do_event_scan()432 __pa(logdata), rtas_error_log_max); in do_event_scan()497 memset(logdata, 0, rtas_error_log_max); in retrieve_nvram_error_log()498 rc = nvram_read_error_log(logdata, rtas_error_log_max, in retrieve_nvram_error_log()559 rtas_error_log_max = rtas_get_error_log_max(); in rtas_event_scan_init()[all …]
343 static int rtas_error_log_max; in rtas_get_error_log_max() local344 if (rtas_error_log_max) in rtas_get_error_log_max()345 return rtas_error_log_max; in rtas_get_error_log_max()347 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()348 if ((rtas_error_log_max == RTAS_UNKNOWN_SERVICE) || in rtas_get_error_log_max()349 (rtas_error_log_max > RTAS_ERROR_LOG_MAX)) { in rtas_get_error_log_max()351 rtas_error_log_max); in rtas_get_error_log_max()352 rtas_error_log_max = RTAS_ERROR_LOG_MAX; in rtas_get_error_log_max()354 return rtas_error_log_max; in rtas_get_error_log_max()