Searched refs:RTAS_ERROR_LOG_MAX (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | rtas.c | 347 (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)
|
D | rtasd.c | 62 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 242 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()
|
D | setup.c | 142 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()
|
D | ras.c | 21 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/ |
D | rtas.h | 298 #define RTAS_ERROR_LOG_MAX 2048 macro
|