Home
last modified time | relevance | path

Searched refs:sk_sleep (Results 1 – 54 of 54) sorted by relevance

/linux-4.4.14/net/atm/
Dsvc.c55 prepare_to_wait(sk_sleep(sk), &wait, TASK_UNINTERRUPTIBLE); in svc_disconnect()
60 finish_wait(sk_sleep(sk), &wait); in svc_disconnect()
131 prepare_to_wait(sk_sleep(sk), &wait, TASK_UNINTERRUPTIBLE); in svc_bind()
136 finish_wait(sk_sleep(sk), &wait); in svc_bind()
213 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_connect()
217 prepare_to_wait(sk_sleep(sk), &wait, in svc_connect()
236 prepare_to_wait(sk_sleep(sk), &wait, in svc_connect()
243 prepare_to_wait(sk_sleep(sk), &wait, in svc_connect()
254 finish_wait(sk_sleep(sk), &wait); in svc_connect()
302 prepare_to_wait(sk_sleep(sk), &wait, TASK_UNINTERRUPTIBLE); in svc_listen()
[all …]
Dcommon.c607 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vcc_sendmsg()
626 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vcc_sendmsg()
628 finish_wait(sk_sleep(sk), &wait); in vcc_sendmsg()
653 sock_poll_wait(file, sk_sleep(sk), wait); in vcc_poll()
Dsignaling.c113 pr_debug("waking sk_sleep(sk) 0x%p\n", sk_sleep(sk)); in sigd_send()
/linux-4.4.14/net/core/
Dstream.c72 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sk_stream_wait_connect()
78 finish_wait(sk_sleep(sk), &wait); in sk_stream_wait_connect()
101 prepare_to_wait(sk_sleep(sk), &wait, in sk_stream_wait_close()
107 finish_wait(sk_sleep(sk), &wait); in sk_stream_wait_close()
131 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sk_stream_wait_memory()
165 finish_wait(sk_sleep(sk), &wait); in sk_stream_wait_memory()
Ddatagram.c92 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in wait_for_more_packets()
121 finish_wait(sk_sleep(sk), &wait); in wait_for_more_packets()
758 sock_poll_wait(file, sk_sleep(sk), wait); in datagram_poll()
Dsock.c1823 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sock_wait_for_wmem()
1832 finish_wait(sk_sleep(sk), &wait); in sock_wait_for_wmem()
2048 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sk_wait_data()
2052 finish_wait(sk_sleep(sk), &wait); in sk_wait_data()
/linux-4.4.14/net/bluetooth/
Daf_bluetooth.c261 add_wait_queue(sk_sleep(sk), &wait); in bt_sock_data_wait()
282 remove_wait_queue(sk_sleep(sk), &wait); in bt_sock_data_wait()
415 poll_wait(file, sk_sleep(sk), wait); in bt_sock_poll()
506 add_wait_queue(sk_sleep(sk), &wait); in bt_sock_wait_state()
529 remove_wait_queue(sk_sleep(sk), &wait); in bt_sock_wait_state()
545 add_wait_queue(sk_sleep(sk), &wait); in bt_sock_wait_ready()
568 remove_wait_queue(sk_sleep(sk), &wait); in bt_sock_wait_ready()
Dl2cap_sock.c317 add_wait_queue_exclusive(sk_sleep(sk), &wait); in l2cap_sock_accept()
344 remove_wait_queue(sk_sleep(sk), &wait); in l2cap_sock_accept()
1065 add_wait_queue(sk_sleep(sk), &wait); in __l2cap_wait_ack()
1098 remove_wait_queue(sk_sleep(sk), &wait); in __l2cap_wait_ack()
Dsco.c643 add_wait_queue_exclusive(sk_sleep(sk), &wait); in sco_sock_accept()
669 remove_wait_queue(sk_sleep(sk), &wait); in sco_sock_accept()
/linux-4.4.14/net/vmw_vsock/
Daf_vsock.c849 poll_wait(file, sk_sleep(sk), wait); in vsock_poll()
1187 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vsock_stream_connect()
1218 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vsock_stream_connect()
1228 finish_wait(sk_sleep(sk), &wait); in vsock_stream_connect()
1267 prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); in vsock_accept()
1283 prepare_to_wait(sk_sleep(listener), &wait, TASK_INTERRUPTIBLE); in vsock_accept()
1316 finish_wait(sk_sleep(listener), &wait); in vsock_accept()
1560 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in vsock_stream_sendmsg()
1591 prepare_to_wait(sk_sleep(sk), &wait, in vsock_stream_sendmsg()
1638 finish_wait(sk_sleep(sk), &wait); in vsock_stream_sendmsg()
[all …]
/linux-4.4.14/net/bluetooth/bnep/
Dnetdev.c105 wake_up_interruptible(sk_sleep(sk)); in bnep_net_set_mc_list()
193 wake_up_interruptible(sk_sleep(sk)); in bnep_net_xmit()
Dcore.c494 add_wait_queue(sk_sleep(sk), &wait); in bnep_session()
521 remove_wait_queue(sk_sleep(sk), &wait); in bnep_session()
532 wake_up_interruptible(sk_sleep(s->sock->sk)); in bnep_session()
/linux-4.4.14/net/rxrpc/
Dar-recvmsg.c95 prepare_to_wait_exclusive(sk_sleep(&rx->sk), &wait, in rxrpc_recvmsg()
106 finish_wait(sk_sleep(&rx->sk), &wait); in rxrpc_recvmsg()
345 finish_wait(sk_sleep(&rx->sk), &wait); in rxrpc_recvmsg()
Daf_rxrpc.c594 sock_poll_wait(file, sk_sleep(sk), wait); in rxrpc_poll()
/linux-4.4.14/net/caif/
Dcaif_socket.c315 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in caif_stream_data_wait()
337 finish_wait(sk_sleep(sk), &wait); in caif_stream_data_wait()
480 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in caif_wait_for_flow_on()
492 finish_wait(sk_sleep(sk), &wait); in caif_wait_for_flow_on()
866 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in caif_connect()
923 wake_up_interruptible_poll(sk_sleep(sk), POLLERR|POLLHUP); in caif_release()
940 sock_poll_wait(file, sk_sleep(sk), wait); in caif_poll()
/linux-4.4.14/net/decnet/
Daf_decnet.c836 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_confirm_accept()
854 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_confirm_accept()
856 finish_wait(sk_sleep(sk), &wait); in dn_confirm_accept()
877 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_wait_run()
895 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_wait_run()
897 finish_wait(sk_sleep(sk), &wait); in dn_wait_run()
1046 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_wait_for_connect()
1066 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_wait_for_connect()
1068 finish_wait(sk_sleep(sk), &wait); in dn_wait_for_connect()
1752 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dn_recvmsg()
[all …]
/linux-4.4.14/net/bluetooth/hidp/
Dcore.c120 wake_up_interruptible(sk_sleep(sk)); in hidp_send_message()
415 wake_up_interruptible(sk_sleep(session->intr_sock->sk)); in hidp_idle_timeout()
416 wake_up_interruptible(sk_sleep(session->ctrl_sock->sk)); in hidp_idle_timeout()
1259 add_wait_queue(sk_sleep(session->ctrl_sock->sk), &ctrl_wait); in hidp_session_thread()
1260 add_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1273 remove_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1274 remove_wait_queue(sk_sleep(session->intr_sock->sk), &ctrl_wait); in hidp_session_thread()
/linux-4.4.14/net/tipc/
Dsocket.c633 sock_poll_wait(file, sk_sleep(sk), wait); in tipc_poll()
827 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_sndmsg()
829 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_sndmsg()
983 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_sndpkt()
988 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_sndpkt()
1252 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_rcvmsg()
1272 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_rcvmsg()
1587 if (waitqueue_active(sk_sleep(sk))) in filter_connect()
1588 wake_up_interruptible(sk_sleep(sk)); in filter_connect()
1832 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_connect()
[all …]
/linux-4.4.14/net/llc/
Daf_llc.c539 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in llc_ui_wait_for_disc()
550 finish_wait(sk_sleep(sk), &wait); in llc_ui_wait_for_disc()
559 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in llc_ui_wait_for_conn()
565 finish_wait(sk_sleep(sk), &wait); in llc_ui_wait_for_conn()
576 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in llc_ui_wait_for_busy_core()
591 finish_wait(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core()
/linux-4.4.14/drivers/atm/
Datmtcp.c71 add_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control()
83 remove_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control()
108 wake_up(sk_sleep(sk_atm(vcc))); in atmtcp_recv_control()
/linux-4.4.14/net/nfc/
Dllcp_sock.c35 add_wait_queue(sk_sleep(sk), &wait); in sock_wait_state()
60 remove_wait_queue(sk_sleep(sk), &wait); in sock_wait_state()
462 add_wait_queue_exclusive(sk_sleep(sk), &wait); in llcp_sock_accept()
481 remove_wait_queue(sk_sleep(sk), &wait); in llcp_sock_accept()
551 sock_poll_wait(file, sk_sleep(sk), wait); in llcp_sock_poll()
/linux-4.4.14/crypto/
Dalgif_aead.c133 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in aead_wait_for_data()
140 finish_wait(sk_sleep(sk), &wait); in aead_wait_for_data()
482 sock_poll_wait(file, sk_sleep(sk), wait); in aead_poll()
Dalgif_skcipher.c214 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in skcipher_wait_for_wmem()
221 finish_wait(sk_sleep(sk), &wait); in skcipher_wait_for_wmem()
260 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in skcipher_wait_for_data()
267 finish_wait(sk_sleep(sk), &wait); in skcipher_wait_for_data()
726 sock_poll_wait(file, sk_sleep(sk), wait); in skcipher_poll()
/linux-4.4.14/net/bluetooth/cmtp/
Dcore.c291 add_wait_queue(sk_sleep(sk), &wait); in cmtp_session()
313 remove_wait_queue(sk_sleep(sk), &wait); in cmtp_session()
Dcapi.c147 wake_up_interruptible(sk_sleep(session->sock->sk)); in cmtp_send_capimsg()
/linux-4.4.14/net/sunrpc/
Dsvcsock.c433 wait_queue_head_t *wq = sk_sleep(sk); in svc_udp_data_ready()
452 wait_queue_head_t *wq = sk_sleep(sk); in svc_write_space()
814 wq = sk_sleep(sk); in svc_tcp_listen_data_ready()
825 wait_queue_head_t *wq = sk_sleep(sk); in svc_tcp_state_change()
843 wait_queue_head_t *wq = sk_sleep(sk); in svc_tcp_data_ready()
1620 wq = sk_sleep(sk); in svc_sock_detach()
/linux-4.4.14/net/irda/
Daf_irda.c340 wake_up_interruptible(sk_sleep(sk)); in irda_flow_indication()
883 err = wait_event_interruptible(*(sk_sleep(sk)), in irda_accept()
1049 if (wait_event_interruptible(*(sk_sleep(sk)), in irda_connect()
1297 if (wait_event_interruptible(*(sk_sleep(sk)), in irda_sendmsg()
1440 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in irda_recvmsg_stream()
1460 finish_wait(sk_sleep(sk), &wait); in irda_recvmsg_stream()
1746 poll_wait(file, sk_sleep(sk), wait); in irda_poll()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-socket.c541 add_wait_queue(sk_sleep(sock->sk), &wait); in lnet_sock_accept()
543 remove_wait_queue(sk_sleep(sock->sk), &wait); in lnet_sock_accept()
Dacceptor.c487 wake_up_all(sk_sleep(lnet_acceptor_state.pta_sock->sk)); in lnet_acceptor_stop()
/linux-4.4.14/net/phonet/
Dsocket.c283 prepare_to_wait_exclusive(sk_sleep(sk), &wait, in pn_socket_connect()
288 finish_wait(sk_sleep(sk), &wait); in pn_socket_connect()
347 poll_wait(file, sk_sleep(sk), wait); in pn_socket_poll()
Dpep.c1181 prepare_to_wait(sk_sleep(sk), &wait, in pep_sendmsg()
1184 finish_wait(sk_sleep(sk), &wait); in pep_sendmsg()
/linux-4.4.14/net/netrom/
Daf_netrom.c736 prepare_to_wait(sk_sleep(sk), &wait, in nr_connect()
749 finish_wait(sk_sleep(sk), &wait); in nr_connect()
795 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in nr_accept()
813 finish_wait(sk_sleep(sk), &wait); in nr_accept()
/linux-4.4.14/drivers/net/
Dmacvtap.c398 wake_up_interruptible_poll(sk_sleep(&q->sk), POLLIN | POLLRDNORM | POLLRDBAND); in macvtap_handle_frame()
504 wqueue = sk_sleep(sk); in macvtap_sock_write_space()
923 prepare_to_wait(sk_sleep(&q->sk), &wait, in macvtap_do_read()
942 finish_wait(sk_sleep(&q->sk), &wait); in macvtap_do_read()
Dtun.c1039 poll_wait(file, sk_sleep(sk), wait); in tun_chr_poll()
1495 wqueue = sk_sleep(sk); in tun_sock_write_space()
/linux-4.4.14/net/dccp/
Doutput.c225 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in dccp_wait_for_ccid()
233 finish_wait(sk_sleep(sk), &wait); in dccp_wait_for_ccid()
Dproto.c315 sock_poll_wait(file, sk_sleep(sk), wait); in dccp_poll()
/linux-4.4.14/net/rose/
Daf_rose.c841 prepare_to_wait(sk_sleep(sk), &wait, in rose_connect()
854 finish_wait(sk_sleep(sk), &wait); in rose_connect()
901 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in rose_accept()
920 finish_wait(sk_sleep(sk), &wait); in rose_accept()
/linux-4.4.14/net/x25/
Daf_x25.c713 add_wait_queue_exclusive(sk_sleep(sk), &wait); in x25_wait_for_connection_establishment()
733 remove_wait_queue(sk_sleep(sk), &wait); in x25_wait_for_connection_establishment()
831 add_wait_queue_exclusive(sk_sleep(sk), &wait); in x25_wait_for_data()
851 remove_wait_queue(sk_sleep(sk), &wait); in x25_wait_for_data()
/linux-4.4.14/net/unix/
Daf_unix.c367 u_sleep = sk_sleep(&u->sk); in unix_dgram_peer_wake_relay()
416 wake_up_interruptible_poll(sk_sleep(sk), in unix_dgram_peer_wake_disconnect_wakeup()
2218 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in unix_stream_data_wait()
2240 finish_wait(sk_sleep(sk), &wait); in unix_stream_data_wait()
2637 sock_poll_wait(file, sk_sleep(sk), wait); in unix_poll()
2673 sock_poll_wait(file, sk_sleep(sk), wait); in unix_dgram_poll()
/linux-4.4.14/net/ax25/
Daf_ax25.c1287 prepare_to_wait(sk_sleep(sk), &wait, in ax25_connect()
1300 finish_wait(sk_sleep(sk), &wait); in ax25_connect()
1352 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in ax25_accept()
1370 finish_wait(sk_sleep(sk), &wait); in ax25_accept()
/linux-4.4.14/net/iucv/
Daf_iucv.c57 prepare_to_wait(sk_sleep(sk), &__wait, TASK_INTERRUPTIBLE); \
74 finish_wait(sk_sleep(sk), &__wait); \
947 add_wait_queue_exclusive(sk_sleep(sk), &wait); in iucv_sock_accept()
971 remove_wait_queue(sk_sleep(sk), &wait); in iucv_sock_accept()
1461 sock_poll_wait(file, sk_sleep(sk), wait); in iucv_sock_poll()
/linux-4.4.14/net/ipv4/
Dinet_connection_sock.c276 prepare_to_wait_exclusive(sk_sleep(sk), &wait, in inet_csk_wait_for_connect()
296 finish_wait(sk_sleep(sk), &wait); in inet_csk_wait_for_connect()
Daf_inet.c539 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in inet_wait_for_connect()
553 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in inet_wait_for_connect()
555 finish_wait(sk_sleep(sk), &wait); in inet_wait_for_connect()
Dtcp_ipv4.c1519 wake_up_interruptible_sync_poll(sk_sleep(sk), in tcp_prequeue()
Dtcp.c459 sock_poll_wait(file, sk_sleep(sk), wait); in tcp_poll()
/linux-4.4.14/net/bluetooth/rfcomm/
Dsock.c492 add_wait_queue_exclusive(sk_sleep(sk), &wait); in rfcomm_sock_accept()
519 remove_wait_queue(sk_sleep(sk), &wait); in rfcomm_sock_accept()
/linux-4.4.14/net/rds/
Drecv.c435 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in rds_recvmsg()
Daf_rds.c163 poll_wait(file, sk_sleep(sk), wait); in rds_poll()
Drds.h598 wait_queue_head_t *waitq = sk_sleep(sk); in __rds_wake_sk_sleep()
Dsend.c1107 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in rds_sendmsg()
/linux-4.4.14/net/sctp/
Dsocket.c6432 poll_wait(file, sk_sleep(sk), wait); in sctp_poll()
6694 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sctp_wait_for_packet()
6731 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_packet()
6738 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_packet()
7104 prepare_to_wait_exclusive(sk_sleep(sk), &wait, in sctp_wait_for_accept()
7130 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_accept()
7140 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sctp_wait_for_close()
7148 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_close()
/linux-4.4.14/drivers/scsi/
Discsi_tcp.c630 wake_up_interruptible(sk_sleep(sock->sk)); in iscsi_sw_tcp_conn_stop()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_sync.c1705 __wait_event_interruptible(*sk_sleep(sk), in sync_thread_master()
1748 wait_event_interruptible(*sk_sleep(tinfo->sock->sk), in sync_thread_backup()
/linux-4.4.14/include/net/
Dsock.h1657 static inline wait_queue_head_t *sk_sleep(struct sock *sk) in sk_sleep() function