/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | calls.c | 281 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), 293 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), 308 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 8), 333 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 8), 357 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 8), 390 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 0), 416 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 3, 0, 0), 454 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), 470 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 4), 1031 BPF_RAW_INSN(BPF_JMP|BPF_CALL, 0, 1, 0, 1), [all …]
|
H A D | basic_call.c | 4 BPF_RAW_INSN(BPF_JMP | BPF_CALL | BPF_X, 0, 0, 0, 0), 13 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 1, 0), 22 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, 1234567), 31 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_cgroup_classid), 32 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_cgroup_classid), 43 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_cgroup_classid), 45 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_cgroup_classid),
|
H A D | map_kptr.c | 11 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 31 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 51 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 82 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 97 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_kptr_xchg), 241 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_this_cpu_ptr), 284 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_kptr_xchg), 308 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_this_cpu_ptr), 332 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_kptr_xchg), 339 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_kptr_xchg), [all …]
|
H A D | bpf_loop_inline.c | 24 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, BPF_PSEUDO_CALL, \ 40 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_jiffies64), 50 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), 70 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_jiffies64), 72 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_jiffies64), 81 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), 117 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), 155 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), 189 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), 196 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop), [all …]
|
H A D | dead_code.c | 30 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 85 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 1), 101 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 1), 103 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 1), 117 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 3), 123 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, -5), 137 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 1), 151 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 1),
|
H A D | precise.c | 120 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 124 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 129 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 4), 171 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 208 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_ringbuf_reserve), 213 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_ringbuf_submit), 243 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem),
|
H A D | jset.c | 107 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 122 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 136 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32), 151 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_prandom_u32),
|
H A D | jump.c | 81 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_delete_elem), 294 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, -20), 305 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), 325 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, -20), 336 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 4), 369 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, -31),
|
H A D | event_output.c | 35 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, \
|
H A D | ld_abs.c | 84 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_skb_vlan_push), 260 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0,
|
H A D | jmp32.c | 800 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 827 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), 855 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem),
|
/openbmc/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 90 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in prog_load() 102 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in prog_load() 111 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in prog_load() 140 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in prog_load()
|
H A D | test_cgrp2_attach.c | 54 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), in prog_load() 65 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), in prog_load()
|
H A D | sock_example.c | 55 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), in test_sock()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_cgroup_storage.c | 22 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in main() 30 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in main()
|
H A D | test_verifier.c | 207 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in bpf_fill_ld_abs_vlan_push_pop() 218 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in bpf_fill_ld_abs_vlan_push_pop() 293 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in bpf_fill_scale1() 325 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in bpf_fill_scale2() 404 insn[i++] = BPF_RAW_INSN(BPF_JMP|BPF_CALL, 0, 1, 0, 4); in bpf_fill_torturous_jumps() 405 insn[i++] = BPF_RAW_INSN(BPF_JMP|BPF_CALL, 0, 1, 0, 262); in bpf_fill_torturous_jumps() 447 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_loop); in bpf_fill_big_prog_with_loop_1() 500 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, \ 510 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, \ 593 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in create_prog_dummy_loop()
|
H A D | disasm.c | 134 [BPF_CALL >> 4] = "call", 307 if (opcode == BPF_CALL) { in print_bpf_insn()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_attach_multi.c | 45 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), in prog_load_cnt() 52 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_local_storage), in prog_load_cnt() 58 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_get_local_storage), in prog_load_cnt()
|
H A D | flow_dissector_load_bytes.c | 18 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, in serial_test_flow_dissector_load_bytes()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 457 return op != BPF_JA && op != BPF_EXIT && op != BPF_CALL; in is_mbpf_cond_jump() 464 return insn.code == (BPF_JMP | BPF_CALL) && in is_mbpf_helper_call() 472 return insn.code == (BPF_JMP | BPF_CALL) && in is_mbpf_pseudo_call()
|
/openbmc/linux/Documentation/bpf/ |
H A D | clang-notes.rst | 26 If ``-O0`` is used, Clang will generate the ``BPF_CALL | BPF_X | BPF_JMP`` (0x8d)
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 262 .code = BPF_JMP | BPF_CALL, \ 325 .code = BPF_JMP | BPF_CALL, \
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 69 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), in bpf_prog()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 134 [BPF_CALL >> 4] = "call", 307 if (opcode == BPF_CALL) { in print_bpf_insn()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | cfg.c | 141 if (cur->code != (BPF_JMP | BPF_CALL)) in cfg_partition_funcs() 181 if (opcode == BPF_EXIT || opcode == BPF_CALL) in func_partition_bb_head()
|