Searched refs:sk1 (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/drivers/isdn/mISDN/ |
D | dsp_dtmf.c | 123 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-4.1.27/drivers/isdn/i4l/ |
D | isdn_audio.c | 451 sk1, in isdn_audio_goertzel() local 467 sk = sk1 = sk2 = 0; in isdn_audio_goertzel() 469 sk = sample[n] + ((cos2pik[k] * sk1) >> 15) - sk2; in isdn_audio_goertzel() 470 sk2 = sk1; in isdn_audio_goertzel() 471 sk1 = sk; in isdn_audio_goertzel()
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 1052 static void unix_state_double_lock(struct sock *sk1, struct sock *sk2) in unix_state_double_lock() argument 1054 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_lock() 1055 unix_state_lock(sk1); in unix_state_double_lock() 1058 if (sk1 < sk2) { in unix_state_double_lock() 1059 unix_state_lock(sk1); in unix_state_double_lock() 1063 unix_state_lock_nested(sk1); in unix_state_double_lock() 1067 static void unix_state_double_unlock(struct sock *sk1, struct sock *sk2) in unix_state_double_unlock() argument 1069 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_unlock() 1070 unix_state_unlock(sk1); in unix_state_double_unlock() 1073 unix_state_unlock(sk1); in unix_state_double_unlock()
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | sock.c | 131 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local 146 sk1 = sk; in rfcomm_get_sock_by_channel() 152 return sk ? sk : sk1; in rfcomm_get_sock_by_channel()
|
/linux-4.1.27/net/ipv6/ |
D | tcp_ipv6.c | 842 struct sock *sk1 = NULL; in tcp_v6_send_reset() local 865 sk1 = inet6_lookup_listener(dev_net(skb_dst(skb)->dev), in tcp_v6_send_reset() 869 if (!sk1) in tcp_v6_send_reset() 873 key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr); in tcp_v6_send_reset() 896 if (sk1) { in tcp_v6_send_reset() 898 sock_put(sk1); in tcp_v6_send_reset()
|
/linux-4.1.27/net/bluetooth/ |
D | sco.c | 342 struct sock *sk = NULL, *sk1 = NULL; in sco_get_sock_listen() local 356 sk1 = sk; in sco_get_sock_listen() 361 return sk ? sk : sk1; in sco_get_sock_listen()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_ipv4.c | 594 struct sock *sk1 = NULL; in tcp_v4_send_reset() local 638 sk1 = __inet_lookup_listener(net, in tcp_v4_send_reset() 643 if (!sk1) in tcp_v4_send_reset() 646 key = tcp_md5_do_lookup(sk1, (union tcp_md5_addr *) in tcp_v4_send_reset() 697 if (sk1) { in tcp_v4_send_reset() 699 sock_put(sk1); in tcp_v4_send_reset()
|
D | af_inet.c | 668 struct sock *sk1 = sock->sk; in inet_accept() local 670 struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err); in inet_accept()
|
D | udp.c | 140 int (*saddr_comp)(const struct sock *sk1, in udp_lib_lport_inuse() argument 173 int (*saddr_comp)(const struct sock *sk1, in udp_lib_lport_inuse2() argument 210 int (*saddr_comp)(const struct sock *sk1, in udp_lib_get_port() argument 313 static int ipv4_rcv_saddr_equal(const struct sock *sk1, const struct sock *sk2) in ipv4_rcv_saddr_equal() argument 315 struct inet_sock *inet1 = inet_sk(sk1), *inet2 = inet_sk(sk2); in ipv4_rcv_saddr_equal()
|