/linux-6.3-rc2/kernel/bpf/ |
A D | cpumask.c | 51 __bpf_kfunc struct bpf_cpumask *bpf_cpumask_create(void) in bpf_cpumask_create() 119 __bpf_kfunc void bpf_cpumask_release(struct bpf_cpumask *cpumask) in bpf_cpumask_release() 138 __bpf_kfunc u32 bpf_cpumask_first(const struct cpumask *cpumask) in bpf_cpumask_first() 238 __bpf_kfunc void bpf_cpumask_setall(struct bpf_cpumask *cpumask) in bpf_cpumask_setall() 247 __bpf_kfunc void bpf_cpumask_clear(struct bpf_cpumask *cpumask) in bpf_cpumask_clear() 264 __bpf_kfunc bool bpf_cpumask_and(struct bpf_cpumask *dst, in bpf_cpumask_and() 279 __bpf_kfunc void bpf_cpumask_or(struct bpf_cpumask *dst, in bpf_cpumask_or() 294 __bpf_kfunc void bpf_cpumask_xor(struct bpf_cpumask *dst, in bpf_cpumask_xor() 359 __bpf_kfunc bool bpf_cpumask_empty(const struct cpumask *cpumask) in bpf_cpumask_empty() 374 __bpf_kfunc bool bpf_cpumask_full(const struct cpumask *cpumask) in bpf_cpumask_full() [all …]
|
A D | helpers.c | 1833 __bpf_kfunc void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) in bpf_obj_drop_impl() 1943 __bpf_kfunc struct task_struct *bpf_task_acquire(struct task_struct *p) in bpf_task_acquire() 2019 __bpf_kfunc void bpf_task_release(struct task_struct *p) in bpf_task_release() 2034 __bpf_kfunc struct cgroup *bpf_cgroup_acquire(struct cgroup *cgrp) in bpf_cgroup_acquire() 2046 __bpf_kfunc struct cgroup *bpf_cgroup_kptr_get(struct cgroup **cgrpp) in bpf_cgroup_kptr_get() 2078 __bpf_kfunc void bpf_cgroup_release(struct cgroup *cgrp) in bpf_cgroup_release() 2112 __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) in bpf_task_from_pid() 2125 __bpf_kfunc void *bpf_cast_to_kern_ctx(void *obj) in bpf_cast_to_kern_ctx() 2130 __bpf_kfunc void *bpf_rdonly_cast(void *obj__ign, u32 btf_id__k) in bpf_rdonly_cast() 2135 __bpf_kfunc void bpf_rcu_read_lock(void) in bpf_rcu_read_lock() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_conntrack_bpf.c | 252 __bpf_kfunc struct nf_conn___init * 286 __bpf_kfunc struct nf_conn * 319 __bpf_kfunc struct nf_conn___init * 354 __bpf_kfunc struct nf_conn * 379 __bpf_kfunc struct nf_conn *bpf_ct_insert_entry(struct nf_conn___init *nfct_i) in bpf_ct_insert_entry() 402 __bpf_kfunc void bpf_ct_release(struct nf_conn *nfct) in bpf_ct_release() 419 __bpf_kfunc void bpf_ct_set_timeout(struct nf_conn___init *nfct, u32 timeout) in bpf_ct_set_timeout() 434 __bpf_kfunc int bpf_ct_change_timeout(struct nf_conn *nfct, u32 timeout) in bpf_ct_change_timeout() 449 __bpf_kfunc int bpf_ct_set_status(const struct nf_conn___init *nfct, u32 status) in bpf_ct_set_status() 464 __bpf_kfunc int bpf_ct_change_status(struct nf_conn *nfct, u32 status) in bpf_ct_change_status()
|
A D | nf_nat_bpf.c | 33 __bpf_kfunc int bpf_ct_set_nat_info(struct nf_conn___init *nfct, in bpf_ct_set_nat_info()
|
/linux-6.3-rc2/net/ipv4/ |
A D | tcp_dctcp.c | 78 __bpf_kfunc static void dctcp_init(struct sock *sk) in dctcp_init() 107 __bpf_kfunc static u32 dctcp_ssthresh(struct sock *sk) in dctcp_ssthresh() 116 __bpf_kfunc static void dctcp_update_alpha(struct sock *sk, u32 flags) in dctcp_update_alpha() 172 __bpf_kfunc static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state() 182 __bpf_kfunc static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) in dctcp_cwnd_event() 232 __bpf_kfunc static u32 dctcp_cwnd_undo(struct sock *sk) in dctcp_cwnd_undo()
|
A D | tcp_cubic.c | 129 __bpf_kfunc static void cubictcp_init(struct sock *sk) in cubictcp_init() 142 __bpf_kfunc static void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) in cubictcp_cwnd_event() 324 __bpf_kfunc static void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in cubictcp_cong_avoid() 341 __bpf_kfunc static u32 cubictcp_recalc_ssthresh(struct sock *sk) in cubictcp_recalc_ssthresh() 358 __bpf_kfunc static void cubictcp_state(struct sock *sk, u8 new_state) in cubictcp_state() 448 __bpf_kfunc static void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) in cubictcp_acked()
|
A D | tcp_cong.c | 406 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start() 420 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai() 446 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() 465 __bpf_kfunc u32 tcp_reno_ssthresh(struct sock *sk) in tcp_reno_ssthresh() 473 __bpf_kfunc u32 tcp_reno_undo_cwnd(struct sock *sk) in tcp_reno_undo_cwnd()
|
A D | tcp_bbr.c | 298 __bpf_kfunc static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs() 331 __bpf_kfunc static void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bbr_cwnd_event() 1026 __bpf_kfunc static void bbr_main(struct sock *sk, const struct rate_sample *rs) in bbr_main() 1038 __bpf_kfunc static void bbr_init(struct sock *sk) in bbr_init() 1080 __bpf_kfunc static u32 bbr_sndbuf_expand(struct sock *sk) in bbr_sndbuf_expand() 1089 __bpf_kfunc static u32 bbr_undo_cwnd(struct sock *sk) in bbr_undo_cwnd() 1100 __bpf_kfunc static u32 bbr_ssthresh(struct sock *sk) in bbr_ssthresh() 1128 __bpf_kfunc static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state()
|
/linux-6.3-rc2/net/bpf/ |
A D | test_run.c | 496 __bpf_kfunc int bpf_fentry_test1(int a) in bpf_fentry_test1() 541 __bpf_kfunc int bpf_modify_return_test(int a, int *b) in bpf_modify_return_test() 552 __bpf_kfunc int bpf_kfunc_call_test2(struct sock *sk, u32 a, u32 b) in bpf_kfunc_call_test2() 557 __bpf_kfunc struct sock *bpf_kfunc_call_test3(struct sock *sk) in bpf_kfunc_call_test3() 594 __bpf_kfunc struct prog_test_ref_kfunc * 601 __bpf_kfunc struct prog_test_member * 656 __bpf_kfunc void bpf_kfunc_call_int_mem_release(int *p) in bpf_kfunc_call_int_mem_release() 660 __bpf_kfunc struct prog_test_ref_kfunc * 709 __bpf_kfunc void bpf_kfunc_call_test_pass_ctx(struct __sk_buff *skb) in bpf_kfunc_call_test_pass_ctx() 713 __bpf_kfunc void bpf_kfunc_call_test_pass1(struct prog_test_pass1 *p) in bpf_kfunc_call_test_pass1() [all …]
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_interface_bpf.c | 42 __bpf_kfunc int bpf_skb_get_xfrm_info(struct __sk_buff *skb_ctx, struct bpf_xfrm_info *to) in bpf_skb_get_xfrm_info() 64 __bpf_kfunc int bpf_skb_set_xfrm_info(struct __sk_buff *skb_ctx, const struct bpf_xfrm_info *from) in bpf_skb_set_xfrm_info()
|
/linux-6.3-rc2/kernel/cgroup/ |
A D | rstat.c | 29 __bpf_kfunc void cgroup_rstat_updated(struct cgroup *cgrp, int cpu) in cgroup_rstat_updated() 234 __bpf_kfunc void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/bpf_testmod/ |
A D | bpf_testmod.c | 62 __bpf_kfunc void
|
/linux-6.3-rc2/net/core/ |
A D | xdp.c | 725 __bpf_kfunc int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) in bpf_xdp_metadata_rx_timestamp() 737 __bpf_kfunc int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash) in bpf_xdp_metadata_rx_hash()
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | kfuncs.rst | 44 __bpf_kfunc struct task_struct *bpf_find_get_task_by_vpid(pid_t nr) 69 __bpf_kfunc void bpf_memzero(void *mem, int mem__sz) 89 __bpf_kfunc void *bpf_obj_new(u32 local_type_id__k, ...) 128 kfunc definitions should also always be annotated with the ``__bpf_kfunc`` 137 __bpf_kfunc struct task_struct *bpf_get_task_pid(s32 pid)
|
/linux-6.3-rc2/include/linux/ |
A D | btf.h | 81 #define __bpf_kfunc __used noinline macro
|
/linux-6.3-rc2/kernel/trace/ |
A D | bpf_trace.c | 1238 __bpf_kfunc struct bpf_key *bpf_lookup_user_key(u32 serial, u64 flags) in bpf_lookup_user_key() 1287 __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key() 1311 __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) in bpf_key_put() 1331 __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, in bpf_verify_pkcs7_signature()
|
/linux-6.3-rc2/kernel/ |
A D | kexec_core.c | 1071 __bpf_kfunc void crash_kexec(struct pt_regs *regs) in crash_kexec()
|