| /tools/testing/selftests/bpf/verifier/ |
| A D | ld_imm64.c | 12 .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 …]
|
| A D | direct_value_access.c | 108 .errstr = "invalid access to map value pointer", 132 .errstr = "invalid access to map value pointer", 261 .errstr = "invalid bpf_ld_imm64 insn", 272 .errstr = "BPF_LD_IMM64 uses reserved fields", 283 .errstr = "BPF_LD_IMM64 uses reserved fields", 294 .errstr = "invalid bpf_ld_imm64 insn", 305 .errstr = "invalid bpf_ld_imm64 insn", 316 .errstr = "BPF_LD_IMM64 uses reserved fields", 327 .errstr = "invalid bpf_ld_imm64 insn", 338 .errstr = "invalid bpf_ld_imm64 insn", [all …]
|
| A D | junk_insn.c | 7 .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",
|
| A D | basic_stx_ldx.c | 7 .errstr = "R15 is invalid", 16 .errstr = "R14 is invalid", 25 .errstr = "R14 is invalid", 34 .errstr = "R12 is invalid", 43 .errstr = "R11 is invalid",
|
| A D | basic.c | 5 .errstr = "last insn is not an exit or jmp", 13 .errstr = "R0 !read_ok", 21 .errstr = "not an exit",
|
| A D | basic_call.c | 7 .errstr = "unknown opcode 8d", 16 .errstr = "BPF_CALL uses reserved", 25 .errstr = "invalid func unknown#1234567", 35 .errstr = "R1 !read_ok",
|
| A D | ctx_skb.c | 38 .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 …]
|
| A D | map_kptr.c | 20 .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", 124 .errstr = "kptr access misaligned expected=0 off=7", 247 .errstr = "R1 type=untrusted_ptr_ expected=percpu_ptr_", 291 .errstr = "off=0 kptr isn't referenced kptr", 314 .errstr = "R1 type=rcu_ptr_or_null_ expected=percpu_ptr_", 376 .errstr = "Unreleased reference id=4 alloc_insn=20", 400 .errstr = "store to referenced kptr disallowed", 420 .errstr = "store to referenced kptr disallowed", [all …]
|
| A D | ctx_sk_lookup.c | 271 .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 …]
|
| A D | atomic_fetch_add.c | 55 .errstr = "frame pointer is read only", 69 .errstr = "!read_ok", 82 .errstr = "!read_ok", 105 .errstr = "only read is supported",
|
| A D | calls.c | 250 .errstr = "R1 must be", 584 .errstr = "!read_ok", 622 .errstr = "R2 !read_ok", 907 .errstr = "not an exit", 921 .errstr = "last insn", 936 .errstr = "last insn", 980 .errstr = "not an exit", 1226 .errstr = "call stack", 1264 .errstr = "call stack", 2302 .errstr = "!read_ok", [all …]
|
| A D | ld_abs.c | 10 .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",
|
| A D | precise.c | 40 .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",
|
| A D | jset.c | 100 .errstr = "!read_ok", 115 .errstr = "!read_ok", 129 .errstr = "!read_ok",
|
| A D | wide_access.c | 13 .errstr = err, \ 55 .errstr = err, \
|
| A D | atomic_cmpxchg.c | 84 .errstr = "!read_ok", 190 .errstr = "invalid size of register fill", 232 .errstr = "R0 invalid mem access",
|
| A D | atomic_invalid.c | 12 .errstr = "R1 invalid mem access 'scalar'" \
|
| A D | sleepable.c | 88 ….errstr = "Only fentry/fexit/fmod_ret, lsm, iter, uprobe, and struct_ops programs can be sleepable…
|
| A D | bpf_st_mem.c | 96 .errstr = "0: (7a) *(u64 *)(r10 -8) = -44 ; R10=fp0 fp-8_w=-44\
|
| A D | atomic_fetch.c | 70 .errstr = "invalid size of register fill", 93 .errstr = "invalid size of register fill",
|
| /tools/lib/bpf/ |
| A D | skel_internal.h | 66 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() 355 opts->errstr = "failed to execute loader prog"; in bpf_load_and_run() 358 opts->errstr = "error returned by loader prog"; in bpf_load_and_run()
|
| A D | ringbuf.c | 93 map_fd, errstr(err)); in ring_buffer__add() 128 map_fd, errstr(err)); in ring_buffer__add() 147 map_fd, errstr(err)); in ring_buffer__add() 161 map_fd, errstr(err)); in ring_buffer__add() 209 pr_warn("ringbuf: failed to create epoll instance: %s\n", errstr(err)); in ring_buffer__new() 463 map_fd, errstr(err)); in user_ringbuf_map() 480 map_fd, errstr(err)); in user_ringbuf_map() 500 map_fd, errstr(err)); in user_ringbuf_map() 511 pr_warn("user ringbuf: failed to epoll add map fd=%d: %s\n", map_fd, errstr(err)); in user_ringbuf_map() 536 pr_warn("user ringbuf: failed to create epoll instance: %s\n", errstr(err)); in user_ring_buffer__new()
|
| A D | str_error.h | 17 #define errstr(err) libbpf_errstr(err) macro
|
| A D | libbpf.c | 3618 errstr(err)); in bpf_object__sanitize_and_load_btf() 3621 errstr(err)); in bpf_object__sanitize_and_load_btf() 4838 errstr(err)); in bpf_get_map_info_from_fdinfo() 5049 errstr(ret)); in bpf_object__probe_loading() 5092 errstr(err)); in map_is_reuse_compat() 11211 errstr(err)); in perf_event_kprobe_open_legacy() 11219 errstr(err)); in perf_event_kprobe_open_legacy() 11235 errstr(err)); in perf_event_kprobe_open_legacy() 11368 errstr(err)); in bpf_program__attach_kprobe_opts() 11378 errstr(err)); in bpf_program__attach_kprobe_opts() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | stream.c | 23 const char *errstr; member 94 ret = match_regex(stream_error_arr[i].errstr, buf); in test_stream_errors()
|