Home
last modified time | relevance | path

Searched refs:log_buf (Results 1 – 3 of 3) sorted by relevance

/kernel/printk/
Dprintk.c275 static char *log_buf = __log_buf; variable
281 return log_buf; in log_buf_addr_get()
305 struct printk_log *msg = (struct printk_log *)(log_buf + idx); in log_from_idx()
312 return (struct printk_log *)log_buf; in log_from_idx()
319 struct printk_log *msg = (struct printk_log *)(log_buf + idx); in log_next()
328 msg = (struct printk_log *)log_buf; in log_next()
442 memset(log_buf + log_next_idx, 0, sizeof(struct printk_log)); in log_store()
447 msg = (struct printk_log *)(log_buf + log_next_idx); in log_store()
820 VMCOREINFO_SYMBOL(log_buf); in log_buf_kexec_setup()
898 if (log_buf != __log_buf) in setup_log_buf()
[all …]
/kernel/bpf/
Dverifier.c211 static char *log_buf; variable
227 log_len += vscnprintf(log_buf + log_len, log_size - log_len, fmt, args); in verbose()
1848 if (attr->log_level || attr->log_buf || attr->log_size) { in bpf_check()
1853 log_ubuf = (char __user *) (unsigned long) attr->log_buf; in bpf_check()
1864 log_buf = vmalloc(log_size); in bpf_check()
1865 if (!log_buf) in bpf_check()
1900 if (log_level && copy_to_user(log_ubuf, log_buf, log_len + 1) != 0) { in bpf_check()
1928 vfree(log_buf); in bpf_check()
Dsyscall.c461 #define BPF_PROG_LOAD_LAST_FIELD log_buf