Home
last modified time | relevance | path

Searched refs:BPF_EMIT_CALL (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sysctl.c244 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_name),
285 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_name),
329 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_name),
383 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_name),
431 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_name),
467 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_current_value),
506 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_current_value),
545 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_current_value),
582 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_current_value),
618 BPF_EMIT_CALL(BPF_FUNC_sysctl_get_current_value),
[all …]
Dtest_verifier.c357 insn[0] = BPF_EMIT_CALL(BPF_FUNC_get_prandom_u32); in bpf_fill_torturous_jumps_insn_1()
373 insn[0] = BPF_EMIT_CALL(BPF_FUNC_get_prandom_u32); in bpf_fill_torturous_jumps_insn_2()
479 BPF_EMIT_CALL(BPF_FUNC_ ## func)
Dtest_lru_map.c52 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem), in bpf_map_lookup_elem_with_ref_bit()
/Linux-v6.6/tools/testing/selftests/bpf/verifier/
Dprecise.c10 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
19 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
34 BPF_EMIT_CALL(BPF_FUNC_probe_read_kernel),
69 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
78 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
93 BPF_EMIT_CALL(BPF_FUNC_probe_read_kernel),
Datomic_fetch.c14 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
38 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
62 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
85 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
Dbpf_st_mem.c45 BPF_EMIT_CALL(BPF_FUNC_get_prandom_u32),
Djmp32.c804 BPF_EMIT_CALL(BPF_FUNC_get_cgroup_classid),
831 BPF_EMIT_CALL(BPF_FUNC_get_cgroup_classid),
859 BPF_EMIT_CALL(BPF_FUNC_get_cgroup_classid),
Dcalls.c665 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
2228 BPF_EMIT_CALL(BPF_FUNC_get_prandom_u32),
2328 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
2335 BPF_EMIT_CALL(BPF_FUNC_map_lookup_elem),
2356 BPF_EMIT_CALL(BPF_FUNC_ktime_get_ns),
2359 BPF_EMIT_CALL(BPF_FUNC_ktime_get_ns),
/Linux-v6.6/tools/lib/bpf/
Dgen_loader.c128 emit(gen, BPF_EMIT_CALL(BPF_FUNC_probe_read_kernel)); in bpf_gen__init()
147 emit(gen, BPF_EMIT_CALL(BPF_FUNC_sys_close)); in bpf_gen__init()
272 emit(gen, BPF_EMIT_CALL(BPF_FUNC_sys_bpf)); in emit_sys_bpf()
323 emit(gen, BPF_EMIT_CALL(BPF_FUNC_trace_printk)); in emit_debug()
352 emit(gen, BPF_EMIT_CALL(BPF_FUNC_sys_close)); in __emit_sys_close()
552 emit(gen, BPF_EMIT_CALL(BPF_FUNC_btf_find_by_name_kind)); in emit_find_attach_target()
626 emit(gen, BPF_EMIT_CALL(BPF_FUNC_btf_find_by_name_kind)); in emit_bpf_find_by_name_kind()
648 emit(gen, BPF_EMIT_CALL(BPF_FUNC_kallsyms_lookup_name)); in emit_bpf_kallsyms_lookup_name()
1066 emit(gen, BPF_EMIT_CALL(BPF_FUNC_copy_from_user)); in bpf_gen__map_update_elem()
1068 emit(gen, BPF_EMIT_CALL(BPF_FUNC_probe_read_kernel)); in bpf_gen__map_update_elem()
Dlibbpf_probes.c407 BPF_EMIT_CALL((__u32)helper_id), in libbpf_probe_bpf_helper()
Dbpf.c110 BPF_EMIT_CALL(BPF_FUNC_ktime_get_coarse_ns), in probe_memcg_account()
/Linux-v6.6/tools/include/linux/
Dfilter.h260 #define BPF_EMIT_CALL(FUNC) \ macro
/Linux-v6.6/kernel/bpf/
Dhashtab.c716 *insn++ = BPF_EMIT_CALL(__htab_map_lookup_elem); in htab_map_gen_lookup()
757 *insn++ = BPF_EMIT_CALL(__htab_map_lookup_elem); in htab_lru_map_gen_lookup()
2567 *insn++ = BPF_EMIT_CALL(__htab_map_lookup_elem); in htab_of_map_gen_lookup()
/Linux-v6.6/tools/bpf/bpftool/
Dfeature.c663 BPF_EMIT_CALL(id), in probe_helper_ifindex()
/Linux-v6.6/net/core/
Dfilter.c434 *insn = BPF_EMIT_CALL(bpf_skb_get_pay_offset); in convert_bpf_extensions()
437 *insn = BPF_EMIT_CALL(bpf_skb_get_nlattr); in convert_bpf_extensions()
440 *insn = BPF_EMIT_CALL(bpf_skb_get_nlattr_nest); in convert_bpf_extensions()
443 *insn = BPF_EMIT_CALL(bpf_get_raw_cpu_id); in convert_bpf_extensions()
446 *insn = BPF_EMIT_CALL(bpf_user_rnd_u32); in convert_bpf_extensions()
520 *insn++ = BPF_EMIT_CALL(bpf_skb_load_helper_8); in convert_bpf_ld_abs()
523 *insn++ = BPF_EMIT_CALL(bpf_skb_load_helper_16); in convert_bpf_ld_abs()
526 *insn++ = BPF_EMIT_CALL(bpf_skb_load_helper_32); in convert_bpf_ld_abs()
8758 *insn++ = BPF_EMIT_CALL(bpf_skb_load_helper_8_no_cache); in bpf_gen_ld_abs()
8761 *insn++ = BPF_EMIT_CALL(bpf_skb_load_helper_16_no_cache); in bpf_gen_ld_abs()
[all …]
/Linux-v6.6/Documentation/bpf/
Dverifier.rst782 BPF_EMIT_CALL(BPF_FUNC_sk_lookup_tcp),
810 BPF_EMIT_CALL(BPF_FUNC_sk_lookup_tcp),
/Linux-v6.6/include/linux/
Dfilter.h377 #define BPF_EMIT_CALL(FUNC) \ macro
/Linux-v6.6/lib/
Dtest_bpf.c15133 *insn = BPF_EMIT_CALL(addr); in prepare_tail_call_tests()