Home
last modified time | relevance | path

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

12

/linux/lib/
H A 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 …]
H A 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/drivers/media/usb/stk1160/
H A 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/net/netfilter/
H A 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()
H A 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()
H A 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()
H A 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/tools/testing/selftests/bpf/progs/
H A 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/tools/testing/vsock/
H A Dutil.h72 unsigned long long val, char const *errmsg);
74 char const *errmsg);
76 struct timeval val, char const *errmsg);
H A Dutil.c657 unsigned long long val, char const *errmsg) in setsockopt_ull_check() argument
693 fprintf(stderr, "%s val %llu\n", errmsg, val); in setsockopt_ull_check()
700 char const *errmsg) in setsockopt_int_check() argument
735 fprintf(stderr, "%s val %d\n", errmsg, val); in setsockopt_int_check()
749 struct timeval val, char const *errmsg) in setsockopt_timeval_check() argument
787 fprintf(stderr, "%s val %ld:%ld\n", errmsg, val.tv_sec, val.tv_usec); in setsockopt_timeval_check()
/linux/tools/testing/selftests/mm/
H A 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);
H A 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()
H A 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/scripts/dtc/
H A 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, \
H A 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/tools/lib/bpf/
H A 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()
/linux/drivers/media/usb/cx231xx/
H A 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 …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/net/smc/
H A 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/fs/qnx4/
H A 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/drivers/media/usb/em28xx/
H A 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 …]
/linux/arch/powerpc/xmon/
H A Dppc-opc.c968 const char **errmsg ATTRIBUTE_UNUSED) in insert_arx()
974 *errmsg = _("invalid register"); in insert_arx()
991 const char **errmsg ATTRIBUTE_UNUSED) in insert_ary()
997 *errmsg = _("invalid register"); in insert_ary()
1014 const char **errmsg) in insert_rx() argument
1022 *errmsg = _("invalid register"); in insert_rx()
1043 const char **errmsg) in insert_ry() argument
1051 *errmsg = _("invalid register"); in insert_ry()
1078 const char **errmsg ATTRIBUTE_UNUSED) in insert_bat()
1103 const char **errmsg ATTRIBUTE_UNUSED) in insert_bba()
[all …]
H A Dppc.h263 (unsigned long instruction, long op, ppc_cpu_t dialect, const char **errmsg);
/linux/fs/qnx6/
H A Dinode.c301 const char *errmsg; in qnx6_fill_super() local
453 errmsg = qnx6_checkroot(s); in qnx6_fill_super()
454 if (errmsg != NULL) { in qnx6_fill_super()
456 pr_err("%s\n", errmsg); in qnx6_fill_super()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.h26 typedef int (*nl_ext_ack_fn_t)(const char *errmsg, uint32_t off,

12