Home
last modified time | relevance | path

Searched defs:BPF_PROG (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.1.9/tools/testing/selftests/bpf/progs/
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
Dtest_module_attach.c13 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
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
Dlsm_cgroup.c85 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
126 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function
135 int BPF_PROG(socket_bind2, struct socket *sock, struct sockaddr *address, in BPF_PROG() function
144 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG() function
163 int BPF_PROG(socket_clone, struct sock *newsk, const struct request_sock *req) in BPF_PROG() function
Dbtf_type_tag_percpu.c18 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
Dtcp_ca_write_sk_pacing.c20 void BPF_PROG(write_sk_pacing_init, struct sock *sk) in BPF_PROG() function
31 void BPF_PROG(write_sk_pacing_cong_control, struct sock *sk, in BPF_PROG() function
42 __u32 BPF_PROG(write_sk_pacing_ssthresh, struct sock *sk) in BPF_PROG() function
48 __u32 BPF_PROG(write_sk_pacing_undo_cwnd, struct sock *sk) in BPF_PROG() function
Dbpf_dctcp.c61 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
Dlocal_storage.c54 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() function
76 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() function
107 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function
145 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG() function
168 void BPF_PROG(exec, struct linux_binprm *bprm) in BPF_PROG() function
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, int flags, int *err, bool kern, in BPF_PROG() function
Dtest_kfunc_dynptr_param.c36 int BPF_PROG(dynptr_type_not_supp, int cmd, union bpf_attr *attr, in BPF_PROG() function
48 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() function
57 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() function
66 int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() function
Dtest_trampoline_count.c7 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
Dtask_ls_recursion.c25 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
Dlsm.c88 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() function
109 int BPF_PROG(test_void_hook, struct linux_binprm *bprm) in BPF_PROG() function
157 int BPF_PROG(test_task_free, struct task_struct *task) in BPF_PROG() function
165 int BPF_PROG(test_sys_setdomainname, struct pt_regs *regs) in BPF_PROG() function
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
Dbtf_type_tag_user.c18 int BPF_PROG(test_user1, struct bpf_testmod_btf_type_tag_1 *arg) in BPF_PROG() function
25 int BPF_PROG(test_user2, struct bpf_testmod_btf_type_tag_2 *arg) in BPF_PROG() function
35 int BPF_PROG(test_sys_getsockname, int fd, struct sockaddr *usockaddr, in BPF_PROG() function
Dmodify_return.c18 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
Dtest_bpf_cookie.c91 int BPF_PROG(fentry_test1, int a) in BPF_PROG() function
98 int BPF_PROG(fexit_test1, int a, int ret) in BPF_PROG() function
105 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() function
112 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() function
Dbpf_mod_race.c71 int BPF_PROG(widen_race, int a, int ret) in BPF_PROG() function
84 int BPF_PROG(fexit_init_module, struct module *mod, int ret) in BPF_PROG() function
94 int BPF_PROG(fexit_module_get, const struct btf *btf, struct module *mod) in BPF_PROG() function
Dima.c67 void BPF_PROG(bprm_committed_creds, struct linux_binprm *bprm) in BPF_PROG() function
73 int BPF_PROG(bprm_creds_for_exec, struct linux_binprm *bprm) in BPF_PROG() function
83 int BPF_PROG(kernel_read_file, struct file *file, enum kernel_read_file_id id, in BPF_PROG() function
Dget_func_ip_test.c29 int BPF_PROG(test1, int a) in BPF_PROG() function
39 int BPF_PROG(test2, int a) in BPF_PROG() function
69 int BPF_PROG(test5, int a, int *b, int ret) in BPF_PROG() function
Dtest_vmlinux.c37 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
Dtest_trace_ext_tracing.c10 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
Dtest_pe_preserve_elems.c23 int BPF_PROG(read_array_1) in BPF_PROG() function
31 int BPF_PROG(read_array_2) in BPF_PROG() function
Dtcp_ca_incompl_cong_ops.c16 __u32 BPF_PROG(incompl_cong_ops_ssthresh, struct sock *sk) in BPF_PROG() function
22 __u32 BPF_PROG(incompl_cong_ops_undo_cwnd, struct sock *sk) in BPF_PROG() function
/linux-6.1.9/samples/bpf/
Dxdp_sample.bpf.c96 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

1234