Searched refs:rtas_error_log_max (Results 1 – 2 of 2) sorted by relevance
42 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()396 memset(logdata, 0, rtas_error_log_max); in do_event_scan()399 __pa(logdata), rtas_error_log_max); in do_event_scan()464 memset(logdata, 0, rtas_error_log_max); in retrieve_nvram_error_log()465 rc = nvram_read_error_log(logdata, rtas_error_log_max, in retrieve_nvram_error_log()526 rtas_error_log_max = rtas_get_error_log_max(); in rtas_event_scan_init()[all …]
349 static int rtas_error_log_max; in rtas_get_error_log_max() local350 if (rtas_error_log_max) in rtas_get_error_log_max()351 return rtas_error_log_max; in rtas_get_error_log_max()353 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()354 if ((rtas_error_log_max == RTAS_UNKNOWN_SERVICE) || in rtas_get_error_log_max()355 (rtas_error_log_max > RTAS_ERROR_LOG_MAX)) { in rtas_get_error_log_max()357 rtas_error_log_max); in rtas_get_error_log_max()358 rtas_error_log_max = RTAS_ERROR_LOG_MAX; in rtas_get_error_log_max()360 return rtas_error_log_max; in rtas_get_error_log_max()
Completed in 8 milliseconds