| /linux-6.15/tools/perf/tests/ |
| H A 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()
|
| H A 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()
|
| H A D | code-reading.c | 747 char errbuf[512]; in do_test_code_reading() local 748 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in do_test_code_reading() 749 pr_debug("perf_evlist__open() failed!\n%s\n", errbuf); in do_test_code_reading()
|
| /linux-6.15/tools/perf/bench/ |
| H A 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.15/drivers/scsi/aic7xxx/aicasm/ |
| H A D | aicasm_gram.y | 66 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), 1629 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register() 1638 snprintf(errbuf, sizeof(errbuf), in process_register() 1823 snprintf(errbuf, sizeof(errbuf), in test_readable_symbol() 1840 snprintf(errbuf, sizeof(errbuf), in test_writable_symbol() 1879 snprintf(errbuf, sizeof(errbuf), in type_check() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | spin_lock.c | 65 char errbuf[512]; in match_regex() local 67 regerror(err, &re, errbuf, sizeof(errbuf)); in match_regex() 68 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in match_regex()
|
| H A D | ctx_rewrite.c | 341 char errbuf[512]; in compile_regex() local 343 regerror(err, re, errbuf, sizeof(errbuf)); in compile_regex() 344 PRINT_FAIL("Can't compile regex: %s\n", errbuf); in compile_regex()
|
| /linux-6.15/drivers/usb/host/ |
| H A 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()
|
| H A 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.15/drivers/md/dm-vdo/ |
| H A D | logger.c | 197 char errbuf[VDO_MAX_ERROR_MESSAGE_SIZE]; in vdo_vlog_strerror() local 198 const char *message = uds_string_error(errnum, errbuf, sizeof(errbuf)); in vdo_vlog_strerror()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-top.c | 1304 char errbuf[BUFSIZ]; in __cmd_top() local 1305 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top() 1439 char errbuf[BUFSIZ]; in cmd_top() local 1649 str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top() 1756 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1757 ui__warning("%s\n", errbuf); in cmd_top() 1764 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top() 1765 ui__error("%s\n", errbuf); in cmd_top() 1776 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
|
| H A D | builtin-ftrace.c | 109 char errbuf[512]; in __write_tracing_file() local 126 name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 143 val, name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file() 1806 char errbuf[512]; in cmd_ftrace() local 1808 target__strerror(&ftrace.target, ret, errbuf, 512); in cmd_ftrace() 1809 pr_err("%s\n", errbuf); in cmd_ftrace()
|
| H A D | builtin-trace.c | 4650 char errbuf[BUFSIZ]; in trace__run() local 4653 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime"); in trace__run() 4657 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)"); in trace__run() 4661 evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf)); in trace__run() 4665 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in trace__run() 4668 fprintf(trace->output, "%s\n", errbuf); in trace__run() 4675 str_error_r(errno, errbuf, sizeof(errbuf))); in trace__run()
|
| H A D | builtin-record.c | 3986 char errbuf[BUFSIZ]; in cmd_record() local 4195 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 4196 ui__warning("%s\n", errbuf); in cmd_record() 4203 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record() 4204 ui__error("%s", errbuf); in cmd_record() 4222 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_record()
|
| H A D | builtin-kvm.c | 1821 char errbuf[BUFSIZ]; in kvm_events_live() local 1896 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live() 1897 ui__warning("%s", errbuf); in kvm_events_live()
|
| H A D | builtin-lock.c | 2046 char errbuf[512]; in __cmd_contention() local 2048 target__strerror(&target, err, errbuf, 512); in __cmd_contention() 2049 pr_err("%s\n", errbuf); in __cmd_contention()
|
| H A D | builtin-stat.c | 2488 char errbuf[BUFSIZ]; in cmd_stat() local 2620 target__strerror(&target, err, errbuf, BUFSIZ); in cmd_stat() 2621 pr_warning("%s\n", errbuf); in cmd_stat()
|
| /linux-6.15/arch/mips/boot/tools/ |
| H A 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.15/tools/testing/selftests/bpf/ |
| H A D | network_helpers.c | 1043 char errbuf[PCAP_ERRBUF_SIZE]; in traffic_monitor_prepare_pcap() local 1048 pcap = pcap_create("any", errbuf); in traffic_monitor_prepare_pcap() 1050 log_err("Failed to open pcap: %s", errbuf); in traffic_monitor_prepare_pcap() 1065 r = pcap_setnonblock(pcap, 1, errbuf); in traffic_monitor_prepare_pcap() 1067 log_err("Failed to set nonblock: %s", errbuf); in traffic_monitor_prepare_pcap()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A 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.15/drivers/net/ethernet/sfc/ |
| H A 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.15/arch/x86/tools/ |
| H A D | relocs.c | 132 char errbuf[128]; in regex_init() local 148 regerror(err, &sym_regex_c[i], errbuf, sizeof(errbuf)); in regex_init() 149 die("%s", errbuf); in regex_init()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | rtas.c | 1832 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local 1924 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1() 1933 if (errbuf) in SYSCALL_DEFINE1() 1934 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in SYSCALL_DEFINE1()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | nettest.c | 1875 char *outbuf, *errbuf; in ipc_child() local 1879 errbuf = malloc(4096); in ipc_child() 1880 if (!outbuf || !errbuf) { in ipc_child() 1886 setbuffer(stderr, errbuf, 4096); in ipc_child() 1900 free(errbuf); in ipc_child()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | super.c | 1774 struct printbuf errbuf = PRINTBUF; in bch2_dev_add() local 1868 printbuf_exit(&errbuf); in bch2_dev_add() 2160 struct printbuf errbuf = PRINTBUF; in bch2_fs_open() local 2234 printbuf_exit(&errbuf); in bch2_fs_open()
|