/linux-4.4.14/scripts/gdb/linux/ |
H A D | dmesg.py | 26 log_buf_addr = int(str(gdb.parse_and_eval("log_buf")).split()[0], 16) 36 log_buf = inf.read_memory(start, length) 39 log_buf = inf.read_memory(start, log_buf_2nd_half) + \ 43 while pos < log_buf.__len__(): 44 length = utils.read_u16(log_buf[pos + 8:pos + 10]) 52 text_len = utils.read_u16(log_buf[pos + 10:pos + 12]) 53 text = log_buf[pos + 16:pos + 16 + text_len] 54 time_stamp = utils.read_u64(log_buf[pos:pos + 8])
|
/linux-4.4.14/tools/build/feature/ |
H A D | test-bpf.c | 11 attr.log_buf = 0; main()
|
/linux-4.4.14/tools/lib/bpf/ |
H A D | bpf.c | 60 u32 kern_version, char *log_buf, size_t log_buf_sz) bpf_load_program() 70 attr.log_buf = ptr_to_u64(NULL); bpf_load_program() 76 if (fd >= 0 || !log_buf || !log_buf_sz) bpf_load_program() 80 attr.log_buf = ptr_to_u64(log_buf); bpf_load_program() 83 log_buf[0] = 0; bpf_load_program() 58 bpf_load_program(enum bpf_prog_type type, struct bpf_insn *insns, size_t insns_cnt, char *license, u32 kern_version, char *log_buf, size_t log_buf_sz) bpf_load_program() argument
|
H A D | bpf.h | 20 u32 kern_version, char *log_buf,
|
H A D | libbpf.c | 816 char *log_buf; load_program() local 821 log_buf = malloc(BPF_LOG_BUF_SIZE); load_program() 822 if (!log_buf) load_program() 827 log_buf, BPF_LOG_BUF_SIZE); load_program() 838 if (log_buf && log_buf[0] != '\0') { load_program() 841 pr_warning("\n%s\n", log_buf); load_program() 848 } else if (log_buf) { load_program() 855 free(log_buf); load_program()
|
/linux-4.4.14/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 112 char log_buf[512]; sock_fanout_set_ebpf() local 121 attr.log_buf = (unsigned long) log_buf, sock_fanout_set_ebpf() 122 attr.log_size = sizeof(log_buf), sock_fanout_set_ebpf() 128 fprintf(stderr, "bpf verifier:\n%s\n", log_buf); sock_fanout_set_ebpf()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
H A D | cosm_debugfs.c | 33 * log_buf addr/len is read from System.map by user space 133 debugfs_create_file("log_buf", 0444, cdev->dbg_dir, cdev, &log_buf_ops); cosm_create_debug_dir()
|
/linux-4.4.14/samples/bpf/ |
H A D | libbpf.c | 91 .log_buf = ptr_to_u64(bpf_log_buf), bpf_prog_load()
|
/linux-4.4.14/kernel/printk/ |
H A D | printk.c | 283 static char *log_buf = __log_buf; variable 289 return log_buf; log_buf_addr_get() 313 struct printk_log *msg = (struct printk_log *)(log_buf + idx); log_from_idx() 320 return (struct printk_log *)log_buf; log_from_idx() 327 struct printk_log *msg = (struct printk_log *)(log_buf + idx); log_next() 336 msg = (struct printk_log *)log_buf; log_next() 450 memset(log_buf + log_next_idx, 0, sizeof(struct printk_log)); log_store() 455 msg = (struct printk_log *)(log_buf + log_next_idx); log_store() 853 VMCOREINFO_SYMBOL(log_buf); log_buf_kexec_setup() 931 if (log_buf != __log_buf) setup_log_buf() 956 log_buf = new_log_buf; setup_log_buf() 959 memcpy(log_buf, __log_buf, __LOG_BUF_LEN); setup_log_buf() 1430 * log_buf[start] to log_buf[end - 1].
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | mpssd.c | 1559 char *map, *temp, log_buf[17] = {'\0'}; set_log_buf_info() local 1588 strncpy(log_buf, temp - 19, 16); set_log_buf_info() 1589 setsysfs(mic->name, "log_buf_addr", log_buf); set_log_buf_info() 1590 mpsslog("%s: log_buf_addr: %s\n", mic->name, log_buf); set_log_buf_info() 1598 strncpy(log_buf, temp - 19, 16); set_log_buf_info() 1599 setsysfs(mic->name, "log_buf_len", log_buf); set_log_buf_info() 1600 mpsslog("%s: log_buf_len: %s\n", mic->name, log_buf); set_log_buf_info()
|
/linux-4.4.14/kernel/bpf/ |
H A D | verifier.c | 209 static char *log_buf; variable 225 log_len += vscnprintf(log_buf + log_len, log_size - log_len, fmt, args); verbose() 2218 if (attr->log_level || attr->log_buf || attr->log_size) { bpf_check() 2223 log_ubuf = (char __user *) (unsigned long) attr->log_buf; bpf_check() 2234 log_buf = vmalloc(log_size); bpf_check() 2235 if (!log_buf) bpf_check() 2276 if (log_level && copy_to_user(log_ubuf, log_buf, log_len + 1) != 0) { bpf_check() 2304 vfree(log_buf); bpf_check()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | bpf.h | 126 __aligned_u64 log_buf; /* user supplied buffer */ member in struct:bpf_attr::__anon13936
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_dev.h | 353 uint8_t log_buf[QXL_LOG_BUF_SIZE]; member in struct:qxl_ram_header
|
H A D | qxl_cmd.c | 413 vsnprintf(qdev->ram_header->log_buf, QXL_LOG_BUF_SIZE, fmt, args); qxl_io_log()
|
/linux-4.4.14/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 423 u16 *log_buf; member in struct:mtip_port
|
H A D | mtip32xx.c | 681 dd->port->log_buf, mtip_handle_tfe() 688 buf = (unsigned char *)dd->port->log_buf; mtip_handle_tfe() 3124 port->log_buf = port->block1 + AHCI_SECTBUF_OFFSET; mtip_dma_alloc() 3150 dd->port->log_buf, mtip_hw_get_identify() 3157 buf = (unsigned char *)dd->port->log_buf; mtip_hw_get_identify()
|
/linux-4.4.14/kernel/debug/kdb/ |
H A D | kdb_io.c | 501 * use 'kdbcons->write()' to avoid polluting 'log_buf' with
|
/linux-4.4.14/drivers/mfd/ |
H A D | ab8500-debugfs.c | 1284 /* Prints to seq_file or log_buf */ ab8500_registers_print()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 81 * Console output is written to a ring buffer log_buf at index log_idx.
|