/linux-6.6.21/tools/perf/tests/ |
D | openat-syscall.c | 25 char errbuf[BUFSIZ]; in test__openat_syscall_event() local 34 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event() 35 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
|
D | openat-syscall-all-cpus.c | 33 char errbuf[BUFSIZ]; in test__openat_syscall_event_on_all_cpus() local 50 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event_on_all_cpus() 51 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
|
D | code-reading.c | 684 char errbuf[512]; in do_test_code_reading() local 685 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in do_test_code_reading() 686 pr_debug("perf_evlist__open() failed!\n%s\n", errbuf); in do_test_code_reading()
|
/linux-6.6.21/tools/perf/bench/ |
D | evlist-open-close.c | 228 char *evstr, errbuf[BUFSIZ]; in bench_evlist_open_close() local 239 target__strerror(&opts.target, err, errbuf, sizeof(errbuf)); in bench_evlist_open_close() 240 pr_err("%s\n", errbuf); in bench_evlist_open_close() 246 target__strerror(&opts.target, err, errbuf, sizeof(errbuf)); in bench_evlist_open_close() 247 pr_err("%s", errbuf); in bench_evlist_open_close()
|
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 66 static char errbuf[255]; variable 719 snprintf(errbuf, sizeof(errbuf), 722 stop(errbuf, EX_DATAERR); 813 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME, 942 snprintf(errbuf, sizeof(errbuf), 947 stop(errbuf, EX_DATAERR); 1628 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register() 1630 stop(errbuf, EX_DATAERR); in process_register() 1637 snprintf(errbuf, sizeof(errbuf), in process_register() 1640 stop(errbuf, EX_DATAERR); in process_register() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | spin_lock.c | 60 char errbuf[512]; in match_regex() local 62 regerror(err, &re, errbuf, sizeof(errbuf)); in match_regex() 63 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
|
D | ctx_rewrite.c | 338 char errbuf[512]; in compile_regex() local 340 regerror(err, re, errbuf, sizeof(errbuf)); in compile_regex() 341 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex()
|
/linux-6.6.21/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() 873 errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL); in uhci_hcd_init() 874 if (!errbuf) in uhci_hcd_init() 911 kfree(errbuf); in uhci_hcd_init() 931 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-6.6.21/tools/perf/ |
D | builtin-ftrace.c | 68 char errbuf[512]; in __write_tracing_file() local 85 name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 102 val, name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 1259 char errbuf[512]; in cmd_ftrace() local 1261 target__strerror(&ftrace.target, ret, errbuf, 512); in cmd_ftrace() 1262 pr_err("%s\n", errbuf); in cmd_ftrace()
|
D | builtin-top.c | 1294 char errbuf[BUFSIZ]; in __cmd_top() local 1295 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top() 1428 char errbuf[BUFSIZ]; in cmd_top() local 1636 str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top() 1743 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1744 ui__warning("%s\n", errbuf); in cmd_top() 1751 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1752 ui__error("%s\n", errbuf); in cmd_top() 1763 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
|
D | builtin-trace.c | 4074 char errbuf[BUFSIZ]; local 4077 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime"); 4081 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)"); 4085 evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf)); 4089 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); 4092 fprintf(trace->output, "%s\n", errbuf); 4099 str_error_r(errno, errbuf, sizeof(errbuf)));
|
D | builtin-record.c | 3950 char errbuf[BUFSIZ]; in cmd_record() local 4131 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 4132 ui__warning("%s\n", errbuf); in cmd_record() 4139 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 4140 ui__error("%s", errbuf); in cmd_record() 4158 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_record()
|
D | builtin-kvm.c | 1882 char errbuf[BUFSIZ]; in kvm_events_live() local 1958 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live() 1959 ui__warning("%s", errbuf); in kvm_events_live()
|
D | builtin-lock.c | 2088 char errbuf[512]; in __cmd_contention() local 2090 target__strerror(&target, err, errbuf, 512); in __cmd_contention() 2091 pr_err("%s\n", errbuf); in __cmd_contention()
|
D | builtin-stat.c | 2486 char errbuf[BUFSIZ]; in cmd_stat() local 2607 target__strerror(&target, err, errbuf, BUFSIZ); in cmd_stat() 2608 pr_warning("%s\n", errbuf); in cmd_stat()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | mcdi.c | 507 MCDI_DECLARE_BUF_ERR(errbuf); in efx_mcdi_complete_async() 549 err_len = min(sizeof(errbuf), data_len); in efx_mcdi_complete_async() 550 efx->type->mcdi_read_response(efx, errbuf, hdr_len, in efx_mcdi_complete_async() 551 sizeof(errbuf)); in efx_mcdi_complete_async() 553 errbuf, err_len, rc); in efx_mcdi_complete_async() 659 MCDI_DECLARE_BUF_ERR(errbuf); in _efx_mcdi_rpc_finish() 709 err_len = min(sizeof(errbuf), data_len); in _efx_mcdi_rpc_finish() 719 efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); in _efx_mcdi_rpc_finish() 737 efx_siena_mcdi_display_error(efx, cmd, inlen, errbuf, in _efx_mcdi_rpc_finish()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | mcdi.c | 503 MCDI_DECLARE_BUF_ERR(errbuf); in efx_mcdi_complete_async() 545 err_len = min(sizeof(errbuf), data_len); in efx_mcdi_complete_async() 546 efx->type->mcdi_read_response(efx, errbuf, hdr_len, in efx_mcdi_complete_async() 547 sizeof(errbuf)); in efx_mcdi_complete_async() 548 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async() 655 MCDI_DECLARE_BUF_ERR(errbuf); in _efx_mcdi_rpc_finish() 705 err_len = min(sizeof(errbuf), data_len); in _efx_mcdi_rpc_finish() 715 efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); in _efx_mcdi_rpc_finish() 733 efx_mcdi_display_error(efx, cmd, inlen, errbuf, err_len, in _efx_mcdi_rpc_finish()
|
/linux-6.6.21/arch/x86/tools/ |
D | relocs.c | 129 char errbuf[128]; in regex_init() local 146 regerror(err, &sym_regex_c[i], errbuf, sizeof(errbuf)); in regex_init() 147 die("%s", errbuf); in regex_init()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | rtas.c | 1821 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local 1896 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1() 1902 if (errbuf) in SYSCALL_DEFINE1() 1903 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in SYSCALL_DEFINE1()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | nettest.c | 1874 char *outbuf, *errbuf; in ipc_child() local 1878 errbuf = malloc(4096); in ipc_child() 1879 if (!outbuf || !errbuf) { in ipc_child() 1885 setbuffer(stderr, errbuf, 4096); in ipc_child() 1899 free(errbuf); in ipc_child()
|