Home
last modified time | relevance | path

Searched refs:RTAS_ERROR_LOG_MAX (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dras.c33 static unsigned char ras_log_buf[RTAS_ERROR_LOG_MAX];
374 memset(local_paca->mce_data_buf, 0, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
381 len = min_t(int, error_log_length, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
Deeh_pseries.c100 static unsigned char slot_errbuf[RTAS_ERROR_LOG_MAX];
151 } else if (eeh_error_buf_size > RTAS_ERROR_LOG_MAX) { in pseries_eeh_init()
153 __func__, eeh_error_buf_size, RTAS_ERROR_LOG_MAX); in pseries_eeh_init()
154 eeh_error_buf_size = RTAS_ERROR_LOG_MAX; in pseries_eeh_init()
Dsetup.c129 mce_data_buf = __va(memblock_alloc_base(RTAS_ERROR_LOG_MAX * nr_cpus, in fwnmi_init()
130 RTAS_ERROR_LOG_MAX, ppc64_rma_size)); in fwnmi_init()
133 (RTAS_ERROR_LOG_MAX * i); in fwnmi_init()
/Linux-v4.19/arch/powerpc/kernel/
Drtas.c349 (rtas_error_log_max > 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()
359 static char rtas_err_buf[RTAS_ERROR_LOG_MAX];
401 buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC); in __fetch_rtas_last_error()
404 memcpy(buf, rtas_err_buf, RTAS_ERROR_LOG_MAX); in __fetch_rtas_last_error()
410 #define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
Drtasd.c66 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
/Linux-v4.19/arch/powerpc/include/asm/
Drtas.h404 #define RTAS_ERROR_LOG_MAX 2048 macro