Home
last modified time | relevance | path

Searched refs:start_sk (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/net/ipv4/
Dtcp_ipv4.c2815 struct sock *start_sk) in bpf_iter_tcp_listening_batch() argument
2824 sock_hold(start_sk); in bpf_iter_tcp_listening_batch()
2825 iter->batch[iter->end_sk++] = start_sk; in bpf_iter_tcp_listening_batch()
2827 sk = sk_nulls_next(start_sk); in bpf_iter_tcp_listening_batch()
2843 struct sock *start_sk) in bpf_iter_tcp_established_batch() argument
2852 sock_hold(start_sk); in bpf_iter_tcp_established_batch()
2853 iter->batch[iter->end_sk++] = start_sk; in bpf_iter_tcp_established_batch()
2855 sk = sk_nulls_next(start_sk); in bpf_iter_tcp_established_batch()
/Linux-v6.6/net/unix/
Daf_unix.c3342 static int bpf_iter_unix_hold_batch(struct seq_file *seq, struct sock *start_sk) in bpf_iter_unix_hold_batch() argument
3349 sock_hold(start_sk); in bpf_iter_unix_hold_batch()
3350 iter->batch[iter->end_sk++] = start_sk; in bpf_iter_unix_hold_batch()
3352 for (sk = sk_next(start_sk); sk; sk = sk_next(sk)) { in bpf_iter_unix_hold_batch()
3361 spin_unlock(&seq_file_net(seq)->unx.table.locks[start_sk->sk_hash]); in bpf_iter_unix_hold_batch()