Home
last modified time | relevance | path

Searched refs:__ksym (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.12.1/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod_kfunc.h10 #define __ksym macro
89 bpf_kfunc_call_test_acquire(unsigned long *scalar_ptr) __ksym;
90 void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym;
91 void bpf_kfunc_call_test_ref(struct prog_test_ref_kfunc *p) __ksym;
93 void bpf_kfunc_call_test_mem_len_pass1(void *mem, int len) __ksym;
94 …t *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size) __ksym;
95 …pf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) __ksym;
96 …pf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) __ksym;
97 void bpf_kfunc_call_int_mem_release(int *p) __ksym;
103 u32 bpf_kfunc_call_test_static_unused_arg(u32 arg, u32 unused) __ksym;
[all …]
/linux-6.12.1/tools/sched_ext/include/scx/
Dcommon.bpf.h37 s32 scx_bpf_create_dsq(u64 dsq_id, s32 node) __ksym;
38 … scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, bool *is_idle) __ksym;
39 void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym;
40 …_bpf_dispatch_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) __ksym;
41 u32 scx_bpf_dispatch_nr_slots(void) __ksym;
42 void scx_bpf_dispatch_cancel(void) __ksym;
43 bool scx_bpf_consume(u64 dsq_id) __ksym;
44 void scx_bpf_dispatch_from_dsq_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __wea…
45 void scx_bpf_dispatch_from_dsq_set_vtime(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __wea…
46 …struct bpf_iter_scx_dsq *it__iter, struct task_struct *p, u64 dsq_id, u64 enq_flags) __ksym __weak;
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_kfuncs.h12 struct bpf_dynptr *ptr__uninit) __ksym __weak;
20 struct bpf_dynptr *ptr__uninit) __ksym __weak;
29 void *buffer, __u32 buffer__szk) __ksym __weak;
38 void *buffer, __u32 buffer__szk) __ksym __weak;
40 extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u32 start, __u32 end) __ksym __weak;
41 extern bool bpf_dynptr_is_null(const struct bpf_dynptr *ptr) __ksym __weak;
42 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak;
43 extern __u32 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak;
44 extern int bpf_dynptr_clone(const struct bpf_dynptr *ptr, struct bpf_dynptr *clone__init) __ksym __…
52 const __u8 *sun_path, __u32 sun_path__sz) __ksym;
[all …]
Dbpf_experimental.h23 extern void *bpf_obj_new_impl(__u64 local_type_id, void *meta) __ksym;
37 extern void bpf_obj_drop_impl(void *kptr, void *meta) __ksym;
51 extern void *bpf_refcount_acquire_impl(void *kptr, void *meta) __ksym;
67 void *meta, __u64 off) __ksym;
83 void *meta, __u64 off) __ksym;
93 extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __ksym;
100 extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __ksym;
108 struct bpf_rb_node *node) __ksym;
121 void *meta, __u64 off) __ksym;
132 extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __ksym;
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcpumask_common.h31 struct bpf_cpumask *bpf_cpumask_create(void) __ksym __weak;
32 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym __weak;
33 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym __weak;
34 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak;
35 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym __weak;
37 const struct cpumask *src2) __ksym __weak;
38 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
39 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
40 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak;
41 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
[all …]
Dtcp_ca_kfunc.c7 extern void bbr_init(struct sock *sk) __ksym;
8 extern void bbr_main(struct sock *sk, u32 ack, int flag, const struct rate_sample *rs) __ksym;
9 extern u32 bbr_sndbuf_expand(struct sock *sk) __ksym;
10 extern u32 bbr_undo_cwnd(struct sock *sk) __ksym;
11 extern void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) __ksym;
12 extern u32 bbr_ssthresh(struct sock *sk) __ksym;
13 extern u32 bbr_min_tso_segs(struct sock *sk) __ksym;
14 extern void bbr_set_state(struct sock *sk, u8 new_state) __ksym;
16 extern void dctcp_init(struct sock *sk) __ksym;
17 extern void dctcp_update_alpha(struct sock *sk, u32 flags) __ksym;
[all …]
Dkprobe_multi_session.c11 extern const void bpf_fentry_test1 __ksym;
12 extern const void bpf_fentry_test2 __ksym;
13 extern const void bpf_fentry_test3 __ksym;
14 extern const void bpf_fentry_test4 __ksym;
15 extern const void bpf_fentry_test5 __ksym;
16 extern const void bpf_fentry_test6 __ksym;
17 extern const void bpf_fentry_test7 __ksym;
18 extern const void bpf_fentry_test8 __ksym;
Dkprobe_multi.c9 extern const void bpf_fentry_test1 __ksym;
10 extern const void bpf_fentry_test2 __ksym;
11 extern const void bpf_fentry_test3 __ksym;
12 extern const void bpf_fentry_test4 __ksym;
13 extern const void bpf_fentry_test5 __ksym;
14 extern const void bpf_fentry_test6 __ksym;
15 extern const void bpf_fentry_test7 __ksym;
16 extern const void bpf_fentry_test8 __ksym;
114 extern const void bpf_testmod_fentry_test1 __ksym;
115 extern const void bpf_testmod_fentry_test2 __ksym;
[all …]
Dtest_ksyms_weak.c21 extern const struct rq runqueues __ksym __weak; /* typed */
22 extern const void bpf_prog_active __ksym __weak; /* typeless */
23 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
24 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak;
30 extern const void bpf_link_fops1 __ksym __weak;
33 extern const int bpf_link_fops2 __ksym __weak;
34 void invalid_kfunc(void) __ksym __weak;
Dtest_ksyms.c13 extern const void bpf_link_fops __ksym;
14 extern const void __start_BTF __ksym;
15 extern const void __stop_BTF __ksym;
16 extern const void __per_cpu_start __ksym;
18 extern const void bpf_link_fops1 __ksym __weak;
Dcgrp_kfunc_common.h23 struct cgroup *bpf_cgroup_acquire(struct cgroup *p) __ksym;
24 void bpf_cgroup_release(struct cgroup *p) __ksym;
25 struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) __ksym;
26 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
27 void bpf_rcu_read_lock(void) __ksym;
28 void bpf_rcu_read_unlock(void) __ksym;
Dtest_bpf_nf_fail.c18 struct bpf_ct_opts___local *, u32) __ksym;
20 struct bpf_ct_opts___local *, u32) __ksym;
21 struct nf_conn *bpf_ct_insert_entry(struct nf_conn *) __ksym;
22 void bpf_ct_release(struct nf_conn *) __ksym;
23 void bpf_ct_set_timeout(struct nf_conn *, u32) __ksym;
24 int bpf_ct_change_timeout(struct nf_conn *, u32) __ksym;
25 int bpf_ct_set_status(struct nf_conn *, u32) __ksym;
26 int bpf_ct_change_status(struct nf_conn *, u32) __ksym;
Dcrypto_common.h11 u32 params__sz, int *err) __ksym;
12 struct bpf_crypto_ctx *bpf_crypto_ctx_acquire(struct bpf_crypto_ctx *ctx) __ksym;
13 void bpf_crypto_ctx_release(struct bpf_crypto_ctx *ctx) __ksym;
15 const struct bpf_dynptr *dst, const struct bpf_dynptr *iv) __ksym;
17 const struct bpf_dynptr *dst, const struct bpf_dynptr *iv) __ksym;
Dtest_task_under_cgroup.c10 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
12 void bpf_cgroup_release(struct cgroup *p) __ksym;
13 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym;
14 void bpf_task_release(struct task_struct *p) __ksym;
Dtask_kfunc_common.h23 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym;
24 void bpf_task_release(struct task_struct *p) __ksym;
25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
26 void bpf_rcu_read_lock(void) __ksym;
27 void bpf_rcu_read_unlock(void) __ksym;
Dget_func_ip_test.c8 extern int bpf_fentry_test1(int a) __ksym;
9 extern int bpf_modify_return_test(int a, int *b) __ksym;
11 extern const void bpf_fentry_test2 __ksym;
12 extern const void bpf_fentry_test3 __ksym;
13 extern const void bpf_fentry_test4 __ksym;
Dbpf_cc_cubic.c29 extern void cubictcp_init(struct sock *sk) __ksym;
30 extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __ksym;
31 extern __u32 cubictcp_recalc_ssthresh(struct sock *sk) __ksym;
32 extern void cubictcp_state(struct sock *sk, __u8 new_state) __ksym;
33 extern __u32 tcp_reno_undo_cwnd(struct sock *sk) __ksym;
34 extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __ksym;
35 extern void cubictcp_cong_avoid(struct sock *sk, __u32 ack, __u32 acked) __ksym;
Dtest_bpf_nf.c73 struct bpf_ct_opts___local *, u32) __ksym;
75 struct bpf_ct_opts___local *, u32) __ksym;
77 struct bpf_ct_opts___local *, u32) __ksym;
79 struct bpf_ct_opts___local *, u32) __ksym;
80 struct nf_conn *bpf_ct_insert_entry(struct nf_conn *) __ksym;
81 void bpf_ct_release(struct nf_conn *) __ksym;
82 void bpf_ct_set_timeout(struct nf_conn *, u32) __ksym;
83 int bpf_ct_change_timeout(struct nf_conn *, u32) __ksym;
84 int bpf_ct_set_status(struct nf_conn *, u32) __ksym;
85 int bpf_ct_change_status(struct nf_conn *, u32) __ksym;
[all …]
Diters_css.c18 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
19 void bpf_cgroup_release(struct cgroup *p) __ksym;
20 void bpf_rcu_read_lock(void) __ksym;
21 void bpf_rcu_read_unlock(void) __ksym;
Diters_task_failure.c12 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
13 void bpf_cgroup_release(struct cgroup *p) __ksym;
14 void bpf_rcu_read_lock(void) __ksym;
15 void bpf_rcu_read_unlock(void) __ksym;
Dtest_lookup_key.c21 extern struct bpf_key *bpf_lookup_user_key(__u32 serial, __u64 flags) __ksym;
22 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
23 extern void bpf_key_put(struct bpf_key *key) __ksym;
Diters_testmod_seq.c13 extern int bpf_iter_testmod_seq_new(struct bpf_iter_testmod_seq *it, s64 value, int cnt) __ksym;
14 extern s64 *bpf_iter_testmod_seq_next(struct bpf_iter_testmod_seq *it) __ksym;
15 extern s64 bpf_iter_testmod_seq_value(int blah, struct bpf_iter_testmod_seq *it) __ksym;
16 extern void bpf_iter_testmod_seq_destroy(struct bpf_iter_testmod_seq *it) __ksym;
/linux-6.12.1/tools/testing/selftests/hid/progs/
Dhid_bpf_helpers.h94 const size_t __sz) __ksym;
95 extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
96 extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
101 enum hid_class_request reqtype) __ksym;
103 __u8 *buf, size_t buf__sz) __ksym;
107 size_t buf__sz) __ksym;
111 size_t buf__sz) __ksym;
114 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
115 extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym;
118 unsigned int flags__k, void *aux__ign) __ksym;
/linux-6.12.1/samples/hid/
Dhid_bpf_helpers.h11 const size_t __sz) __ksym;
12 extern int hid_bpf_attach_prog(unsigned int hid_id, int prog_fd, u32 flags) __ksym;
13 extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
14 extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
19 enum hid_class_request reqtype) __ksym;
/linux-6.12.1/tools/bpf/bpftool/skeleton/
Dpid_iter.bpf.c31 extern const void bpf_link_fops __ksym;
32 extern const void bpf_link_fops_poll __ksym __weak;
33 extern const void bpf_map_fops __ksym;
34 extern const void bpf_prog_fops __ksym;
35 extern const void btf_fops __ksym;

1234