/tools/testing/selftests/bpf/progs/ |
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
|
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
|
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 33 int BPF_PROG(handle_tp_btf, in BPF_PROG() function 43 int BPF_PROG(handle_fentry, in BPF_PROG() function 54 int BPF_PROG(handle_fentry_manual, in BPF_PROG() function 66 int BPF_PROG(handle_fexit, in BPF_PROG() function 79 int BPF_PROG(handle_fmod_ret, in BPF_PROG() function
|
D | atomics.c | 22 int BPF_PROG(add, int a) in BPF_PROG() function 46 int BPF_PROG(sub, int a) in BPF_PROG() function 68 int BPF_PROG(and, int a) in BPF_PROG() function 87 int BPF_PROG(or, int a) in BPF_PROG() function 105 int BPF_PROG(xor, int a) in BPF_PROG() function 124 int BPF_PROG(cmpxchg, int a) in BPF_PROG() function 143 int BPF_PROG(xchg, int a) in BPF_PROG() function
|
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
|
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, int backlog) 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
|
D | test_trampoline_count.c | 11 int BPF_PROG(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() function 17 int BPF_PROG(prog2, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() function
|
D | task_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
|
D | fexit_sleep.c | 14 int BPF_PROG(nanosleep_fentry, const struct pt_regs *regs) in BPF_PROG() function 24 int BPF_PROG(nanosleep_fexit, const struct pt_regs *regs, int ret) in BPF_PROG() function
|
D | test_trace_ext_tracing.c | 10 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG() function 19 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG() function
|
D | bpf_dctcp.c | 59 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG() function 99 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG() function 109 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG() function 148 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG() function 196 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG() function 215 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG() function 225 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() function
|
D | get_func_ip_test.c | 18 int BPF_PROG(test1, int a) in BPF_PROG() function 28 int BPF_PROG(test2, int a) in BPF_PROG() function 58 int BPF_PROG(test5, int a, int *b, int ret) in BPF_PROG() function
|
D | test_vmlinux.c | 37 int BPF_PROG(handle__raw_tp, struct pt_regs *regs, long id) in BPF_PROG() function 55 int BPF_PROG(handle__tp_btf, struct pt_regs *regs, long id) in BPF_PROG() function 82 int BPF_PROG(handle__fentry, struct hrtimer *timer, ktime_t tim, u64 delta_ns, in BPF_PROG() function
|
D | local_storage.c | 48 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() function 72 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() function 105 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function 133 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG() function 158 void BPF_PROG(exec, struct linux_binprm *bprm) in BPF_PROG() function
|
D | test_overhead.c | 31 int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() function 37 int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() function
|
D | test_pe_preserve_elems.c | 23 int BPF_PROG(read_array_1) in BPF_PROG() function 31 int BPF_PROG(read_array_2) in BPF_PROG() function
|
D | task_local_storage.c | 25 int BPF_PROG(on_enter, struct pt_regs *regs, long id) in BPF_PROG() function 46 int BPF_PROG(on_exit, struct pt_regs *regs, long id) in BPF_PROG() function
|
D | test_d_path.c | 22 int BPF_PROG(prog_stat, struct path *path, struct kstat *stat, in BPF_PROG() function 44 int BPF_PROG(prog_close, struct file *file, void *id) in BPF_PROG() function
|
D | test_xdp_bpf2bpf.c | 45 int BPF_PROG(trace_on_entry, struct xdp_buff *xdp) in BPF_PROG() function 64 int BPF_PROG(trace_on_exit, struct xdp_buff *xdp, int ret) in BPF_PROG() function
|
D | lsm.c | 87 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() function 108 int BPF_PROG(test_void_hook, struct linux_binprm *bprm) in BPF_PROG() function 156 int BPF_PROG(test_task_free, struct task_struct *task) in BPF_PROG() function 164 int BPF_PROG(test_sys_setdomainname, struct pt_regs *regs) in BPF_PROG() function
|
D | fexit_bpf2bpf.c | 18 int BPF_PROG(test_main, struct sk_buff *skb, int ret) in BPF_PROG() function 33 int BPF_PROG(test_subprog1, struct sk_buff *skb, int ret) in BPF_PROG() function 90 int BPF_PROG(test_subprog3, int val, struct sk_buff *skb, int ret) in BPF_PROG() function
|
D | linked_maps2.c | 39 int BPF_PROG(handler_enter2) in BPF_PROG() function 54 int BPF_PROG(handler_exit2) in BPF_PROG() function
|
D | linked_maps1.c | 45 int BPF_PROG(handler_enter1) in BPF_PROG() function 60 int BPF_PROG(handler_exit1) in BPF_PROG() function
|
D | kfree_skb.c | 61 int BPF_PROG(trace_kfree_skb, struct sk_buff *skb, void *location) in BPF_PROG() function 118 int BPF_PROG(fentry_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG() function 136 int BPF_PROG(fexit_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG() function
|
D | fmod_ret_freplace.c | 8 int BPF_PROG(fmod_ret_test, long val, int ret) in BPF_PROG() function
|