Searched refs:__ksym (Results 1 - 25 of 72) sorted by relevance

123

/linux-master/tools/testing/selftests/bpf/progs/
H A 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;
H A 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;
H A 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;
H A Dcpumask_common.h26 struct bpf_cpumask *bpf_cpumask_create(void) __ksym __weak;
27 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym __weak;
28 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym __weak;
29 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym __weak;
30 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym __weak;
32 const struct cpumask *src2) __ksym __weak;
33 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
34 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __weak;
35 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak;
36 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym __wea
[all...]
H A Dksym_race.c5 extern int bpf_testmod_ksym_percpu __ksym;
H A 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...]
H A 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. */
H A 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;
H A 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;
H A 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;
H A 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;
H A 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;
H A Dxfrm_info.c15 const struct bpf_xfrm_info___local *from) __ksym;
17 struct bpf_xfrm_info___local *to) __ksym;
H A Dsock_destroy_prog_fail.c11 int bpf_sock_destroy(struct sock_common *sk) __ksym;
H A 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;
H A Dtest_ksyms_btf.c19 extern const struct rq runqueues __ksym; /* struct type global var. */
20 extern const int bpf_prog_active __ksym; /* int type global var. */
H A 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;
H A Diters_task.c15 void bpf_rcu_read_lock(void) __ksym;
16 void bpf_rcu_read_unlock(void) __ksym;
H A Dtest_d_path_check_rdonly_mem.c8 extern const int bpf_prog_active __ksym;
H A Dtest_d_path_check_types.c7 extern const int bpf_prog_active __ksym;
/linux-master/tools/testing/selftests/bpf/bpf_testmod/
H A 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 int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size) __ksym;
74 int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) __ksym;
75 int *bpf_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-master/samples/hid/
H A 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-master/tools/testing/selftests/bpf/
H A 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 __weak;
52 const __u8 *sun_path, __u32 sun_path__sz) __ksym;
[all...]
H A 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;
446 struct cgroup_subsys_state *css, unsigned int flags) __weak __ksym; variable
447 extern struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) __weak __ksym; variable
448 extern void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) __weak __ksym; variable
452 struct task_struct *task, unsigned int flags) __weak __ksym; variable
453 extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; variable
454 extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; variable
458 struct cgroup_subsys_state *start, unsigned int flags) __weak __ksym; variable
459 extern struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym; variable
460 extern void bpf_iter_css_destroy(struct bpf_iter_css *it) __weak __ksym; variable
[all...]
/linux-master/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h88 const size_t __sz) __ksym;
89 extern int hid_bpf_attach_prog(unsigned int hid_id, int prog_fd, u32 flags) __ksym;
90 extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
91 extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
96 enum hid_class_request reqtype) __ksym;

Completed in 302 milliseconds

123