Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kernel/
Drtasd.c42 static unsigned int rtas_error_log_max; variable
175 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 …]
Drtas.c341 static int rtas_error_log_max; in rtas_get_error_log_max() local
342 if (rtas_error_log_max) in rtas_get_error_log_max()
343 return rtas_error_log_max; in rtas_get_error_log_max()
345 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()
346 if ((rtas_error_log_max == RTAS_UNKNOWN_SERVICE) || in rtas_get_error_log_max()
347 (rtas_error_log_max > RTAS_ERROR_LOG_MAX)) { in rtas_get_error_log_max()
349 rtas_error_log_max); in rtas_get_error_log_max()
350 rtas_error_log_max = RTAS_ERROR_LOG_MAX; in rtas_get_error_log_max()
352 return rtas_error_log_max; in rtas_get_error_log_max()