Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/lib/
Dasn1_decoder.c177 const char *errmsg; in asn1_ber_decoder() local
332 data, datalen, &tmp, &len, &errmsg); in asn1_ber_decoder()
477 errmsg = "Data overrun error"; in asn1_ber_decoder()
480 errmsg = "Machine overrun error"; in asn1_ber_decoder()
483 errmsg = "Jump stack underflow"; in asn1_ber_decoder()
486 errmsg = "Jump stack overflow"; in asn1_ber_decoder()
489 errmsg = "Cons stack underflow"; in asn1_ber_decoder()
492 errmsg = "Cons stack overflow"; in asn1_ber_decoder()
495 errmsg = "Cons length error"; in asn1_ber_decoder()
498 errmsg = "Missing EOC in indefinite len cons"; in asn1_ber_decoder()
[all …]
Dtest_objagg.c643 const char **errmsg) in check_expect_stats_nums() argument
646 if (errmsg) in check_expect_stats_nums()
647 *errmsg = "Incorrect root/delta indication"; in check_expect_stats_nums()
652 if (errmsg) in check_expect_stats_nums()
653 *errmsg = "Incorrect user count"; in check_expect_stats_nums()
658 if (errmsg) in check_expect_stats_nums()
659 *errmsg = "Incorrect delta user count"; in check_expect_stats_nums()
668 const char **errmsg) in check_expect_stats_key_id() argument
672 if (errmsg) in check_expect_stats_key_id()
673 *errmsg = "incorrect key id"; in check_expect_stats_key_id()
[all …]
/linux-6.12.1/drivers/media/usb/stk1160/
Dstk1160-video.c27 char *errmsg = "Unknown"; in print_err_status() local
31 errmsg = "unlinked synchronously"; in print_err_status()
34 errmsg = "unlinked asynchronously"; in print_err_status()
37 errmsg = "Buffer error (overrun)"; in print_err_status()
40 errmsg = "Stalled (device not responding)"; in print_err_status()
43 errmsg = "Babble (bad cable?)"; in print_err_status()
46 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status()
49 errmsg = "CRC/Timeout (could be anything)"; in print_err_status()
52 errmsg = "Device does not respond"; in print_err_status()
58 status, errmsg); in print_err_status()
[all …]
/linux-6.12.1/net/netfilter/
Dxt_addrtype.c158 const char *errmsg = "both incoming and outgoing interface limitation cannot be selected"; in addrtype_mt_checkentry_v1() local
168 errmsg = "output interface limitation not valid in PREROUTING and INPUT"; in addrtype_mt_checkentry_v1()
175 errmsg = "input interface limitation not valid in POSTROUTING and OUTPUT"; in addrtype_mt_checkentry_v1()
182 errmsg = "ipv6 BLACKHOLE matching not supported"; in addrtype_mt_checkentry_v1()
186 errmsg = "ipv6 PROHIBIT (THROW, NAT ..) matching not supported"; in addrtype_mt_checkentry_v1()
190 errmsg = "ipv6 does not support BROADCAST matching"; in addrtype_mt_checkentry_v1()
197 pr_info_ratelimited("%s\n", errmsg); in addrtype_mt_checkentry_v1()
Dnf_conntrack_timeout.c70 const char *errmsg = NULL; in nf_ct_set_timeout() local
77 errmsg = "Timeout policy base is empty"; in nf_ct_set_timeout()
119 if (errmsg) in nf_ct_set_timeout()
120 pr_info_ratelimited("%s\n", errmsg); in nf_ct_set_timeout()
Dxt_policy.c132 const char *errmsg = "neither incoming nor outgoing policy selected"; in policy_mt_check() local
139 errmsg = "output policy not valid in PREROUTING and INPUT"; in policy_mt_check()
144 errmsg = "input policy not valid in POSTROUTING and OUTPUT"; in policy_mt_check()
148 errmsg = "too many policy elements"; in policy_mt_check()
153 pr_info_ratelimited("%s\n", errmsg); in policy_mt_check()
Dxt_HMARK.c310 const char *errmsg = "proto mask must be zero with L3 mode"; in hmark_tg_check() local
327 errmsg = "spi-set and port-set can't be combined"; in hmark_tg_check()
332 pr_info_ratelimited("%s\n", errmsg); in hmark_tg_check()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_attach_fail.c42 struct xdp_errmsg errmsg = {}; in tp__xdp__bpf_xdp_link_attach_failed() local
44 bpf_probe_read_kernel_str(&errmsg.msg, ERRMSG_LEN, msg); in tp__xdp__bpf_xdp_link_attach_failed()
45 bpf_perf_event_output(ctx, &xdp_errmsg_pb, BPF_F_CURRENT_CPU, &errmsg, in tp__xdp__bpf_xdp_link_attach_failed()
/linux-6.12.1/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c30 char *errmsg = "Unknown"; in print_err_status() local
34 errmsg = "unlinked synchronously"; in print_err_status()
37 errmsg = "unlinked asynchronously"; in print_err_status()
40 errmsg = "Buffer error (overrun)"; in print_err_status()
43 errmsg = "Stalled (device not responding)"; in print_err_status()
46 errmsg = "Babble (bad cable?)"; in print_err_status()
49 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status()
52 errmsg = "CRC/Timeout (could be anything)"; in print_err_status()
55 errmsg = "Device does not respond"; in print_err_status()
60 "URB status %d [%s].\n", status, errmsg); in print_err_status()
[all …]
Dcx231xx-dvb.c169 char *errmsg = "Unknown"; in print_err_status() local
173 errmsg = "unlinked synchronously"; in print_err_status()
176 errmsg = "unlinked asynchronously"; in print_err_status()
179 errmsg = "Buffer error (overrun)"; in print_err_status()
182 errmsg = "Stalled (device not responding)"; in print_err_status()
185 errmsg = "Babble (bad cable?)"; in print_err_status()
188 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status()
191 errmsg = "CRC/Timeout (could be anything)"; in print_err_status()
194 errmsg = "Device does not respond"; in print_err_status()
199 "URB status %d [%s].\n", status, errmsg); in print_err_status()
[all …]
Dcx231xx-video.c186 char *errmsg = "Unknown"; in print_err_status() local
190 errmsg = "unlinked synchronously"; in print_err_status()
193 errmsg = "unlinked asynchronously"; in print_err_status()
196 errmsg = "Buffer error (overrun)"; in print_err_status()
199 errmsg = "Stalled (device not responding)"; in print_err_status()
202 errmsg = "Babble (bad cable?)"; in print_err_status()
205 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status()
208 errmsg = "CRC/Timeout (could be anything)"; in print_err_status()
211 errmsg = "Device does not respond"; in print_err_status()
215 cx231xx_isocdbg("URB status %d [%s].\n", status, errmsg); in print_err_status()
[all …]
/linux-6.12.1/tools/testing/selftests/mm/
Duffd-common.h96 int (*pre_alloc)(const char **errmsg);
97 int (*post_alloc)(const char **errmsg);
117 int uffd_test_ctx_init(uint64_t features, const char **errmsg);
Duffd-common.c298 int uffd_test_ctx_init(uint64_t features, const char **errmsg) in uffd_test_ctx_init() argument
304 ret = uffd_test_case_ops->pre_alloc(errmsg); in uffd_test_ctx_init()
312 if (errmsg) in uffd_test_ctx_init()
313 *errmsg = "memory allocation failed"; in uffd_test_ctx_init()
318 ret = uffd_test_case_ops->post_alloc(errmsg); in uffd_test_ctx_init()
325 if (errmsg) in uffd_test_ctx_init()
326 *errmsg = "possible lack of priviledge"; in uffd_test_ctx_init()
Duffd-unit-tests.c187 mem_type_t *mem_type, const char **errmsg) in uffd_setup_environment() argument
205 return uffd_test_ctx_init(test->uffd_feature_required, errmsg); in uffd_setup_environment()
1230 static int prevent_hugepages(const char **errmsg) in prevent_hugepages() argument
1236 if (errmsg) in prevent_hugepages()
1237 *errmsg = "madvise(MADV_NOHUGEPAGE) failed"; in prevent_hugepages()
1244 static int request_hugepages(const char **errmsg) in request_hugepages() argument
1248 if (errmsg) { in request_hugepages()
1249 *errmsg = (errno == EINVAL) ? in request_hugepages()
1491 const char *errmsg; in main() local
1546 &errmsg)) { in main()
[all …]
/linux-6.12.1/scripts/dtc/
Dutil.h202 void NORETURN util_usage(const char *errmsg, const char *synopsis,
215 #define usage(errmsg) \ argument
216 util_usage(errmsg, usage_synopsis, usage_short_opts, \
Dutil.c426 void NORETURN util_usage(const char *errmsg, const char *synopsis, in util_usage() argument
431 FILE *fp = errmsg ? stderr : stdout; in util_usage()
474 if (errmsg) { in util_usage()
475 fprintf(fp, "\nError: %s\n", errmsg); in util_usage()
/linux-6.12.1/tools/lib/bpf/
Dnlattr.c166 char *errmsg = NULL; in libbpf_nla_dump_errormsg() local
190 errmsg = (char *) libbpf_nla_data(tb[NLMSGERR_ATTR_MSG]); in libbpf_nla_dump_errormsg()
192 pr_warn("Kernel error message: %s\n", errmsg); in libbpf_nla_dump_errormsg()
Dfeatures.c50 char *cp, errmsg[STRERR_BUFSIZE]; in probe_kern_global_data() local
70 cp = libbpf_strerror_r(ret, errmsg, sizeof(errmsg)); in probe_kern_global_data()
270 char *cp, errmsg[STRERR_BUFSIZE]; in probe_prog_bind_map() local
288 cp = libbpf_strerror_r(ret, errmsg, sizeof(errmsg)); in probe_prog_bind_map()
Dlibbpf.c1536 char errmsg[STRERR_BUFSIZE], *cp; in bpf_object__elf_init() local
1539 cp = libbpf_strerror_r(err, errmsg, sizeof(errmsg)); in bpf_object__elf_init()
4977 char *cp, errmsg[STRERR_BUFSIZE]; in bpf_object__probe_loading() local
5001 cp = libbpf_strerror_r(ret, errmsg, sizeof(errmsg)); in bpf_object__probe_loading()
5055 char *cp, errmsg[STRERR_BUFSIZE]; in bpf_object__reuse_map() local
5067 cp = libbpf_strerror_r(-err, errmsg, sizeof(errmsg)); in bpf_object__reuse_map()
5095 char *cp, errmsg[STRERR_BUFSIZE]; in bpf_object__populate_internal_map() local
5109 cp = libbpf_strerror_r(err, errmsg, sizeof(errmsg)); in bpf_object__populate_internal_map()
5120 cp = libbpf_strerror_r(err, errmsg, sizeof(errmsg)); in bpf_object__populate_internal_map()
5229 char *cp, errmsg[STRERR_BUFSIZE]; in bpf_object__create_map() local
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_attach.c107 struct xdp_errmsg errmsg = {}; in test_xdp_attach_fail() local
124 on_xdp_errmsg, NULL, &errmsg, NULL); in test_xdp_attach_fail()
142 ASSERT_STRNEQ((const char *) errmsg.msg, tgt_errmsg, in test_xdp_attach_fail()
/linux-6.12.1/net/smc/
Dsmc_stats.c278 goto errmsg; in smc_nl_get_stats()
283 goto errmsg; in smc_nl_get_stats()
323 errmsg: in smc_nl_get_stats()
349 goto errmsg; in smc_nl_get_fback_details()
383 errmsg: in smc_nl_get_fback_details()
/linux-6.12.1/drivers/media/usb/pwc/
Dpwc-if.c305 const char *errmsg; in pwc_isoc_handler() local
307 errmsg = "Unknown"; in pwc_isoc_handler()
309 case -ENOSR: errmsg = "Buffer error (overrun)"; break; in pwc_isoc_handler()
310 case -EPIPE: errmsg = "Stalled (device not responding)"; break; in pwc_isoc_handler()
311 case -EOVERFLOW: errmsg = "Babble (bad cable?)"; break; in pwc_isoc_handler()
312 case -EPROTO: errmsg = "Bit-stuff error (bad cable?)"; break; in pwc_isoc_handler()
313 case -EILSEQ: errmsg = "CRC/Timeout (could be anything)"; break; in pwc_isoc_handler()
314 case -ETIME: errmsg = "Device does not respond"; break; in pwc_isoc_handler()
317 urb->status, errmsg); in pwc_isoc_handler()
/linux-6.12.1/fs/qnx4/
Dinode.c196 const char *errmsg; in qnx4_fill_super() local
223 errmsg = qnx4_checkroot(s, (struct qnx4_super_block *) bh->b_data); in qnx4_fill_super()
225 if (errmsg != NULL) { in qnx4_fill_super()
227 printk(KERN_ERR "qnx4: %s\n", errmsg); in qnx4_fill_super()
/linux-6.12.1/drivers/i2c/busses/
Dscx200_acb.c103 const char *errmsg; in scx200_acb_machine() local
109 errmsg = "bus error"; in scx200_acb_machine()
113 errmsg = "not master"; in scx200_acb_machine()
208 "%s in state %s (addr=0x%02x, len=%d, status=0x%02x)\n", errmsg, in scx200_acb_machine()
/linux-6.12.1/drivers/media/usb/em28xx/
Dem28xx-dvb.c108 char *errmsg = "Unknown"; in print_err_status() local
112 errmsg = "unlinked synchronously"; in print_err_status()
115 errmsg = "unlinked asynchronously"; in print_err_status()
118 errmsg = "Buffer error (overrun)"; in print_err_status()
121 errmsg = "Stalled (device not responding)"; in print_err_status()
124 errmsg = "Babble (bad cable?)"; in print_err_status()
127 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status()
130 errmsg = "CRC/Timeout (could be anything)"; in print_err_status()
133 errmsg = "Device does not respond"; in print_err_status()
137 dprintk(1, "URB status %d [%s].\n", status, errmsg); in print_err_status()
[all …]

12