Lines Matching defs:oinp
892 struct inpcb *inp = tp->t_inpcb, *oinp;
918 oinp = in_pcblookup_hash(inp->inp_pcbinfo,
925 if (oinp) {
926 if (oinp != inp) /* 4143933: avoid deadlock if inp == oinp */
927 tcp_lock(oinp->inp_socket, 1, 0);
928 if (in_pcb_checkstate(oinp, WNT_RELEASE, 1) == WNT_STOPUSING) {
929 if (oinp != inp)
930 tcp_unlock(oinp->inp_socket, 1, 0);
934 if (oinp != inp && (otp = intotcpcb(oinp)) != NULL &&
941 if (oinp != inp)
942 tcp_unlock(oinp->inp_socket, 1, 0);
945 if (oinp != inp)
946 tcp_unlock(oinp->inp_socket, 1, 0);
1011 struct inpcb *inp = tp->t_inpcb, *oinp;
1040 oinp = in6_pcblookup_hash(inp->inp_pcbinfo,
1047 if (oinp) {
1048 if (oinp != inp && (otp = intotcpcb(oinp)) != NULL &&