• Home
  • Raw
  • Download

Lines Matching refs:pn

87 		struct pn_sock *pn = pn_sk(sknode);  in pn_find_sock_by_sa()  local
88 BUG_ON(!pn->sobject); /* unbound socket */ in pn_find_sock_by_sa()
94 if (pn_port(pn->sobject) != pn_port(obj)) in pn_find_sock_by_sa()
98 if (pn->resource != res) in pn_find_sock_by_sa()
101 if (pn_addr(pn->sobject) && in pn_find_sock_by_sa()
102 pn_addr(pn->sobject) != pn_addr(obj)) in pn_find_sock_by_sa()
168 struct pn_sock *pn = pn_sk(sk); in pn_socket_bind() local
188 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind()
199 pn->sobject = pn_object(saddr, pn_port(pn->sobject)); in pn_socket_bind()
200 pn->resource = spn->spn_resource; in pn_socket_bind()
230 struct pn_sock *pn = pn_sk(sk); in pn_socket_connect() local
260 pn->dobject = pn_sockaddr_get_object(spn); in pn_socket_connect()
261 pn->resource = pn_sockaddr_get_resource(spn); in pn_socket_connect()
267 pn->dobject = 0; in pn_socket_connect()
328 struct pn_sock *pn = pn_sk(sk); in pn_socket_getname() local
334 pn->sobject); in pn_socket_getname()
344 struct pep_sock *pn = pep_sk(sk); in pn_socket_poll() local
353 if (!skb_queue_empty(&pn->ctrlreq_queue)) in pn_socket_poll()
360 atomic_read(&pn->tx_credits)) in pn_socket_poll()
370 struct pn_sock *pn = pn_sk(sk); in pn_socket_ioctl() local
397 handle = pn_object(saddr, pn_port(pn->sobject)); in pn_socket_ioctl()
495 struct pn_sock *pn = pn_sk(sk); in pn_sock_get_port() local
534 pn->sobject = pn_object(pn_addr(pn->sobject), sport); in pn_sock_get_port()
605 struct pn_sock *pn = pn_sk(sk); in pn_sock_seq_show() local
609 sk->sk_protocol, pn->sobject, pn->dobject, in pn_sock_seq_show()
610 pn->resource, sk->sk_state, in pn_sock_seq_show()