Home
last modified time | relevance | path

Searched refs:sk1 (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/isdn/mISDN/
Ddsp_dtmf.c123 s32 sk, sk1, sk2; in dsp_dtmf_goertzel_decode() local
186 sk1 = 0; in dsp_dtmf_goertzel_decode()
191 sk = ((cos2pik_ * sk1) >> 15) - sk2 + (*buf++); in dsp_dtmf_goertzel_decode()
192 sk2 = sk1; in dsp_dtmf_goertzel_decode()
193 sk1 = sk; in dsp_dtmf_goertzel_decode()
/Linux-v5.4/net/unix/
Daf_unix.c1074 static void unix_state_double_lock(struct sock *sk1, struct sock *sk2) in unix_state_double_lock() argument
1076 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_lock()
1077 unix_state_lock(sk1); in unix_state_double_lock()
1080 if (sk1 < sk2) { in unix_state_double_lock()
1081 unix_state_lock(sk1); in unix_state_double_lock()
1085 unix_state_lock_nested(sk1); in unix_state_double_lock()
1089 static void unix_state_double_unlock(struct sock *sk1, struct sock *sk2) in unix_state_double_unlock() argument
1091 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_unlock()
1092 unix_state_unlock(sk1); in unix_state_double_unlock()
1095 unix_state_unlock(sk1); in unix_state_double_unlock()
/Linux-v5.4/net/bluetooth/rfcomm/
Dsock.c132 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local
147 sk1 = sk; in rfcomm_get_sock_by_channel()
153 return sk ? sk : sk1; in rfcomm_get_sock_by_channel()
/Linux-v5.4/net/bluetooth/
Dsco.c345 struct sock *sk = NULL, *sk1 = NULL; in sco_get_sock_listen() local
359 sk1 = sk; in sco_get_sock_listen()
364 return sk ? sk : sk1; in sco_get_sock_listen()
/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c933 struct sock *sk1 = NULL; in tcp_v6_send_reset() local
963 sk1 = inet6_lookup_listener(net, in tcp_v6_send_reset()
970 if (!sk1) in tcp_v6_send_reset()
973 key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr); in tcp_v6_send_reset()
/Linux-v5.4/net/ipv4/
Daf_inet.c732 struct sock *sk1 = sock->sk; in inet_accept() local
734 struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err, kern); in inet_accept()
Dtcp_ipv4.c666 struct sock *sk1 = NULL; in tcp_v4_send_reset() local
716 sk1 = __inet_lookup_listener(net, &tcp_hashinfo, NULL, 0, in tcp_v4_send_reset()
722 if (!sk1) in tcp_v4_send_reset()
725 key = tcp_md5_do_lookup(sk1, (union tcp_md5_addr *) in tcp_v4_send_reset()