Searched refs:start_sk (Results 1 – 2 of 2) sorted by relevance
2815 struct sock *start_sk) in bpf_iter_tcp_listening_batch() argument2824 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() argument2852 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()
3342 static int bpf_iter_unix_hold_batch(struct seq_file *seq, struct sock *start_sk) in bpf_iter_unix_hold_batch() argument3349 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()