Home
last modified time | relevance | path

Searched refs:__bpf_kfunc (Results 1 – 25 of 33) sorted by relevance

12

/linux/kernel/bpf/
A Dcpumask.c49 __bpf_kfunc struct bpf_cpumask *bpf_cpumask_create(void) in bpf_cpumask_create()
89 __bpf_kfunc void bpf_cpumask_release(struct bpf_cpumask *cpumask) in bpf_cpumask_release()
99 __bpf_kfunc void bpf_cpumask_release_dtor(void *cpumask) in bpf_cpumask_release_dtor()
112 __bpf_kfunc u32 bpf_cpumask_first(const struct cpumask *cpumask) in bpf_cpumask_first()
139 __bpf_kfunc u32 bpf_cpumask_first_and(const struct cpumask *src1, in bpf_cpumask_first_and()
227 __bpf_kfunc void bpf_cpumask_setall(struct bpf_cpumask *cpumask) in bpf_cpumask_setall()
236 __bpf_kfunc void bpf_cpumask_clear(struct bpf_cpumask *cpumask) in bpf_cpumask_clear()
253 __bpf_kfunc bool bpf_cpumask_and(struct bpf_cpumask *dst, in bpf_cpumask_and()
268 __bpf_kfunc void bpf_cpumask_or(struct bpf_cpumask *dst, in bpf_cpumask_or()
283 __bpf_kfunc void bpf_cpumask_xor(struct bpf_cpumask *dst, in bpf_cpumask_xor()
[all …]
A Dhelpers.c2368 __bpf_kfunc void bpf_task_release_dtor(void *p) in bpf_task_release_dtor()
2398 __bpf_kfunc void bpf_cgroup_release_dtor(void *cgrp) in bpf_cgroup_release_dtor()
2431 __bpf_kfunc struct cgroup *bpf_cgroup_from_id(u64 cgid) in bpf_cgroup_from_id()
2494 __bpf_kfunc struct cgroup *
2732 __bpf_kfunc void *bpf_cast_to_kern_ctx(void *obj) in bpf_cast_to_kern_ctx()
2742 __bpf_kfunc void bpf_rcu_read_lock(void) in bpf_rcu_read_lock()
2747 __bpf_kfunc void bpf_rcu_read_unlock(void) in bpf_rcu_read_unlock()
2776 __bpf_kfunc void bpf_throw(u64 cookie) in bpf_throw()
2840 __bpf_kfunc void bpf_preempt_disable(void) in bpf_preempt_disable()
2845 __bpf_kfunc void bpf_preempt_enable(void) in bpf_preempt_enable()
[all …]
A Dcrypto.c145 __bpf_kfunc struct bpf_crypto_ctx *
242 __bpf_kfunc struct bpf_crypto_ctx *
258 __bpf_kfunc void bpf_crypto_ctx_release(struct bpf_crypto_ctx *ctx) in bpf_crypto_ctx_release()
313 __bpf_kfunc int bpf_crypto_decrypt(struct bpf_crypto_ctx *ctx, in bpf_crypto_decrypt()
334 __bpf_kfunc int bpf_crypto_encrypt(struct bpf_crypto_ctx *ctx, in bpf_crypto_encrypt()
A Dtask_iter.c822 __bpf_kfunc int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, in bpf_iter_task_vma_new()
866 __bpf_kfunc struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) in bpf_iter_task_vma_next()
875 __bpf_kfunc void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) in bpf_iter_task_vma_destroy()
900 __bpf_kfunc int bpf_iter_css_task_new(struct bpf_iter_css_task *it, in bpf_iter_css_task_new()
925 __bpf_kfunc struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) in bpf_iter_css_task_next()
934 __bpf_kfunc void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) in bpf_iter_css_task_destroy()
969 __bpf_kfunc int bpf_iter_task_new(struct bpf_iter_task *it, in bpf_iter_task_new()
1001 __bpf_kfunc struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) in bpf_iter_task_next()
1030 __bpf_kfunc void bpf_iter_task_destroy(struct bpf_iter_task *it) in bpf_iter_task_destroy()
A Dcgroup_iter.c310 __bpf_kfunc int bpf_iter_css_new(struct bpf_iter_css *it, in bpf_iter_css_new()
334 __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) in bpf_iter_css_next()
355 __bpf_kfunc void bpf_iter_css_destroy(struct bpf_iter_css *it) in bpf_iter_css_destroy()
/linux/tools/testing/selftests/bpf/bpf_testmod/
A Dbpf_testmod.c137 __bpf_kfunc void
178 __bpf_kfunc void bpf_kfunc_common_test(void) in bpf_kfunc_common_test()
209 __bpf_kfunc void bpf_kfunc_trusted_num_test(int *ptr) in bpf_kfunc_trusted_num_test()
217 __bpf_kfunc struct bpf_testmod_ctx *
628 __bpf_kfunc struct prog_test_ref_kfunc *
640 __bpf_kfunc struct prog_test_member *
683 __bpf_kfunc void bpf_kfunc_call_int_mem_release(int *p) in bpf_kfunc_call_int_mem_release()
728 __bpf_kfunc void bpf_kfunc_call_test_destructive(void) in bpf_kfunc_call_test_destructive()
737 __bpf_kfunc void bpf_kfunc_call_test_sleepable(void) in bpf_kfunc_call_test_sleepable()
783 __bpf_kfunc void bpf_kfunc_close_sock(void) in bpf_kfunc_close_sock()
[all …]
/linux/fs/
A Dbpf_fs_kfuncs.c39 __bpf_kfunc struct file *bpf_get_task_exe_file(struct task_struct *task) in bpf_get_task_exe_file()
55 __bpf_kfunc void bpf_put_file(struct file *file) in bpf_put_file()
79 __bpf_kfunc int bpf_path_d_path(struct path *path, char *buf, size_t buf__sz) in bpf_path_d_path()
108 __bpf_kfunc int bpf_get_dentry_xattr(struct dentry *dentry, const char *name__str, in bpf_get_dentry_xattr()
146 __bpf_kfunc int bpf_get_file_xattr(struct file *file, const char *name__str, in bpf_get_file_xattr()
/linux/net/netfilter/
A Dnf_conntrack_bpf.c292 __bpf_kfunc struct nf_conn___init *
326 __bpf_kfunc struct nf_conn *
359 __bpf_kfunc struct nf_conn___init *
394 __bpf_kfunc struct nf_conn *
419 __bpf_kfunc struct nf_conn *bpf_ct_insert_entry(struct nf_conn___init *nfct_i) in bpf_ct_insert_entry()
445 __bpf_kfunc void bpf_ct_release(struct nf_conn *nfct) in bpf_ct_release()
460 __bpf_kfunc void bpf_ct_set_timeout(struct nf_conn___init *nfct, u32 timeout) in bpf_ct_set_timeout()
475 __bpf_kfunc int bpf_ct_change_timeout(struct nf_conn *nfct, u32 timeout) in bpf_ct_change_timeout()
490 __bpf_kfunc int bpf_ct_set_status(const struct nf_conn___init *nfct, u32 status) in bpf_ct_set_status()
505 __bpf_kfunc int bpf_ct_change_status(struct nf_conn *nfct, u32 status) in bpf_ct_change_status()
A Dnf_nat_bpf.c31 __bpf_kfunc int bpf_ct_set_nat_info(struct nf_conn___init *nfct, in bpf_ct_set_nat_info()
A Dnf_flow_table_bpf.c58 __bpf_kfunc struct flow_offload_tuple_rhash *
/linux/net/ipv4/
A Dtcp_dctcp.c89 __bpf_kfunc static void dctcp_init(struct sock *sk) in dctcp_init()
118 __bpf_kfunc static u32 dctcp_ssthresh(struct sock *sk) in dctcp_ssthresh()
127 __bpf_kfunc static void dctcp_update_alpha(struct sock *sk, u32 flags) in dctcp_update_alpha()
183 __bpf_kfunc static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state()
193 __bpf_kfunc static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) in dctcp_cwnd_event()
243 __bpf_kfunc static u32 dctcp_cwnd_undo(struct sock *sk) in dctcp_cwnd_undo()
A Dtcp_cubic.c129 __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 Dfou_bpf.c44 __bpf_kfunc int bpf_skb_set_fou_encap(struct __sk_buff *skb_ctx, in bpf_skb_set_fou_encap()
86 __bpf_kfunc int bpf_skb_get_fou_encap(struct __sk_buff *skb_ctx, in bpf_skb_get_fou_encap()
A Dtcp_cong.c454 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start()
468 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai()
494 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid()
513 __bpf_kfunc u32 tcp_reno_ssthresh(struct sock *sk) in tcp_reno_ssthresh()
521 __bpf_kfunc u32 tcp_reno_undo_cwnd(struct sock *sk) in tcp_reno_undo_cwnd()
A Dtcp_bbr.c299 __bpf_kfunc static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs()
332 __bpf_kfunc static void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bbr_cwnd_event()
1027 __bpf_kfunc static void bbr_main(struct sock *sk, u32 ack, int flag, const struct rate_sample *rs) in bbr_main()
1039 __bpf_kfunc static void bbr_init(struct sock *sk) in bbr_init()
1081 __bpf_kfunc static u32 bbr_sndbuf_expand(struct sock *sk) in bbr_sndbuf_expand()
1090 __bpf_kfunc static u32 bbr_undo_cwnd(struct sock *sk) in bbr_undo_cwnd()
1101 __bpf_kfunc static u32 bbr_ssthresh(struct sock *sk) in bbr_ssthresh()
1129 __bpf_kfunc static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state()
/linux/drivers/hid/bpf/
A Dhid_bpf_dispatch.c281 __bpf_kfunc __u8 *
304 __bpf_kfunc struct hid_bpf_ctx *
331 __bpf_kfunc void
397 __bpf_kfunc int
460 __bpf_kfunc int
521 __bpf_kfunc int
546 __bpf_kfunc int
/linux/net/xfrm/
A Dxfrm_interface_bpf.c40 __bpf_kfunc int bpf_skb_get_xfrm_info(struct __sk_buff *skb_ctx, struct bpf_xfrm_info *to) in bpf_skb_get_xfrm_info()
62 __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()
A Dxfrm_state_bpf.c64 __bpf_kfunc struct xfrm_state *
113 __bpf_kfunc void bpf_xdp_xfrm_state_release(struct xfrm_state *x) in bpf_xdp_xfrm_state_release()
/linux/kernel/sched/
A Dext.c6207 __bpf_kfunc u32 scx_bpf_dispatch_nr_slots(void) in scx_bpf_dispatch_nr_slots()
6221 __bpf_kfunc void scx_bpf_dispatch_cancel(void) in scx_bpf_dispatch_cancel()
6249 __bpf_kfunc bool scx_bpf_consume(u64 dsq_id) in scx_bpf_consume()
6288 __bpf_kfunc void scx_bpf_dispatch_from_dsq_set_slice( in scx_bpf_dispatch_from_dsq_set_slice()
6401 __bpf_kfunc u32 scx_bpf_reenqueue_local(void) in scx_bpf_reenqueue_local()
6562 __bpf_kfunc s32 scx_bpf_dsq_nr_queued(u64 dsq_id) in scx_bpf_dsq_nr_queued()
6601 __bpf_kfunc void scx_bpf_destroy_dsq(u64 dsq_id) in scx_bpf_destroy_dsq()
6860 __bpf_kfunc u32 scx_bpf_cpuperf_cap(s32 cpu) in scx_bpf_cpuperf_cap()
6882 __bpf_kfunc u32 scx_bpf_cpuperf_cur(s32 cpu) in scx_bpf_cpuperf_cur()
6928 __bpf_kfunc u32 scx_bpf_nr_cpu_ids(void) in scx_bpf_nr_cpu_ids()
[all …]
/linux/tools/testing/selftests/bpf/bpf_test_modorder_x/
A Dbpf_test_modorder_x.c9 __bpf_kfunc int bpf_test_modorder_retx(void) in bpf_test_modorder_retx()
/linux/tools/testing/selftests/bpf/bpf_test_modorder_y/
A Dbpf_test_modorder_y.c9 __bpf_kfunc int bpf_test_modorder_rety(void) in bpf_test_modorder_rety()
/linux/net/bpf/
A Dtest_run.c521 __bpf_kfunc int bpf_fentry_test1(int a) in bpf_fentry_test1()
567 __bpf_kfunc u32 bpf_fentry_test9(u32 *a) in bpf_fentry_test9()
576 __bpf_kfunc int bpf_modify_return_test(int a, int *b) in bpf_modify_return_test()
582 __bpf_kfunc int bpf_modify_return_test2(int a, int *b, short c, int d, in bpf_modify_return_test2()
589 __bpf_kfunc int bpf_modify_return_test_tp(int nonce) in bpf_modify_return_test_tp()
618 __bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) in bpf_kfunc_call_test_release()
623 __bpf_kfunc void bpf_kfunc_call_test_release_dtor(void *p) in bpf_kfunc_call_test_release_dtor()
629 __bpf_kfunc void bpf_kfunc_call_memb_release(struct prog_test_member *p) in bpf_kfunc_call_memb_release()
633 __bpf_kfunc void bpf_kfunc_call_memb_release_dtor(void *p) in bpf_kfunc_call_memb_release_dtor()
/linux/net/core/
A Dxdp.c708 __bpf_kfunc int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) in bpf_xdp_metadata_rx_timestamp()
730 __bpf_kfunc int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, in bpf_xdp_metadata_rx_hash()
763 __bpf_kfunc int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, in bpf_xdp_metadata_rx_vlan_tag()
/linux/fs/verity/
A Dmeasure.c120 __bpf_kfunc int bpf_get_fsverity_digest(struct file *file, struct bpf_dynptr *digest_p) in bpf_get_fsverity_digest()
/linux/Documentation/bpf/
A Dkfuncs.rst42 __bpf_kfunc struct task_struct *bpf_find_get_task_by_vpid(pid_t nr)
67 __bpf_kfunc void bpf_memzero(void *mem, int mem__sz)
87 __bpf_kfunc void *bpf_obj_new(u32 local_type_id__k, ...)
109 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
128 __bpf_kfunc void *bpf_dynptr_slice(..., void *buffer__opt, u32 buffer__szk)
144 __bpf_kfunc bpf_get_file_xattr(..., const char *name__str, ...)
188 kfunc definitions should also always be annotated with the ``__bpf_kfunc``
197 __bpf_kfunc struct task_struct *bpf_get_task_pid(s32 pid)

Completed in 77 milliseconds

12