Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 28) sorted by relevance

12

/tools/testing/selftests/bpf/verifier/
Dld_imm64.c12 .errstr = "jump into the middle of ldimm64 insn 1",
26 .errstr = "jump into the middle of ldimm64 insn 1",
41 .errstr = "invalid bpf_ld_imm64 insn",
50 .errstr = "invalid bpf_ld_imm64 insn",
79 .errstr = "uses reserved fields",
89 .errstr = "invalid bpf_ld_imm64 insn",
99 .errstr = "invalid bpf_ld_imm64 insn",
109 .errstr = "invalid bpf_ld_imm64 insn",
120 .errstr = "not pointing to valid bpf_map",
131 .errstr = "invalid bpf_ld_imm64 insn",
[all …]
Ddirect_value_access.c71 .errstr = "R1 min value is outside of the allowed memory range",
84 .errstr = "direct value offset of 4294967295 is not allowed",
108 .errstr = "invalid access to map value pointer",
132 .errstr = "invalid access to map value pointer",
144 .errstr = "direct value offset of 536870912 is not allowed",
156 .errstr = "invalid access to map value pointer, value_size=48 off=536870911",
198 .errstr = "invalid access to map value, value_size=48 off=47 size=2",
213 .errstr = "invalid access to map value, value_size=48 off=47 size=2",
226 .errstr = "R1 min value is outside of the allowed memory range",
250 .errstr = "invalid access to map value pointer",
[all …]
Djunk_insn.c7 .errstr = "unknown opcode 00",
16 .errstr = "BPF_LDX uses reserved fields",
25 .errstr = "unknown opcode ff",
34 .errstr = "unknown opcode ff",
43 .errstr = "BPF_ALU uses reserved fields",
Dbasic_stx_ldx.c7 .errstr = "R15 is invalid",
16 .errstr = "R14 is invalid",
25 .errstr = "R14 is invalid",
34 .errstr = "R12 is invalid",
43 .errstr = "R11 is invalid",
Dbasic.c5 .errstr = "last insn is not an exit or jmp",
13 .errstr = "R0 !read_ok",
21 .errstr = "not an exit",
Dbasic_call.c7 .errstr = "unknown opcode 8d",
16 .errstr = "BPF_CALL uses reserved",
25 .errstr = "invalid func unknown#1234567",
35 .errstr = "R1 !read_ok",
Dctx_skb.c38 .errstr = "invalid bpf_context access",
58 .errstr = "different pointers",
80 .errstr = "different pointers",
103 .errstr = "different pointers",
114 .errstr = "invalid bpf_context access",
124 .errstr = "invalid bpf_context access",
134 .errstr = "invalid bpf_context access",
144 .errstr = "invalid bpf_context access",
154 .errstr = "invalid bpf_context access",
164 .errstr = "invalid bpf_context access",
[all …]
Dmap_kptr.c20 .errstr = "BPF_ST imm must be 0 when storing to kptr at off=0",
40 .errstr = "kptr access size must be BPF_DW",
70 .errstr = "kptr access cannot have variable offset",
103 .errstr = "R1 doesn't have constant offset. kptr has to be at the constant offset",
124 .errstr = "kptr access misaligned expected=0 off=7",
154 .errstr = "variable untrusted_ptr_ access var_off=(0x0; 0x7) disallowed",
179 .errstr = "invalid kptr access, R1 type=untrusted_ptr_prog_test_ref_kfunc expected=ptr_prog_test",
200 .errstr = "R0 invalid mem access 'untrusted_ptr_or_null_'",
223 .errstr = "access beyond struct prog_test_ref_kfunc at off 32 size 8",
247 .errstr = "R1 type=untrusted_ptr_ expected=percpu_ptr_",
[all …]
Dctx_sk_lookup.c271 .errstr = "invalid bpf_context access",
284 .errstr = "invalid bpf_context access",
298 .errstr = "invalid bpf_context access",
311 .errstr = "invalid bpf_context access",
325 .errstr = "invalid bpf_context access",
339 .errstr = "invalid bpf_context access",
352 .errstr = "invalid bpf_context access",
366 .errstr = "invalid bpf_context access",
380 .errstr = "invalid bpf_context access",
395 .errstr = "invalid bpf_context access",
[all …]
Datomic_fetch_add.c55 .errstr = "frame pointer is read only",
69 .errstr = "!read_ok",
82 .errstr = "!read_ok",
105 .errstr = "only read is supported",
Dcalls.c10 .errstr = "invalid kernel function call not eliminated in verifier pass",
34 .errstr = "arg#0 pointer type STRUCT prog_test_fail1 must point to scalar",
49 .errstr = "max struct nesting depth exceeded\narg#0 pointer type STRUCT prog_test_fail2",
64 .errstr = "arg#0 pointer type STRUCT prog_test_fail3 must point to scalar",
79 .errstr = "arg#0 expected pointer to ctx, but got fp",
94 .errstr = "arg#0 pointer type UNKNOWN must point to scalar",
112 .errstr = "Possibly NULL pointer passed to trusted arg0",
135 .errstr = "R1 must have zero offset when passed to release func",
155 .errstr = "kernel function bpf_kfunc_call_memb1_release args#0 expected pointer",
188 .errstr = "ptr R1 off=-4 disallowed",
[all …]
Dprecise.c40 .errstr =
100 .errstr =
139 .errstr = "!read_ok",
156 .errstr = "mark_precise: frame0: last_idx 5 first_idx 5\
185 .errstr = "mark_precise: frame0: last_idx 7 first_idx 7\
226 .errstr = "invalid access to memory, mem_size=1 off=42 size=8",
263 .errstr = "register with unbounded min value is not allowed",
Dld_abs.c10 .errstr = "R1 !read_ok",
22 .errstr = "R2 !read_ok",
34 .errstr = "R3 !read_ok",
46 .errstr = "R4 !read_ok",
58 .errstr = "R5 !read_ok",
105 .errstr = "unknown opcode",
117 .errstr = "unknown opcode",
Djset.c101 .errstr = "!read_ok",
116 .errstr = "!read_ok",
130 .errstr = "!read_ok",
Dwide_access.c13 .errstr = err, \
55 .errstr = err, \
Datomic_cmpxchg.c84 .errstr = "!read_ok",
190 .errstr = "invalid size of register fill",
232 .errstr = "R0 invalid mem access",
Datomic_invalid.c12 .errstr = "R1 invalid mem access 'scalar'" \
Dsleepable.c88 ….errstr = "Only fentry/fexit/fmod_ret, lsm, iter, uprobe, and struct_ops programs can be sleepable…
Dbpf_st_mem.c96 .errstr = "0: (7a) *(u64 *)(r10 -8) = -44 ; R10=fp0 fp-8_w=-44\
Datomic_fetch.c70 .errstr = "invalid size of register fill",
93 .errstr = "invalid size of register fill",
Dbasic_instr.c191 .errstr = "unknown opcode df",
Djump.c299 .errstr = "jump out of range from insn 1 to 4",
330 .errstr = "last insn is not an exit or jmp",
/tools/lib/bpf/
Dskel_internal.h66 const char *errstr; member
318 opts->errstr = "failed to create loader map"; in bpf_load_and_run()
325 opts->errstr = "failed to update loader map"; in bpf_load_and_run()
343 opts->errstr = "failed to load loader prog"; in bpf_load_and_run()
354 opts->errstr = "failed to execute loader prog"; in bpf_load_and_run()
/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c81 const char *errstr = getxinfo_strerr(err); in xgetaddrinfo() local
84 node ? node : "", service ? service : "", errstr); in xgetaddrinfo()
Dmptcp_connect.c175 const char *errstr = getxinfo_strerr(err); in xgetnameinfo() local
177 fprintf(stderr, "Fatal: getnameinfo: %s\n", errstr); in xgetnameinfo()
189 const char *errstr = getxinfo_strerr(err); in xgetaddrinfo() local
192 node ? node : "", service ? service : "", errstr); in xgetaddrinfo()

12