Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 196) sorted by relevance

12345678

/linux/fs/smb/smbdirect/
H A Dsocket.c252 wake_up_all(&sc->listen.wait_queue); in smbdirect_socket_wake_up_all()
309 spin_lock_irqsave(&sc->listen.lock, flags); in __smbdirect_socket_schedule_cleanup()
310 list_splice_init(&sc->listen.ready, &sc->listen.pending); in __smbdirect_socket_schedule_cleanup()
311 list_for_each_entry_safe(psc, tsc, &sc->listen.pending, accept.list) in __smbdirect_socket_schedule_cleanup()
313 spin_unlock_irqrestore(&sc->listen.lock, flags); in __smbdirect_socket_schedule_cleanup()
409 spin_lock_irqsave(&sc->listen.lock, flags); in smbdirect_socket_cleanup_work()
410 list_splice_init(&sc->listen.ready, &sc->listen.pending); in smbdirect_socket_cleanup_work()
411 list_for_each_entry_safe(psc, tsc, &sc->listen.pending, accept.list) in smbdirect_socket_cleanup_work()
413 spin_unlock_irqrestore(&sc->listen.lock, flags); in smbdirect_socket_cleanup_work()
534 spin_lock_irqsave(&sc->listen.lock, flags); in smbdirect_socket_destroy()
[all …]
H A Dlisten.c75 sc->listen.backlog = backlog; in smbdirect_socket_listen()
214 size_t backlog = max_t(size_t, 1, lsc->listen.backlog); in smbdirect_listen_connect_request()
254 spin_lock_irqsave(&lsc->listen.lock, flags); in smbdirect_listen_connect_request()
255 psockets = list_count_nodes(&lsc->listen.pending); in smbdirect_listen_connect_request()
256 rsockets = list_count_nodes(&lsc->listen.ready); in smbdirect_listen_connect_request()
257 spin_unlock_irqrestore(&lsc->listen.lock, flags); in smbdirect_listen_connect_request()
264 lsc->listen.backlog, backlog, psockets, rsockets); in smbdirect_listen_connect_request()
282 spin_lock_irqsave(&lsc->listen.lock, flags); in smbdirect_listen_connect_request()
283 list_add_tail(&nsc->accept.list, &lsc->listen.pending); in smbdirect_listen_connect_request()
285 spin_unlock_irqrestore(&lsc->listen.lock, flags); in smbdirect_listen_connect_request()
[all …]
H A Daccept.c460 spin_lock_irqsave(&lsc->listen.lock, flags); in smbdirect_accept_negotiate_recv_work()
462 list_add_tail(&sc->accept.list, &lsc->listen.ready); in smbdirect_accept_negotiate_recv_work()
463 wake_up(&lsc->listen.wait_queue); in smbdirect_accept_negotiate_recv_work()
464 spin_unlock_irqrestore(&lsc->listen.lock, flags); in smbdirect_accept_negotiate_recv_work()
777 ret = wait_event_interruptible_timeout(lsc->listen.wait_queue, in smbdirect_socket_wait_for_accept()
778 !list_empty_careful(&lsc->listen.ready) || in smbdirect_socket_wait_for_accept()
811 if (list_empty_careful(&lsc->listen.ready)) { in smbdirect_socket_accept()
826 spin_lock_irqsave(&lsc->listen.lock, flags); in smbdirect_socket_accept()
827 nsc = list_first_entry_or_null(&lsc->listen.ready, in smbdirect_socket_accept()
833 arg->is_empty = list_empty_careful(&lsc->listen.ready); in smbdirect_socket_accept()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dani.c377 int listen; in ath5k_hw_ani_get_listen_time() local
385 listen = ath_hw_get_listen_time(common); in ath5k_hw_ani_get_listen_time()
389 return listen; in ath5k_hw_ani_get_listen_time()
478 int listen, ofdm_high, ofdm_low, cck_high, cck_low; in ath5k_ani_calibration() local
483 listen = ath5k_hw_ani_get_listen_time(ah, as); in ath5k_ani_calibration()
484 as->listen_time += listen; in ath5k_ani_calibration()
497 "listen %d (now %d)", as->listen_time, listen); in ath5k_ani_calibration()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_ooo-before-and-after-accept.pkt14 +0 listen(3, 1) = 0
39 +0 listen(3, 1) = 0
H A Dtcp_blocking_blocking-read.pkt13 +0 listen(3, 1) = 0
H A Dtcp_ooo_rcv_mss.pkt11 +0 listen(3, 1) = 0
H A Dtcp_rcv_zero_wnd_fin.pkt15 +0 listen(3, 1) = 0
H A Dtcp_zerocopy_batch.pkt14 +0 listen(3, 1) = 0
H A Dtcp_slow_start_slow-start-app-limited.pkt11 +0 listen(3, 1) = 0
H A Dtcp_slow_start_slow-start-ack-per-2pkt-send-5pkt.pkt14 +0 listen(3, 1) = 0
H A Dtcp_rcv_big_endseq.pkt14 +0 listen(3, 1) = 0
/linux/include/xen/interface/io/
H A Dpvcalls.h69 } listen; member
107 } listen; member
/linux/net/nfc/nci/
H A Dntf.c568 struct activation_params_listen_nfc_dep *listen; in nci_extract_activation_params_nfc_dep() local
583 listen = &ntf->activation_params.listen_nfc_dep; in nci_extract_activation_params_nfc_dep()
584 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep()
586 pr_debug("atr_req_len %d\n", listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
587 if (listen->atr_req_len > 0) in nci_extract_activation_params_nfc_dep()
588 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
725 goto listen; in nci_rf_intf_activated_ntf_packet()
873 listen: in nci_rf_intf_activated_ntf_packet()
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh575 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
612 ip netns exec "$ns2" ./pm_nl_ctl listen dead:beef:2::2\
651 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
691 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
727 ip netns exec "$ns1" ./pm_nl_ctl listen dead:beef:2::1\
766 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
807 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
906 ip netns exec $ns2 ./pm_nl_ctl listen 10.0.2.2\
/linux/net/smc/
H A Dsmc_inet.c44 .listen = smc_listen,
91 .listen = smc_listen,
/linux/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c149 ret = listen(fd[0], 5); in TEST()
152 ret = listen(fd[1], 5); in TEST()
H A Dsk_connect_zero_addr.c37 if (listen(fd1, 0)) { in main()
H A Dreuseport_addr_any.c82 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd()
83 error(1, errno, "tcp: failed to listen on receive port"); in build_rcv_fd()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmigrate_reuseport.c5 * 1. call listen() for 4 server sockets.
7 * 3. call listen() for 1 server socket. (migration target)
17 * 8. call listen() for the second server socket.
21 * 10. call listen() for the last server.
274 err = listen(test_case->servers[i], qlen); in start_servers()
275 if (!ASSERT_OK(err, "listen")) in start_servers()
408 * calling listen() again will bind() the first listener in count_requests()
413 * and SOCK_BINDPORT_LOCK is set. Thus, re-listen() will in count_requests()
416 err = listen(test_case->servers[1], QLEN); in count_requests()
417 if (!ASSERT_OK(err, "listen")) in count_requests()
[all...]
H A Dskc_to_unix_sock.c44 err = listen(sockfd, 1); in test_skc_to_unix_sock()
/linux/tools/testing/selftests/landlock/
H A Dscoped_abstract_unix_test.c151 ASSERT_EQ(0, listen(stream_server, backlog)); in TEST_F()
217 ASSERT_EQ(0, listen(stream_server, backlog)); in TEST_F()
244 /* Waits for the child to listen */ in TEST_F()
355 /* Waits for the child to listen */ in TEST_F()
541 ASSERT_EQ(0, listen(stream_server_child, backlog)); in TEST_F()
568 ASSERT_EQ(0, listen(stream_server_parent, backlog)); in TEST_F()
671 ASSERT_EQ(0, listen(stream_server, backlog)); in TEST_F()
721 ASSERT_EQ(0, listen(server_socket, backlog)); in TEST_F()
827 /* Waits for parent to listen. */ in TEST_F()
910 ASSERT_EQ(0, listen(stream_pathname_socke in TEST_F()
[all...]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_tproxy_tcp.sh219 …timeout "$timeout" ip netns exec "$nsrouter" socat "$socat_ipproto" tcp-listen:12345,fork,ip-trans…
222 …timeout "$timeout" ip netns exec "$ns2" socat "$socat_ipproto" tcp-listen:8080,fork SYSTEM:"echo P…
225 …timeout "$timeout" ip netns exec "$ns3" socat "$socat_ipproto" tcp-listen:8080,fork SYSTEM:"echo P…
H A Dnft_tproxy_udp.sh193 timeout "$timeout" ip netns exec "$nsrouter" socat -u "$socat_ipproto" udp-listen:12345,fork,ip-transparent,reuseport,shut-none udp:"$ns1_ip_port",ip-transparent,reuseport,bind="$ns2_ip_port",shut-none 2>/dev/null &
196 timeout "$timeout" ip netns exec "$ns2" socat "$socat_ipproto" udp-listen:8080,fork,shut-none SYSTEM:"echo PONG_NS2" 2>/dev/null &
199 timeout "$timeout" ip netns exec "$ns3" socat "$socat_ipproto" udp-listen:8080,fork,shut-none SYSTEM:"echo PONG_NS3" 2>/dev/null &
/linux/crypto/
H A Dalgif_rng.c171 .listen = sock_no_listen,
189 .listen = sock_no_listen,

12345678