Searched refs:__LOG_BUF_LEN (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/kernel/printk/
H A Dprintk.c266 #define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT) macro
267 static char __log_buf[__LOG_BUF_LEN] __aligned(LOG_ALIGN);
269 static u32 log_buf_len = __LOG_BUF_LEN;
870 if (cpu_extra <= __LOG_BUF_LEN / 2) log_buf_add_cpu()
877 pr_info("log_buf_len min size: %d bytes\n", __LOG_BUF_LEN); log_buf_add_cpu()
879 log_buf_len_update(cpu_extra + __LOG_BUF_LEN); log_buf_add_cpu()
918 free = __LOG_BUF_LEN - log_next_idx; setup_log_buf()
919 memcpy(log_buf, __log_buf, __LOG_BUF_LEN); setup_log_buf()
924 free, (free * 100) / __LOG_BUF_LEN); setup_log_buf()

Completed in 75 milliseconds