Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dcpumask_common.h26 struct bpf_cpumask *bpf_cpumask_create(void) __ksym;
27 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym;
28 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym;
29 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym;
30 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym;
32 const struct cpumask *src2) __ksym;
33 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym;
34 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym;
35 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym;
36 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym;
[all …]
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;
Dget_func_ip_test.c8 extern const void bpf_fentry_test1 __ksym;
9 extern const void bpf_fentry_test2 __ksym;
10 extern const void bpf_fentry_test3 __ksym;
11 extern const void bpf_fentry_test4 __ksym;
12 extern const void bpf_modify_return_test __ksym;
13 extern const void bpf_fentry_test6 __ksym;
14 extern const void bpf_fentry_test7 __ksym;
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;
Dtest_bpf_nf_fail.c17 struct bpf_ct_opts___local *, u32) __ksym;
19 struct bpf_ct_opts___local *, u32) __ksym;
20 struct nf_conn *bpf_ct_insert_entry(struct nf_conn *) __ksym;
21 void bpf_ct_release(struct nf_conn *) __ksym;
22 void bpf_ct_set_timeout(struct nf_conn *, u32) __ksym;
23 int bpf_ct_change_timeout(struct nf_conn *, u32) __ksym;
24 int bpf_ct_set_status(struct nf_conn *, u32) __ksym;
25 int bpf_ct_change_status(struct nf_conn *, u32) __ksym;
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_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;
Dtest_bpf_nf.c52 struct bpf_ct_opts___local *, u32) __ksym;
54 struct bpf_ct_opts___local *, u32) __ksym;
56 struct bpf_ct_opts___local *, u32) __ksym;
58 struct bpf_ct_opts___local *, u32) __ksym;
59 struct nf_conn *bpf_ct_insert_entry(struct nf_conn *) __ksym;
60 void bpf_ct_release(struct nf_conn *) __ksym;
61 void bpf_ct_set_timeout(struct nf_conn *, u32) __ksym;
62 int bpf_ct_change_timeout(struct nf_conn *, u32) __ksym;
63 int bpf_ct_set_status(struct nf_conn *, u32) __ksym;
64 int bpf_ct_change_status(struct nf_conn *, u32) __ksym;
[all …]
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;
Dtask_kfunc_success.c20 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym __weak;
22 struct task_struct *bpf_task_acquire___one(struct task_struct *task) __ksym __weak;
24 struct task_struct *bpf_task_acquire___two(struct task_struct *p, void *ctx) __ksym __weak;
26 struct task_struct *bpf_task_acquire___three(void *ctx) __ksym __weak;
28 void invalid_kfunc(void) __ksym __weak;
29 void bpf_testmod_test_mod_kfunc(int i) __ksym __weak;
Dtest_verify_pkcs7_sig.c17 extern struct bpf_key *bpf_lookup_user_key(__u32 serial, __u64 flags) __ksym;
18 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
19 extern void bpf_key_put(struct bpf_key *key) __ksym;
22 struct bpf_key *trusted_keyring) __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;
Drcu_read_lock.c22 struct bpf_key *bpf_lookup_user_key(__u32 serial, __u64 flags) __ksym;
23 void bpf_key_put(struct bpf_key *key) __ksym;
24 void bpf_rcu_read_lock(void) __ksym;
25 void bpf_rcu_read_unlock(void) __ksym;
26 struct task_struct *bpf_task_acquire(struct task_struct *p) __ksym;
27 void bpf_task_release(struct task_struct *p) __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 void bpf_iter_testmod_seq_destroy(struct bpf_iter_testmod_seq *it) __ksym;
Dtest_ksyms_module.c20 extern const int bpf_testmod_ksym_percpu __ksym;
21 extern void bpf_testmod_test_mod_kfunc(int i) __ksym;
22 extern void bpf_testmod_invalid_mod_kfunc(void) __ksym __weak;
Dtest_kfunc_dynptr_param.c15 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
16 extern void bpf_key_put(struct bpf_key *key) __ksym;
19 struct bpf_key *trusted_keyring) __ksym;
Dnested_trust_common.h9 bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym;
10 bool bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym;
Dtest_ksyms_btf_null_check.c8 extern const struct rq runqueues __ksym; /* struct type global var. */
9 extern const int bpf_prog_active __ksym; /* int type global var. */
/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod_kfunc.h10 #define __ksym macro
68 bpf_kfunc_call_test_acquire(unsigned long *scalar_ptr) __ksym;
69 void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym;
70 void bpf_kfunc_call_test_ref(struct prog_test_ref_kfunc *p) __ksym;
72 void bpf_kfunc_call_test_mem_len_pass1(void *mem, int len) __ksym;
73 …t *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size) __ksym;
74 …pf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) __ksym;
75 …pf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) __ksym;
76 void bpf_kfunc_call_int_mem_release(int *p) __ksym;
82 u32 bpf_kfunc_call_test_static_unused_arg(u32 arg, u32 unused) __ksym;
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Dbpf_kfuncs.h10 struct bpf_dynptr *ptr__uninit) __ksym;
18 struct bpf_dynptr *ptr__uninit) __ksym;
27 void *buffer, __u32 buffer__szk) __ksym;
36 void *buffer, __u32 buffer__szk) __ksym;
38 extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u32 start, __u32 end) __ksym;
39 extern bool bpf_dynptr_is_null(const struct bpf_dynptr *ptr) __ksym;
40 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym;
41 extern __u32 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym;
42 extern int bpf_dynptr_clone(const struct bpf_dynptr *ptr, struct bpf_dynptr *clone__init) __ksym;
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;
/linux-6.6.21/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.6.21/tools/testing/selftests/hid/progs/
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.6.21/tools/bpf/bpftool/skeleton/
Dpid_iter.bpf.c31 extern const void bpf_link_fops __ksym;
32 extern const void bpf_map_fops __ksym;
33 extern const void bpf_prog_fops __ksym;
34 extern const void btf_fops __ksym;

123