/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | task_kfunc_failure.c | 32 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 53 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 69 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 84 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 104 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 119 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 133 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 153 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 166 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 182 int BPF_PROG(task_kfunc_release_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() function [all …]
|
H A D | cgrp_kfunc_failure.c | 33 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 D | task_kfunc_success.c | 66 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 96 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 110 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 119 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 128 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 143 int BPF_PROG(test_task_xchg_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 176 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 214 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 247 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 257 int BPF_PROG(test_task_from_pid_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() function [all …]
|
H A D | cpumask_success.c | 66 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 82 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 111 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 140 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 179 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 211 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 243 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 290 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 332 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 386 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() function [all …]
|
H A D | cpumask_failure.c | 21 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 34 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 49 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 62 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 72 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 96 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 106 int BPF_PROG(test_global_mask_out_of_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 140 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 168 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() function
|
H A D | test_module_attach.c | 13 int BPF_PROG(handle_raw_tp, in BPF_PROG() function 23 int BPF_PROG(handle_raw_tp_bare, in BPF_PROG() function 35 int BPF_PROG(handle_raw_tp_writable_bare, in BPF_PROG() function 47 int BPF_PROG(handle_tp_btf, in BPF_PROG() function 57 int BPF_PROG(handle_fentry, in BPF_PROG() function 68 int BPF_PROG(handle_fentry_manual, in BPF_PROG() function 80 int BPF_PROG(handle_fexit, in BPF_PROG() function 91 int BPF_PROG(handle_fexit_ret, int arg, struct file *ret) in BPF_PROG() function 105 int BPF_PROG(handle_fmod_ret, in BPF_PROG() function 114 int BPF_PROG(kprobe_multi) in BPF_PROG() function
|
H A D | fentry_test.c | 11 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 D | fexit_test.c | 11 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 D | tcp_ca_update.c | 19 void BPF_PROG(ca_update_1_init, struct sock *sk) in BPF_PROG() function 25 void BPF_PROG(ca_update_2_init, struct sock *sk) in BPF_PROG() function 31 void BPF_PROG(ca_update_cong_control, struct sock *sk, in BPF_PROG() function 37 __u32 BPF_PROG(ca_update_ssthresh, struct sock *sk) in BPF_PROG() function 43 __u32 BPF_PROG(ca_update_undo_cwnd, struct sock *sk) in BPF_PROG() function
|
H A D | test_fill_link_info.c | 26 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 44 int BPF_PROG(kmulti_run) in BPF_PROG() function
|
H A D | test_sk_storage_tracing.c | 33 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, int flags, int *err, bool kern, 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 D | cgrp_kfunc_success.c | 33 int BPF_PROG(test_cgrp_acquire_release_argument, struct cgroup *cgrp, const char *path) in BPF_PROG() function 50 int BPF_PROG(test_cgrp_acquire_leave_in_map, struct cgroup *cgrp, const char *path) in BPF_PROG() function 65 int BPF_PROG(test_cgrp_xchg_release, struct cgroup *cgrp, const char *path) in BPF_PROG() function 108 int BPF_PROG(test_cgrp_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() function 139 int BPF_PROG(test_cgrp_get_ancestors, struct cgroup *cgrp, const char *path) in BPF_PROG() function 184 int BPF_PROG(test_cgrp_from_id, struct cgroup *cgrp, const char *path) in BPF_PROG() function
|
H A D | modify_return.c | 18 int BPF_PROG(fentry_test, int a, __u64 b) in BPF_PROG() function 27 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) in BPF_PROG() function 37 int BPF_PROG(fexit_test, int a, __u64 b, int ret) in BPF_PROG() function 55 int BPF_PROG(fentry_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG() function 65 int BPF_PROG(fmod_ret_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG() function 76 int BPF_PROG(fexit_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG() function
|
H A D | btf_type_tag_percpu.c | 18 int BPF_PROG(test_percpu1, struct bpf_testmod_btf_type_tag_1 *arg) in BPF_PROG() function 25 int BPF_PROG(test_percpu2, struct bpf_testmod_btf_type_tag_2 *arg) in BPF_PROG() function 46 int BPF_PROG(test_percpu_load, struct cgroup *cgrp, const char *path) in BPF_PROG() function 53 int BPF_PROG(test_percpu_helper, struct cgroup *cgrp, const char *path) in BPF_PROG() function
|
H A D | lsm_cgroup.c | 85 int BPF_PROG(socket_post_create, struct socket *sock, int family, in BPF_PROG() function 94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, in BPF_PROG() function 130 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function 139 int BPF_PROG(socket_bind2, struct socket *sock, struct sockaddr *address, in BPF_PROG() function 148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG() function 167 int BPF_PROG(socket_clone, struct sock *newsk, const struct request_sock *req) in BPF_PROG() function
|
H A D | tcp_ca_write_sk_pacing.c | 30 void BPF_PROG(write_sk_pacing_init, struct sock *sk) in BPF_PROG() function 41 void BPF_PROG(write_sk_pacing_cong_control, struct sock *sk, in BPF_PROG() function 53 __u32 BPF_PROG(write_sk_pacing_ssthresh, struct sock *sk) in BPF_PROG() function 59 __u32 BPF_PROG(write_sk_pacing_undo_cwnd, struct sock *sk) in BPF_PROG() function
|
H A D | bpf_dctcp.c | 61 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG() function 108 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG() function 118 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG() function 157 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG() function 205 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG() function 224 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG() function 234 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() function
|
H A D | nested_trust_failure.c | 28 int BPF_PROG(test_invalid_nested_user_cpus, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 36 int BPF_PROG(test_invalid_nested_offset, struct task_struct *task, u64 clone_flags) in BPF_PROG() function 45 int BPF_PROG(test_invalid_skb_field, struct sock *sk, struct sk_buff *skb) in BPF_PROG() function
|
H A D | local_storage.c | 62 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() function 108 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() function 138 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function 184 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG() function 208 void BPF_PROG(exec, struct linux_binprm *bprm) in BPF_PROG() function
|
H A D | test_trampoline_count.c | 7 int BPF_PROG(fentry_test, int a, int *b) in BPF_PROG() function 13 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) in BPF_PROG() function 19 int BPF_PROG(fexit_test, int a, int *b, int ret) in BPF_PROG() function
|
H A D | cgrp_ls_recursion.c | 25 int BPF_PROG(on_lookup) in BPF_PROG() function 35 int BPF_PROG(on_update) in BPF_PROG() function 54 int BPF_PROG(on_enter, struct pt_regs *regs, long id) in BPF_PROG() function
|
H A D | dummy_st_ops_success.c | 10 int BPF_PROG(test_1, struct bpf_dummy_ops_state *state) in BPF_PROG() function 34 int BPF_PROG(test_2, struct bpf_dummy_ops_state *state, int a1, unsigned short a2, in BPF_PROG() function 46 int BPF_PROG(test_sleepable, struct bpf_dummy_ops_state *state) in BPF_PROG() function
|
/openbmc/linux/tools/testing/selftests/hid/progs/ |
H A D | hid.c | 21 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 36 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 49 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 142 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 161 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 178 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function 195 int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() function
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_sample.bpf.c | 96 int BPF_PROG(tp_xdp_redirect_err, const struct net_device *dev, in BPF_PROG() function 104 int BPF_PROG(tp_xdp_redirect_map_err, const struct net_device *dev, in BPF_PROG() function 112 int BPF_PROG(tp_xdp_redirect, const struct net_device *dev, in BPF_PROG() function 120 int BPF_PROG(tp_xdp_redirect_map, const struct net_device *dev, in BPF_PROG() function 128 int BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, in BPF_PROG() function 156 int BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, in BPF_PROG() function 181 int BPF_PROG(tp_xdp_exception, const struct net_device *dev, in BPF_PROG() function 206 int BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, in BPF_PROG() function 237 int BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, in BPF_PROG() function
|
/openbmc/linux/samples/hid/ |
H A D | hid_mouse.bpf.c | 9 int BPF_PROG(hid_y_event, struct hid_bpf_ctx *hctx) in BPF_PROG() function 55 int BPF_PROG(hid_x_event, struct hid_bpf_ctx *hctx) in BPF_PROG() function 73 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx) in BPF_PROG() function
|