Home
last modified time | relevance | path

Searched refs:BPF_PROG (Results 1 – 25 of 201) sorted by relevance

123456789

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_kfunc_prog_types.c36 int BPF_PROG(task_kfunc_raw_tp) in BPF_PROG() function
44 int BPF_PROG(task_kfunc_syscall) in BPF_PROG() function
52 int BPF_PROG(task_kfunc_tracepoint) in BPF_PROG() function
60 int BPF_PROG(task_kfunc_perf_event) in BPF_PROG() function
90 int BPF_PROG(cgrp_kfunc_raw_tp) in BPF_PROG() function
98 int BPF_PROG(cgrp_kfunc_syscall) in BPF_PROG() function
106 int BPF_PROG(cgrp_kfunc_tracepoint) in BPF_PROG() function
114 int BPF_PROG(cgrp_kfunc_perf_event) in BPF_PROG() function
142 int BPF_PROG(cpumask_kfunc_raw_tp) in BPF_PROG() function
150 int BPF_PROG(cpumask_kfunc_syscal function
158 int BPF_PROG(cpumask_kfunc_tracepoint) BPF_PROG() function
166 int BPF_PROG(cpumask_kfunc_perf_event) BPF_PROG() function
[all...]
H A Dtask_kfunc_failure.c33 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
54 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
70 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
85 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
105 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
120 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
134 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
154 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
167 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
183 int BPF_PROG(task_kfunc_release_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
[all …]
H A Dverifier_vfs_reject.c17 int BPF_PROG(get_task_exe_file_kfunc_null) in BPF_PROG() function
32 int BPF_PROG(get_task_exe_file_kfunc_fp) in BPF_PROG() function
50 int BPF_PROG(get_task_exe_file_kfunc_untrusted) in BPF_PROG() function
70 int BPF_PROG(get_task_exe_file_kfunc_unreleased) in BPF_PROG() function
84 int BPF_PROG(put_file_kfunc_unacquired, struct file *file) in BPF_PROG() function
93 int BPF_PROG(path_d_path_kfunc_null) in BPF_PROG() function
102 int BPF_PROG(path_d_path_kfunc_untrusted_from_argument, struct task_struct *task) in BPF_PROG() function
116 int BPF_PROG(path_d_path_kfunc_untrusted_from_current) in BPF_PROG() function
132 int BPF_PROG(path_d_path_kfunc_type_mismatch, struct file *file) in BPF_PROG() function
140 int BPF_PROG(path_d_path_kfunc_invalid_buf_sz, struct file *file) in BPF_PROG() function
[all …]
H A Dtest_module_attach.c13 int BPF_PROG(handle_raw_tp, in BPF_PROG() function
21 int BPF_PROG(handle_raw_tp_bare,
33 int BPF_PROG(handle_raw_tp_writable_bare,
43 int BPF_PROG(handle_tp_btf,
51 int BPF_PROG(handle_fentry, in BPF_PROG()
60 int BPF_PROG(handle_fentry_manual, in BPF_PROG()
69 int BPF_PROG(handle_fentry_explicit, in BPF_PROG()
79 int BPF_PROG(handle_fentry_explicit_manual, in BPF_PROG() function
90 int BPF_PROG(handle_fexit,
101 int BPF_PROG(handle_fexit_re
23 int BPF_PROG(handle_raw_tp_bare, BPF_PROG() function
35 int BPF_PROG(handle_raw_tp_writable_bare, BPF_PROG() function
47 int BPF_PROG(handle_tp_btf, BPF_PROG() function
57 int BPF_PROG(handle_fentry, BPF_PROG() function
68 int BPF_PROG(handle_fentry_manual, BPF_PROG() function
91 int BPF_PROG(handle_fentry_explicit_manual, BPF_PROG() function
103 int BPF_PROG(handle_fexit, BPF_PROG() function
114 int BPF_PROG(handle_fexit_ret, int arg, struct file *ret) BPF_PROG() function
128 int BPF_PROG(handle_fmod_ret, BPF_PROG() function
137 int BPF_PROG(kprobe_multi) BPF_PROG() function
[all...]
H A Dcgrp_kfunc_failure.c33 int BPF_PROG(cgrp_kfunc_acquire_untrusted, struct cgroup *cgrp, const char *path) in BPF_PROG() function
52 int BPF_PROG(cgrp_kfunc_acquire_no_null_check, struct cgroup *cgrp, const char *path) in BPF_PROG() function
68 int BPF_PROG(cgrp_kfunc_acquire_fp, struct cgroup *cgrp, const char *path) in BPF_PROG() function
82 int BPF_PROG(cgrp_kfunc_acquire_unsafe_kretprobe, struct cgroup *cgrp) in BPF_PROG() function
96 int BPF_PROG(cgrp_kfunc_acquire_trusted_walked, struct cgroup *cgrp, const char *path) in BPF_PROG() function
110 int BPF_PROG(cgrp_kfunc_acquire_null, struct cgroup *cgrp, const char *path) in BPF_PROG() function
124 int BPF_PROG(cgrp_kfunc_acquire_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() function
138 int BPF_PROG(cgrp_kfunc_xchg_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() function
158 int BPF_PROG(cgrp_kfunc_rcu_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() function
179 int BPF_PROG(cgrp_kfunc_release_untrusted, struct cgroup *cgrp, const char *path) in BPF_PROG() function
[all …]
H A Dcpumask_failure.c36 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
121 int BPF_PROG(test_global_mask_out_of_rcu) in BPF_PROG() function
159 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
187 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
212 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
[all …]
H A Dfentry_test.c11 int BPF_PROG(test1, int a) in BPF_PROG() function
19 int BPF_PROG(test2, int a, __u64 b) in BPF_PROG() function
27 int BPF_PROG(test3, char a, int b, __u64 c) in BPF_PROG() function
35 int BPF_PROG(test4, void *a, char b, int c, __u64 d) in BPF_PROG() function
43 int BPF_PROG(test5, __u64 a, void *b, short c, int d, __u64 e) in BPF_PROG() function
52 int BPF_PROG(test6, __u64 a, void *b, short c, int d, void * e, __u64 f) in BPF_PROG() function
65 int BPF_PROG(test7, struct bpf_fentry_test_t *arg) in BPF_PROG() function
74 int BPF_PROG(test8, struct bpf_fentry_test_t *arg) in BPF_PROG() function
H A Dfexit_test.c11 int BPF_PROG(test1, int a, int ret) in BPF_PROG() function
19 int BPF_PROG(test2, int a, __u64 b, int ret) in BPF_PROG() function
27 int BPF_PROG(test3, char a, int b, __u64 c, int ret) in BPF_PROG() function
35 int BPF_PROG(test4, void *a, char b, int c, __u64 d, int ret) in BPF_PROG() function
44 int BPF_PROG(test5, __u64 a, void *b, short c, int d, __u64 e, int ret) in BPF_PROG() function
53 int BPF_PROG(test6, __u64 a, void *b, short c, int d, void *e, __u64 f, int ret) in BPF_PROG() function
66 int BPF_PROG(test7, struct bpf_fentry_test_t *arg) in BPF_PROG() function
75 int BPF_PROG(test8, struct bpf_fentry_test_t *arg) in BPF_PROG() function
H A Dtest_fill_link_info.c26 int BPF_PROG(kprobe_run) in BPF_PROG() function
32 int BPF_PROG(uprobe_run) in BPF_PROG() function
38 int BPF_PROG(tp_run) in BPF_PROG() function
50 int BPF_PROG(kmulti_run) in BPF_PROG() function
56 int BPF_PROG(umulti_run) in BPF_PROG() function
62 int BPF_PROG(tmulti_run) in BPF_PROG() function
H A Dtcp_ca_kfunc.c32 void BPF_PROG(init, struct sock *sk) in BPF_PROG()
40 void BPF_PROG(in_ack_event, struct sock *sk, u32 flags) in BPF_PROG()
46 void BPF_PROG(cong_control, struct sock *sk, u32 ack, int flag, const struct rate_sample *rs) in BPF_PROG()
52 void BPF_PROG(cong_avoid, struct sock *sk, u32 ack, u32 acked) in BPF_PROG()
58 u32 BPF_PROG(sndbuf_expand, struct sock *sk) in BPF_PROG()
64 u32 BPF_PROG(undo_cwnd, struct sock *sk) in BPF_PROG()
71 void BPF_PROG(cwnd_event, struct sock *sk, enum tcp_ca_event event) in BPF_PROG()
77 void BPF_PROG(cwnd_event_tx_start, struct sock *sk)
85 u32 BPF_PROG(ssthresh, struct sock *sk)
93 u32 BPF_PROG(min_tso_seg in BPF_PROG()
31 void BPF_PROG(init, struct sock *sk) BPF_PROG() function
39 void BPF_PROG(in_ack_event, struct sock *sk, u32 flags) BPF_PROG() function
45 void BPF_PROG(cong_control, struct sock *sk, u32 ack, int flag, const struct rate_sample *rs) BPF_PROG() function
51 void BPF_PROG(cong_avoid, struct sock *sk, u32 ack, u32 acked) BPF_PROG() function
57 u32 BPF_PROG(sndbuf_expand, struct sock *sk) BPF_PROG() function
63 u32 BPF_PROG(undo_cwnd, struct sock *sk) BPF_PROG() function
70 void BPF_PROG(cwnd_event, struct sock *sk, enum tcp_ca_event event) BPF_PROG() function
78 u32 BPF_PROG(ssthresh, struct sock *sk) BPF_PROG() function
86 u32 BPF_PROG(min_tso_segs, struct sock *sk) BPF_PROG() function
92 void BPF_PROG(set_state, struct sock *sk, u8 new_state) BPF_PROG() function
100 void BPF_PROG(pkts_acked, struct sock *sk, const struct ack_sample *sample) BPF_PROG() function
[all...]
H A Dtask_kfunc_success.c68 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
98 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
112 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
121 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
130 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
228 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
266 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
299 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
309 int BPF_PROG(test_task_from_pid_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
332 int BPF_PROG(test_task_from_pid_invalid, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
[all …]
H A Dtracing_failure.c11 int BPF_PROG(test_spin_lock, struct bpf_spin_lock *lock) in BPF_PROG() function
17 int BPF_PROG(test_spin_unlock, struct bpf_spin_lock *lock) in BPF_PROG() function
23 int BPF_PROG(tracing_deny) in BPF_PROG() function
29 int BPF_PROG(fexit_noreturns) in BPF_PROG() function
35 int BPF_PROG(fexit_int128_ret) in BPF_PROG() function
H A Dcpumask_success.c139 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
155 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
184 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
213 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
252 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
284 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
316 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
363 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
405 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
459 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
[all …]
H A Dpercpu_alloc_fail.c40 int BPF_PROG(test_array_map_1) in BPF_PROG() function
64 int BPF_PROG(test_array_map_2) in BPF_PROG() function
88 int BPF_PROG(test_array_map_3) in BPF_PROG() function
114 int BPF_PROG(test_array_map_4) in BPF_PROG() function
128 int BPF_PROG(test_array_map_5) in BPF_PROG() function
142 int BPF_PROG(test_array_map_6) in BPF_PROG() function
156 int BPF_PROG(test_array_map_7) in BPF_PROG() function
170 int BPF_PROG(test_array_map_8) in BPF_PROG() function
H A Dmodify_return.c19 int BPF_PROG(fentry_test, int a, __u64 b) in BPF_PROG()
30 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) in BPF_PROG()
42 int BPF_PROG(fexit_test, int a, __u64 b, int ret) in BPF_PROG()
62 int BPF_PROG(fentry_test2, int a, int *b, short c, int d, void *e, char f,
74 int BPF_PROG(fmod_ret_test2, int a, int *b, short c, int d, void *e, char f,
87 int BPF_PROG(fexit_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG()
18 int BPF_PROG(fentry_test, int a, __u64 b) BPF_PROG() function
27 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) BPF_PROG() function
37 int BPF_PROG(fexit_test, int a, __u64 b, int ret) BPF_PROG() function
55 int BPF_PROG(fentry_test2, int a, int *b, short c, int d, void *e, char f, BPF_PROG() function
65 int BPF_PROG(fmod_ret_test2, int a, int *b, short c, int d, void *e, char f, BPF_PROG() function
76 int BPF_PROG(fexit_test2, int a, int *b, short c, int d, void *e, char f, BPF_PROG() function
H A Dverifier_vfs_accept.c16 int BPF_PROG(get_task_exe_file_and_put_kfunc_from_current_sleepable) in BPF_PROG() function
30 int BPF_PROG(get_task_exe_file_and_put_kfunc_from_current_non_sleepable, struct file *file) in BPF_PROG() function
44 int BPF_PROG(get_task_exe_file_and_put_kfunc_from_argument, in BPF_PROG() function
59 int BPF_PROG(path_d_path_from_path_argument, struct path *path) in BPF_PROG() function
70 int BPF_PROG(path_d_path_from_file_argument, struct file *file) in BPF_PROG() function
88 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() function
H A Dtracing_multi_intersect_attach.c17 int BPF_PROG(fentry) in BPF_PROG() function
24 int BPF_PROG(fentry_1) in BPF_PROG() function
31 int BPF_PROG(fentry_2) in BPF_PROG() function
38 int BPF_PROG(fexit_1) in BPF_PROG() function
45 int BPF_PROG(fexit_2) in BPF_PROG() function
H A Dbpf_qdisc_fail__untrusted_write.c12 int BPF_PROG(untrusted_write, struct sk_buff *skb, struct Qdisc *sch, in BPF_PROG() function
32 struct sk_buff *BPF_PROG(bpf_qdisc_test_dequeue, struct Qdisc *sch) in BPF_PROG() function
39 int BPF_PROG(bpf_qdisc_test_init, struct Qdisc *sch, struct nlattr *opt, in BPF_PROG() function
47 void BPF_PROG(bpf_qdisc_test_reset, struct Qdisc *sch) in BPF_PROG() function
53 void BPF_PROG(bpf_qdisc_test_destroy, struct Qdisc *sch) in BPF_PROG() function
H A Dcgroup_read_xattr.c26 int BPF_PROG(trusted_cgroup_ptr_sleepable) in BPF_PROG() function
42 int BPF_PROG(trusted_cgroup_ptr_non_sleepable) in BPF_PROG() function
58 int BPF_PROG(use_css_iter_non_sleepable) in BPF_PROG() function
77 int BPF_PROG(use_css_iter_sleepable_missing_rcu_lock) in BPF_PROG() function
96 int BPF_PROG(use_css_iter_sleepable_with_rcu_lock) in BPF_PROG() function
118 int BPF_PROG(use_bpf_cgroup_ancestor) in BPF_PROG() function
140 int BPF_PROG(cgroup_skb) in BPF_PROG() function
H A Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() function
71 int BPF_PROG(trace_inet_csk_listen_start, struct sock *sk) in BPF_PROG() function
79 int BPF_PROG(trace_tcp_connect, struct sock *sk) in BPF_PROG() function
87 int BPF_PROG(inet_csk_accept, struct sock *sk, struct proto_accept_arg *arg, in BPF_PROG() function
96 int BPF_PROG(tcp_retransmit_synack, struct sock* sk, struct request_sock* req) in BPF_PROG() function
105 int BPF_PROG(tcp_bad_csum, struct sk_buff* skb) in BPF_PROG() function
H A Dtcp_ca_update.c13 void BPF_PROG(ca_update_1_init, struct sock *sk) in BPF_PROG() function
19 void BPF_PROG(ca_update_2_init, struct sock *sk) in BPF_PROG() function
25 void BPF_PROG(ca_update_cong_control, struct sock *sk, in BPF_PROG() function
31 __u32 BPF_PROG(ca_update_ssthresh, struct sock *sk) in BPF_PROG() function
37 __u32 BPF_PROG(ca_update_undo_cwnd, struct sock *sk) in BPF_PROG() function
H A Diters_task_failure.c19 int BPF_PROG(iter_tasks_without_lock) in BPF_PROG() function
31 int BPF_PROG(iter_css_without_lock) in BPF_PROG() function
50 int BPF_PROG(iter_tasks_lock_and_unlock) in BPF_PROG() function
67 int BPF_PROG(iter_tasks_rcu_state_pruning) in __flag()
112 int BPF_PROG(iter_css_lock_and_unlock) in BPF_PROG() function
135 int BPF_PROG(iter_css_task_for_each) in BPF_PROG() function
H A Dget_func_args_test.c11 int BPF_PROG(test1) in BPF_PROG() function
44 int BPF_PROG(test2) in BPF_PROG() function
71 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() function
100 int BPF_PROG(fexit_test, int _a, int *_b, int _ret) in BPF_PROG() function
127 int BPF_PROG(tp_test1) in BPF_PROG() function
147 int BPF_PROG(tp_test2) in BPF_PROG() function
172 int BPF_PROG(test7) BPF_PROG() function
200 int BPF_PROG(test7) BPF_PROG() function
H A Dstruct_ops_module.c14 int BPF_PROG(test_1) in BPF_PROG() function
21 void BPF_PROG(test_2, int a, int b) in BPF_PROG() function
27 int BPF_PROG(test_3, int a, int b) in BPF_PROG() function
41 void BPF_PROG(test_2_v2, int a, int b) in BPF_PROG() function
67 int BPF_PROG(zeroed_op) in BPF_PROG() function
/linux/tools/testing/selftests/hid/progs/
H A Dhid.c19 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
52 int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
64 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
82 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
221 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function
245 int BPF_PROG(hid_rdesc_fixup_get_data_overflow, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function
259 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
282 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
304 int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG() function
326 int BPF_PROG(hid_test_filter_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum, in BPF_PROG() function
[all …]

123456789