/Linux-v5.4/tools/perf/tests/ |
D | openat-syscall.c | 23 char errbuf[BUFSIZ]; in test__openat_syscall_event() local 32 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event() 33 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
|
D | openat-syscall-all-cpus.c | 32 char errbuf[BUFSIZ]; in test__openat_syscall_event_on_all_cpus() local 49 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event_on_all_cpus() 50 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
|
D | code-reading.c | 679 char errbuf[512]; in do_test_code_reading() local 680 perf_evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in do_test_code_reading() 681 pr_debug("perf_evlist__open() failed!\n%s\n", errbuf); in do_test_code_reading()
|
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 67 static char errbuf[255]; variable 720 snprintf(errbuf, sizeof(errbuf), 723 stop(errbuf, EX_DATAERR); 814 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME, 943 snprintf(errbuf, sizeof(errbuf), 948 stop(errbuf, EX_DATAERR); 1629 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register() 1631 stop(errbuf, EX_DATAERR); in process_register() 1638 snprintf(errbuf, sizeof(errbuf), in process_register() 1641 stop(errbuf, EX_DATAERR); in process_register() [all …]
|
/Linux-v5.4/tools/perf/ |
D | builtin-ftrace.c | 76 char errbuf[512]; in __write_tracing_file() local 93 name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 110 val, name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 500 char errbuf[512]; in cmd_ftrace() local 502 target__strerror(&ftrace.target, ret, errbuf, 512); in cmd_ftrace() 503 pr_err("%s\n", errbuf); in cmd_ftrace()
|
D | builtin-top.c | 1262 char errbuf[BUFSIZ]; in __cmd_top() local 1263 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top() 1394 char errbuf[BUFSIZ]; in cmd_top() local 1616 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1617 ui__warning("%s\n", errbuf); in cmd_top() 1624 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1625 ui__error("%s\n", errbuf); in cmd_top() 1636 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
|
D | builtin-record.c | 1419 char errbuf[BUFSIZ]; in __cmd_record() local 1421 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf)); in __cmd_record() 1423 errbuf); in __cmd_record() 2274 char errbuf[BUFSIZ]; in cmd_record() local 2371 bpf__strerror_setup_stdout(rec->evlist, err, errbuf, sizeof(errbuf)); in cmd_record() 2373 errbuf); in cmd_record() 2424 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 2425 ui__warning("%s\n", errbuf); in cmd_record() 2432 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 2433 ui__error("%s", errbuf); in cmd_record()
|
D | builtin-trace.c | 3366 char errbuf[BUFSIZ]; in trace__run() local 3368 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf)); in trace__run() 3370 errbuf); in trace__run() 3522 char errbuf[BUFSIZ]; in trace__run() local 3525 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime"); in trace__run() 3529 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)"); in trace__run() 3533 perf_evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf)); in trace__run() 3537 perf_evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in trace__run() 3540 fprintf(trace->output, "%s\n", errbuf); in trace__run() 3547 str_error_r(errno, errbuf, sizeof(errbuf))); in trace__run()
|
D | builtin-kvm.c | 1345 char errbuf[BUFSIZ]; in kvm_events_live() local 1422 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live() 1423 ui__warning("%s", errbuf); in kvm_events_live()
|
/Linux-v5.4/drivers/usb/host/ |
D | uhci-hcd.c | 78 static char *errbuf; variable 83 #define errbuf NULL macro 480 if (debug > 1 && errbuf) { in uhci_irq() 482 uhci_sprint_schedule(uhci, errbuf, in uhci_irq() 484 lprintk(errbuf); in uhci_irq() 877 errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL); in uhci_hcd_init() 878 if (!errbuf) in uhci_hcd_init() 915 kfree(errbuf); in uhci_hcd_init() 935 kfree(errbuf); in uhci_hcd_cleanup()
|
D | uhci-q.c | 1199 if (debug > 1 && errbuf) { in uhci_result_common() 1201 uhci_show_qh(uhci, urbp->qh, errbuf, in uhci_result_common() 1203 lprintk(errbuf); in uhci_result_common()
|
/Linux-v5.4/tools/perf/util/ |
D | parse-events.c | 689 char errbuf[BUFSIZ]; in parse_events_load_bpf_obj() local 694 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj() 712 bpf__strerror_probe(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj() 718 bpf__strerror_load(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj() 724 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj() 732 parse_state->error->str = strdup(errbuf); in parse_events_load_bpf_obj() 748 char errbuf[BUFSIZ]; in parse_events_config_bpf() local 752 snprintf(errbuf, sizeof(errbuf), in parse_events_config_bpf() 754 errbuf[BUFSIZ - 1] = '\0'; in parse_events_config_bpf() 757 parse_state->error->str = strdup(errbuf); in parse_events_config_bpf() [all …]
|
/Linux-v5.4/arch/mips/boot/tools/ |
D | relocs.c | 48 char errbuf[128]; in regex_init() local 55 regerror(err, &sym_regex_c, errbuf, sizeof(errbuf)); in regex_init() 56 die("%s", errbuf); in regex_init()
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | mcdi.c | 504 MCDI_DECLARE_BUF_ERR(errbuf); in efx_mcdi_complete_async() 546 err_len = min(sizeof(errbuf), data_len); in efx_mcdi_complete_async() 547 efx->type->mcdi_read_response(efx, errbuf, hdr_len, in efx_mcdi_complete_async() 548 sizeof(errbuf)); in efx_mcdi_complete_async() 549 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async() 656 MCDI_DECLARE_BUF_ERR(errbuf); in _efx_mcdi_rpc_finish() 706 err_len = min(sizeof(errbuf), data_len); in _efx_mcdi_rpc_finish() 716 efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); in _efx_mcdi_rpc_finish() 734 efx_mcdi_display_error(efx, cmd, inlen, errbuf, err_len, in _efx_mcdi_rpc_finish()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | rtas.c | 1066 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local 1129 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1() 1134 if (errbuf) in SYSCALL_DEFINE1() 1135 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in SYSCALL_DEFINE1()
|
/Linux-v5.4/arch/x86/tools/ |
D | relocs.c | 118 char errbuf[128]; in regex_init() local 135 regerror(err, &sym_regex_c[i], errbuf, sizeof(errbuf)); in regex_init() 136 die("%s", errbuf); in regex_init()
|