Searched refs:sknode (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/net/phonet/
H A Dsocket.c79 struct sock *sknode; pn_find_sock_by_sa() local
86 sk_for_each_rcu(sknode, hlist) { sk_for_each_rcu()
87 struct pn_sock *pn = pn_sk(sknode); sk_for_each_rcu()
90 if (!net_eq(sock_net(sknode), net)) sk_for_each_rcu()
105 rval = sknode; sk_for_each_rcu()
106 sock_hold(sknode); sk_for_each_rcu()
122 struct sock *sknode; pn_deliver_sock_broadcast() local
124 sk_for_each(sknode, hlist) { sk_for_each()
127 if (!net_eq(sock_net(sknode), net)) sk_for_each()
129 if (!sock_flag(sknode, SOCK_BROADCAST)) sk_for_each()
134 sock_hold(sknode); sk_for_each()
135 sk_receive_skb(sknode, clone, 0); sk_for_each()
544 struct sock *sknode; pn_sock_get_idx() local
548 sk_for_each_rcu(sknode, hlist) { sk_for_each_rcu()
549 if (!net_eq(net, sock_net(sknode))) sk_for_each_rcu()
552 return sknode; sk_for_each_rcu()
H A Dpep.c641 struct sock *sknode; pep_find_pipe() local
644 sk_for_each(sknode, hlist) { sk_for_each()
645 struct pep_sock *pnnode = pep_sk(sknode); sk_for_each()
652 if (sknode->sk_state == TCP_CLOSE_WAIT) sk_for_each()
655 sock_hold(sknode); sk_for_each()
656 return sknode; sk_for_each()
669 struct sock *sknode; pep_do_rcv() local
685 sknode = pep_find_pipe(&pn->hlist, &dst, pipe_handle); pep_do_rcv()
686 if (sknode) pep_do_rcv()
687 return sk_receive_skb(sknode, skb, 1); pep_do_rcv()

Completed in 90 milliseconds