Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/isdn/mISDN/
A 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-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_sk_lookup.c327 struct bpf_sock *sk1 = NULL, *sk2 = NULL; in access_ctx_sk() local
337 sk1 = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in access_ctx_sk()
338 if (!sk1) in access_ctx_sk()
340 err = bpf_sk_assign(ctx, sk1, 0); in access_ctx_sk()
343 if (ctx->sk != sk1) in access_ctx_sk()
377 if (sk1) in access_ctx_sk()
378 bpf_sk_release(sk1); in access_ctx_sk()
/linux-6.3-rc2/net/unix/
A Daf_unix.c1322 static void unix_state_double_lock(struct sock *sk1, struct sock *sk2) in unix_state_double_lock() argument
1324 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_lock()
1325 unix_state_lock(sk1); in unix_state_double_lock()
1328 if (sk1 < sk2) { in unix_state_double_lock()
1329 unix_state_lock(sk1); in unix_state_double_lock()
1333 unix_state_lock_nested(sk1); in unix_state_double_lock()
1337 static void unix_state_double_unlock(struct sock *sk1, struct sock *sk2) in unix_state_double_unlock() argument
1339 if (unlikely(sk1 == sk2) || !sk2) { in unix_state_double_unlock()
1340 unix_state_unlock(sk1); in unix_state_double_unlock()
1343 unix_state_unlock(sk1); in unix_state_double_unlock()
/linux-6.3-rc2/net/bluetooth/rfcomm/
A Dsock.c129 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local
144 sk1 = sk; in rfcomm_get_sock_by_channel()
150 return sk ? sk : sk1; in rfcomm_get_sock_by_channel()
/linux-6.3-rc2/net/bluetooth/
A Dsco.c344 struct sock *sk = NULL, *sk1 = NULL; in sco_get_sock_listen() local
358 sk1 = sk; in sco_get_sock_listen()
363 return sk ? sk : sk1; in sco_get_sock_listen()
A Diso.c512 struct sock *sk = NULL, *sk1 = NULL; in iso_get_sock_listen() local
534 sk1 = sk; in iso_get_sock_listen()
539 return sk ? sk : sk1; in iso_get_sock_listen()
/linux-6.3-rc2/net/ipv4/
A Daf_inet.c740 struct sock *sk1 = sock->sk, *sk2; in inet_accept() local
744 sk2 = READ_ONCE(sk1->sk_prot)->accept(sk1, flags, &err, kern); in inet_accept()
A Dtcp_ipv4.c690 struct sock *sk1 = NULL; in tcp_v4_send_reset() local
752 sk1 = __inet_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_send_reset()
757 if (!sk1) in tcp_v4_send_reset()
765 key = tcp_md5_do_lookup(sk1, l3index, addr, AF_INET); in tcp_v4_send_reset()
/linux-6.3-rc2/net/ipv6/
A Dtcp_ipv6.c989 struct sock *sk1 = NULL; in tcp_v6_send_reset() local
1030 sk1 = inet6_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v6_send_reset()
1034 if (!sk1) in tcp_v6_send_reset()
1042 key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr, l3index); in tcp_v6_send_reset()

Completed in 28 milliseconds