/openbmc/qemu/trace/ |
H A D | control.c | 158 static void do_trace_enable_events(const char *line_buf) in do_trace_enable_events() argument 160 const bool enable = ('-' != line_buf[0]); in do_trace_enable_events() 161 const char *line_ptr = enable ? line_buf : line_buf + 1; in do_trace_enable_events() 190 void trace_enable_events(const char *line_buf) in trace_enable_events() argument 192 if (is_help_option(line_buf)) { in trace_enable_events() 198 do_trace_enable_events(line_buf); in trace_enable_events() 206 char line_buf[1024]; in trace_init_events() local 220 while (fgets(line_buf, sizeof(line_buf), fp)) { in trace_init_events() 222 size_t len = strlen(line_buf); in trace_init_events() 224 line_buf[len - 1] = '\0'; in trace_init_events() [all …]
|
H A D | control.h | 191 void trace_enable_events(const char *line_buf);
|
/openbmc/linux/tools/testing/selftests/prctl/ |
H A D | set-anon-vma-name-test.c | 40 char line_buf[512], name[128], mode[8]; in was_renaming_successful() local 56 while (fgets(line_buf, sizeof(line_buf), maps_file)) { in was_renaming_successful() 57 sscanf_res = sscanf(line_buf, "%lx-%lx %7s %lx %u:%u %u %s", &start_addr, in was_renaming_successful()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.h | 343 char line_buf[LPFC_LBUF_SZ]; in lpfc_debug_dump_qe() local 358 len += scnprintf(line_buf+len, LPFC_LBUF_SZ-len, "QE[%04d]: ", idx); in lpfc_debug_dump_qe() 360 printk(KERN_ERR "%s\n", line_buf); in lpfc_debug_dump_qe() 365 printk(KERN_ERR "%s\n", line_buf); in lpfc_debug_dump_qe() 368 memset(line_buf, 0, LPFC_LBUF_SZ); in lpfc_debug_dump_qe() 369 len += scnprintf(line_buf+len, LPFC_LBUF_SZ-len, in lpfc_debug_dump_qe() 373 len += scnprintf(line_buf+len, LPFC_LBUF_SZ-len, "%08x ", in lpfc_debug_dump_qe() 378 printk(KERN_ERR "%s\n", line_buf); in lpfc_debug_dump_qe()
|
H A D | lpfc_debugfs.c | 5911 pr_err("%s\n", line_buf); in lpfc_idiag_mbxacc_dump_bsg_mbox() 5913 len += scnprintf(line_buf+len, in lpfc_idiag_mbxacc_dump_bsg_mbox() 5922 pr_err("%s\n", line_buf); in lpfc_idiag_mbxacc_dump_bsg_mbox() 5977 pr_err("%s\n", line_buf); in lpfc_idiag_mbxacc_dump_issue_mbox() 5980 len += scnprintf(line_buf+len, in lpfc_idiag_mbxacc_dump_issue_mbox() 5990 pr_err("%s\n", line_buf); in lpfc_idiag_mbxacc_dump_issue_mbox() 6000 pr_err("%s\n", line_buf); in lpfc_idiag_mbxacc_dump_issue_mbox() 6003 len += scnprintf(line_buf+len, in lpfc_idiag_mbxacc_dump_issue_mbox() 6008 len += scnprintf(line_buf+len, in lpfc_idiag_mbxacc_dump_issue_mbox() 6014 len += scnprintf(line_buf+len, in lpfc_idiag_mbxacc_dump_issue_mbox() [all …]
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | procfs.c | 97 char line_buf[2048]; in read_proc_stat_btime() local 105 while (fgets(line_buf, 2048, proc)) { in read_proc_stat_btime() 106 if (sscanf(line_buf, "btime %llu", boottime_sec) != 1) in read_proc_stat_btime()
|
/openbmc/qemu/gdbstub/ |
H A D | gdbstub.c | 2034 static int gdb_handle_packet(const char *line_buf) in gdb_handle_packet() argument 2038 trace_gdbstub_io_command(line_buf); in gdb_handle_packet() 2040 switch (line_buf[0]) { in gdb_handle_packet() 2280 run_cmd_parser(line_buf, cmd_parser); in gdb_handle_packet() 2372 } else if (gdbserver_state.line_buf_index >= sizeof(gdbserver_state.line_buf) - 1) { in gdb_read_byte() 2377 gdbserver_state.line_buf[gdbserver_state.line_buf_index++] = ch; in gdb_read_byte() 2385 } else if (gdbserver_state.line_buf_index >= sizeof(gdbserver_state.line_buf) - 1) { in gdb_read_byte() 2391 gdbserver_state.line_buf[gdbserver_state.line_buf_index++] = ch ^ 0x20; in gdb_read_byte() 2418 memset(gdbserver_state.line_buf + gdbserver_state.line_buf_index, in gdb_read_byte() 2433 gdbserver_state.line_buf[gdbserver_state.line_buf_index] = '\0'; in gdb_read_byte() [all …]
|
H A D | internals.h | 55 char line_buf[MAX_PACKET_LENGTH]; member
|
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_core.c | 3672 char line_buf[100]; in vchiq_log_dump_mem() local 3676 s = line_buf; in vchiq_log_dump_mem() 3697 vchiq_log_trace(VCHIQ_LOG_TRACE, "%s: %08x: %s", label, addr, line_buf); in vchiq_log_dump_mem() 3699 vchiq_log_trace(VCHIQ_LOG_TRACE, "%08x: %s", addr, line_buf); in vchiq_log_dump_mem()
|