Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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
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
Dbpf_dctcp.c54 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG() function
74 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG() function
84 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG() function
123 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG() function
171 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG() function
190 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG() function
198 void BPF_PROG(tcp_reno_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) 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
Dlsm.c40 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() function
61 int BPF_PROG(test_void_hook, struct linux_binprm *bprm) in BPF_PROG() function
87 int BPF_PROG(test_task_free, struct task_struct *task) in BPF_PROG() function
95 int BPF_PROG(test_sys_setdomainname, struct pt_regs *regs) in BPF_PROG() function
Dlocal_storage.c57 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() function
82 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() function
108 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG() function
128 int BPF_PROG(file_open, struct file *file) 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_trampoline_count.c11 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
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_overhead.c31 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
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
Dfexit_bpf2bpf.c18 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
Dkfree_skb.c61 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
Dtest_d_path.c22 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
Dtest_xdp_bpf2bpf.c45 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
Dfmod_ret_freplace.c8 int BPF_PROG(fmod_ret_test, long val, int ret) in BPF_PROG() function
Dfexit_bpf2bpf_simple.c14 int BPF_PROG(test_main2, struct sk_buff *skb, int ret) in BPF_PROG() function
Dtest_raw_tp_test_run.c12 int BPF_PROG(rename, struct task_struct *task, char *comm) in BPF_PROG() function
Dtest_d_path_check_rdonly_mem.c11 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG() function
Dtest_d_path_check_types.c15 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG() function
Dtrigger_bench.c21 int BPF_PROG(bench_trigger_raw_tp, struct pt_regs *regs, long id) in BPF_PROG() function
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_netcnt.c18 #define BPF_PROG "./netcnt_prog.o" macro
55 if (bpf_prog_load(BPF_PROG, BPF_PROG_TYPE_CGROUP_SKB, in main()
/kernel/linux/linux-5.10/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c40 int BPF_PROG(fentry_XXX) in BPF_PROG() function
94 int BPF_PROG(fexit_XXX) in BPF_PROG() function
/kernel/linux/linux-5.10/samples/bpf/
Dtest_cgrp2_tc.sh7 BPF_PROG="$MY_DIR/test_cgrp2_tc_kern.o"
83 $TC filter add dev $HOST_IFC egress bpf da obj $BPF_PROG sec $BPF_SECTION || return $?
/kernel/linux/linux-5.10/Documentation/bpf/
Dbpf_lsm.rst57 The eBPF programs can be declared using the``BPF_PROG``
68 int BPF_PROG(mprotect_audit, struct vm_area_struct *vma,

12