/tools/testing/selftests/bpf/progs/ |
D | bpf_dctcp.c | 59 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG() 99 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG() 109 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG() 138 static __always_inline void dctcp_react_to_loss(struct sock *sk) in dctcp_react_to_loss() 148 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG() 158 static __always_inline void dctcp_ece_ack_cwr(struct sock *sk, __u32 ce_state) in dctcp_ece_ack_cwr() 174 void dctcp_ece_ack_update(struct sock *sk, enum tcp_ca_event evt, in dctcp_ece_ack_update() 196 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG() 215 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG() 225 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG()
|
D | test_sk_lookup_kern.c | 63 struct bpf_sock *sk; in bpf_sk_lookup_test0() local 86 struct bpf_sock *sk; in bpf_sk_lookup_test1() local 98 struct bpf_sock *sk; in bpf_sk_lookup_uaf() local 113 struct bpf_sock *sk; in bpf_sk_lookup_modptr() local 128 struct bpf_sock *sk; in bpf_sk_lookup_modptr_or_null() local 151 struct bpf_sock *sk; in bpf_sk_lookup_test3() local 163 struct bpf_sock *sk; in bpf_sk_lookup_test4() local
|
D | test_sk_storage_tracing.c | 33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() 53 static void set_task_info(struct sock *sk) in set_task_info() 71 int BPF_PROG(trace_inet_csk_listen_start, struct sock *sk, int backlog) in BPF_PROG() 79 int BPF_PROG(trace_tcp_connect, struct sock *sk) in BPF_PROG() 87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG()
|
D | test_sk_lookup.c | 103 struct bpf_sock *sk; in redir_port() local 122 struct bpf_sock *sk; in redir_ip4() local 145 struct bpf_sock *sk; in redir_ip6() local 170 struct bpf_sock *sk; in select_sock_a() local 185 struct bpf_sock *sk; in select_sock_a_no_reuseport() local 211 struct bpf_sock *sk; in sk_assign_eexist() local 244 struct bpf_sock *sk; in sk_assign_replace_flag() local 276 struct bpf_sock *sk = NULL; in sk_assign_null() local 385 struct bpf_sock *sk; in ctx_narrow_access() local 558 struct bpf_sock *sk; in sk_assign_esocknosupport() local [all …]
|
D | test_sock_fields.c | 127 struct bpf_sock *sk, *sk_ret; in egress_read_sock_fields() local 222 struct bpf_sock *sk; in ingress_read_sock_fields() local 254 static __noinline bool sk_dst_port__load_word(struct bpf_sock *sk) in sk_dst_port__load_word() 260 static __noinline bool sk_dst_port__load_half(struct bpf_sock *sk) in sk_dst_port__load_half() 266 static __noinline bool sk_dst_port__load_byte(struct bpf_sock *sk) in sk_dst_port__load_byte() 276 struct bpf_sock *sk; in read_sk_dst_port() local
|
D | bpf_cubic.c | 156 static __always_inline __u32 bictcp_clock_us(const struct sock *sk) in bictcp_clock_us() 161 static __always_inline void bictcp_hystart_reset(struct sock *sk) in bictcp_hystart_reset() 178 void BPF_PROG(bpf_cubic_init, struct sock *sk) in BPF_PROG() 195 void BPF_PROG(bpf_cubic_cwnd_event, struct sock *sk, enum tcp_ca_event event) in BPF_PROG() 387 void BPF_STRUCT_OPS(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS() 406 __u32 BPF_STRUCT_OPS(bpf_cubic_recalc_ssthresh, struct sock *sk) in BPF_STRUCT_OPS() 423 void BPF_STRUCT_OPS(bpf_cubic_state, struct sock *sk, __u8 new_state) in BPF_STRUCT_OPS() 442 static __always_inline __u32 hystart_ack_delay(struct sock *sk) in hystart_ack_delay() 453 static __always_inline void hystart_update(struct sock *sk, __u32 delay) in hystart_update() 499 void BPF_STRUCT_OPS(bpf_cubic_acked, struct sock *sk, in BPF_STRUCT_OPS() [all …]
|
D | kfunc_call_test.c | 14 struct bpf_sock *sk = skb->sk; in kfunc_call_test2() local 29 struct bpf_sock *sk = skb->sk; in kfunc_call_test1() local
|
D | netns_cookie_prog.c | 33 struct bpf_sock *sk = ctx->sk; in get_netns_cookie_sockops() local 65 struct bpf_sock *sk = msg->sk; in get_netns_cookie_sk_msg() local
|
D | bpf_iter_unix.c | 10 static long sock_i_ino(const struct sock *sk) in sock_i_ino() 28 struct sock *sk = (struct sock *)unix_sk; in dump_unix() local
|
D | sockopt_sk.c | 35 struct bpf_sock *sk; in _getsockopt() local 139 struct bpf_sock *sk; in _setsockopt() local
|
D | test_tcp_check_syncookie_kern.c | 26 static __always_inline __s64 gen_syncookie(void *data_end, struct bpf_sock *sk, in gen_syncookie() 49 struct bpf_sock *sk; in check_syncookie() local
|
D | test_tcp_estats.c | 82 struct sock sk; member 93 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 212 struct sock *sk) in tcp_estats_conn_id_init() 227 static __always_inline void tcp_estats_init(struct sock *sk, in tcp_estats_init() 236 static __always_inline void send_basic_event(struct sock *sk, in send_basic_event()
|
D | bpf_tcp_nogpl.c | 11 void BPF_STRUCT_OPS(nogpltcp_init, struct sock *sk) in BPF_STRUCT_OPS()
|
D | freplace_cls_redirect.c | 22 struct bpf_sock *sk; in freplace_cls_redirect_test() local
|
D | test_sk_storage_trace_itself.c | 16 int BPF_PROG(trace_bpf_sk_storage_free, struct sock *sk) in BPF_PROG()
|
D | bpf_dctcp_release.c | 16 void BPF_STRUCT_OPS(dctcp_nouse_release, struct sock *sk) in BPF_STRUCT_OPS()
|
D | recvmsg4_prog.c | 19 struct bpf_sock *sk; in recvmsg4_prog() local
|
D | bpf_iter_bpf_sk_storage_map.c | 23 struct sock *sk = ctx->sk; in dump_bpf_sk_storage_map() local
|
D | kfunc_call_test_subprog.c | 16 struct bpf_sock *sk = skb->sk; in f1() local
|
D | test_sockmap_update.c | 30 struct bpf_sock *sk; in copy_sock_map() local
|
D | bind_perm.c | 12 struct bpf_sock *sk; in bind_prog() local
|
D | recvmsg6_prog.c | 22 struct bpf_sock *sk; in recvmsg6_prog() local
|
D | bpf_iter_sockmap.c | 38 struct sock *sk = ctx->sk; in copy() local
|
D | bpf_iter_netlink.c | 21 struct socket *sk; in dump_netlink() local
|
/tools/testing/selftests/pidfd/ |
D | pidfd_getfd_test.c | 36 static int __child(int sk, int memfd) in __child() 98 static int child(int sk) in child() 131 int sk; in FIXTURE() local
|