Searched refs:sock (Results 1 – 4 of 4) sorted by relevance
/kernel/bpf/ |
D | reuseport_array.c | 12 struct sock __rcu *ptrs[]; 21 void bpf_sk_reuseport_detach(struct sock *sk) in bpf_sk_reuseport_detach() 23 struct sock __rcu **socks; in bpf_sk_reuseport_detach() 65 struct sock *sk; in reuseport_array_delete_elem() 96 struct sock *sk; in reuseport_array_free() 161 array_size += (u64)attr->max_entries * sizeof(struct sock *); in reuseport_array_alloc() 184 struct sock *sk; in bpf_fd_reuseport_array_lookup_elem() 205 const struct sock *nsk, in reuseport_array_update_check() 206 const struct sock *osk, in reuseport_array_update_check() 252 struct sock *free_osk = NULL, *osk, *nsk; in bpf_fd_reuseport_array_update_elem()
|
D | xskmap.c | 222 struct socket *sock; in xsk_map_update_elem() local 230 sock = sockfd_lookup(fd, &err); in xsk_map_update_elem() 231 if (!sock) in xsk_map_update_elem() 234 if (sock->sk->sk_family != PF_XDP) { in xsk_map_update_elem() 235 sockfd_put(sock); in xsk_map_update_elem() 239 xs = (struct xdp_sock *)sock->sk; in xsk_map_update_elem() 242 sockfd_put(sock); in xsk_map_update_elem() 249 sockfd_put(sock); in xsk_map_update_elem() 270 sockfd_put(sock); in xsk_map_update_elem() 275 sockfd_put(sock); in xsk_map_update_elem()
|
D | cgroup.c | 623 int __cgroup_bpf_run_filter_skb(struct sock *sk, in __cgroup_bpf_run_filter_skb() 628 struct sock *save_sk; in __cgroup_bpf_run_filter_skb() 676 int __cgroup_bpf_run_filter_sk(struct sock *sk, in __cgroup_bpf_run_filter_sk() 700 int __cgroup_bpf_run_filter_sock_addr(struct sock *sk, in __cgroup_bpf_run_filter_sock_addr() 748 int __cgroup_bpf_run_filter_sock_ops(struct sock *sk, in __cgroup_bpf_run_filter_sock_ops() 983 int __cgroup_bpf_run_filter_setsockopt(struct sock *sk, int *level, in __cgroup_bpf_run_filter_setsockopt() 1054 int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level, in __cgroup_bpf_run_filter_getsockopt()
|
/kernel/ |
D | audit.c | 91 struct sock *sk; 285 static struct sock *audit_get_sk(const struct net *net) in audit_get_sk() 656 struct sock *sk; in auditd_send_unicast_skb() 707 static int kauditd_send_queue(struct sock *sk, u32 portid, in kauditd_send_queue() 773 struct sock *sock = audit_get_sk(&init_net); in kauditd_send_multicast_skb() local 779 if (!netlink_has_listeners(sock, AUDIT_NLGRP_READLOG)) in kauditd_send_multicast_skb() 798 nlmsg_multicast(sock, copy, 0, AUDIT_NLGRP_READLOG, GFP_KERNEL); in kauditd_send_multicast_skb() 810 struct sock *sk = NULL; in kauditd_thread() 886 struct sock *sk = audit_get_sk(dest->net); in audit_send_list() 929 struct sock *sk = audit_get_sk(reply->net); in audit_send_reply_thread()
|