Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c45 static unsigned int rtas_error_log_max; variable
174 if (rtas_error_log_max == 0) in log_rtas_len()
175 rtas_error_log_max = rtas_get_error_log_max(); in log_rtas_len()
177 if (len > rtas_error_log_max) in log_rtas_len()
178 len = rtas_error_log_max; in log_rtas_len()
427 memset(logdata, 0, rtas_error_log_max); in do_event_scan()
430 __pa(logdata), rtas_error_log_max); in do_event_scan()
492 memset(logdata, 0, rtas_error_log_max); in retreive_nvram_error_log()
493 rc = nvram_read_error_log(logdata, rtas_error_log_max, in retreive_nvram_error_log()
556 rtas_error_log_max = rtas_get_error_log_max(); in rtas_init()
[all …]
Drtas.c347 static int rtas_error_log_max; in rtas_get_error_log_max() local
348 if (rtas_error_log_max) in rtas_get_error_log_max()
349 return rtas_error_log_max; in rtas_get_error_log_max()
351 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()
352 if ((rtas_error_log_max == RTAS_UNKNOWN_SERVICE) || in rtas_get_error_log_max()
353 (rtas_error_log_max > RTAS_ERROR_LOG_MAX)) { in rtas_get_error_log_max()
355 rtas_error_log_max); in rtas_get_error_log_max()
356 rtas_error_log_max = RTAS_ERROR_LOG_MAX; in rtas_get_error_log_max()
358 return rtas_error_log_max; in rtas_get_error_log_max()