Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Drtas.c347 (rtas_error_log_max > 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()
357 static char rtas_err_buf[RTAS_ERROR_LOG_MAX];
399 buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC); in __fetch_rtas_last_error()
402 memcpy(buf, rtas_err_buf, RTAS_ERROR_LOG_MAX); in __fetch_rtas_last_error()
408 #define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
Drtasd.c62 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Deeh_pseries.c242 static unsigned char slot_errbuf[RTAS_ERROR_LOG_MAX];
856 } else if (eeh_error_buf_size > RTAS_ERROR_LOG_MAX) { in eeh_pseries_init()
858 __func__, eeh_error_buf_size, RTAS_ERROR_LOG_MAX); in eeh_pseries_init()
859 eeh_error_buf_size = RTAS_ERROR_LOG_MAX; in eeh_pseries_init()
Dsetup.c142 mce_data_buf = memblock_alloc_try_nid_raw(RTAS_ERROR_LOG_MAX * nr_cpus, in fwnmi_init()
143 RTAS_ERROR_LOG_MAX, MEMBLOCK_LOW_LIMIT, in fwnmi_init()
147 RTAS_ERROR_LOG_MAX * nr_cpus, &ppc64_rma_size); in fwnmi_init()
151 (RTAS_ERROR_LOG_MAX * i); in fwnmi_init()
Dras.c21 static unsigned char ras_log_buf[RTAS_ERROR_LOG_MAX];
450 memset(local_paca->mce_data_buf, 0, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
457 len = min_t(int, error_log_length, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Drtas.h298 #define RTAS_ERROR_LOG_MAX 2048 macro