Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Drtas.c346 (rtas_error_log_max > RTAS_ERROR_LOG_MAX)) { in rtas_get_error_log_max()
349 rtas_error_log_max = RTAS_ERROR_LOG_MAX; in rtas_get_error_log_max()
356 static char rtas_err_buf[RTAS_ERROR_LOG_MAX];
398 buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC); in __fetch_rtas_last_error()
401 memcpy(buf, rtas_err_buf, RTAS_ERROR_LOG_MAX); in __fetch_rtas_last_error()
407 #define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
Drtasd.c62 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
/arch/powerpc/platforms/pseries/
Deeh_pseries.c89 static unsigned char slot_errbuf[RTAS_ERROR_LOG_MAX];
140 } else if (eeh_error_buf_size > RTAS_ERROR_LOG_MAX) { in pseries_eeh_init()
142 __func__, eeh_error_buf_size, RTAS_ERROR_LOG_MAX); in pseries_eeh_init()
143 eeh_error_buf_size = RTAS_ERROR_LOG_MAX; in pseries_eeh_init()
Dsetup.c135 mce_data_buf = memblock_alloc_try_nid_raw(RTAS_ERROR_LOG_MAX * nr_cpus, in fwnmi_init()
136 RTAS_ERROR_LOG_MAX, MEMBLOCK_LOW_LIMIT, in fwnmi_init()
140 RTAS_ERROR_LOG_MAX * nr_cpus, &ppc64_rma_size); in fwnmi_init()
144 (RTAS_ERROR_LOG_MAX * i); in fwnmi_init()
Dras.c21 static unsigned char ras_log_buf[RTAS_ERROR_LOG_MAX];
441 memset(local_paca->mce_data_buf, 0, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
448 len = min_t(int, error_log_length, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
/arch/powerpc/include/asm/
Drtas.h416 #define RTAS_ERROR_LOG_MAX 2048 macro