Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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()
130 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sk_stream_wait_memory()
161 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.c1786 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sock_wait_for_wmem()
1795 finish_wait(sk_sleep(sk), &wait); in sock_wait_for_wmem()
1982 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sk_wait_data()
1986 finish_wait(sk_sleep(sk), &wait); in sk_wait_data()
/linux-4.1.27/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()
1064 add_wait_queue(sk_sleep(sk), &wait); in __l2cap_wait_ack()
1085 remove_wait_queue(sk_sleep(sk), &wait); in __l2cap_wait_ack()
Dsco.c636 add_wait_queue_exclusive(sk_sleep(sk), &wait); in sco_sock_accept()
662 remove_wait_queue(sk_sleep(sk), &wait); in sco_sock_accept()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/net/caif/
Dcaif_socket.c318 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in caif_stream_data_wait()
340 finish_wait(sk_sleep(sk), &wait); in caif_stream_data_wait()
483 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in caif_wait_for_flow_on()
495 finish_wait(sk_sleep(sk), &wait); in caif_wait_for_flow_on()
869 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in caif_connect()
926 wake_up_interruptible_poll(sk_sleep(sk), POLLERR|POLLHUP); in caif_release()
943 sock_poll_wait(file, sk_sleep(sk), wait); in caif_poll()
/linux-4.1.27/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.1.27/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()
1258 add_wait_queue(sk_sleep(session->ctrl_sock->sk), &ctrl_wait); in hidp_session_thread()
1259 add_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1272 remove_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1273 remove_wait_queue(sk_sleep(session->intr_sock->sk), &ctrl_wait); in hidp_session_thread()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tcpip.c550 add_wait_queue(sk_sleep(sock->sk), &wait); in libcfs_sock_accept()
552 remove_wait_queue(sk_sleep(sock->sk), &wait); in libcfs_sock_accept()
573 wake_up_all(sk_sleep(sock->sk)); in libcfs_sock_abort_accept()
/linux-4.1.27/net/tipc/
Dsocket.c626 sock_poll_wait(file, sk_sleep(sk), wait); in tipc_poll()
817 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_sndmsg()
819 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_sndmsg()
971 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_sndpkt()
976 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_sndpkt()
1237 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_rcvmsg()
1257 finish_wait(sk_sleep(sk), &wait); in tipc_wait_for_rcvmsg()
1571 if (waitqueue_active(sk_sleep(sk))) in filter_connect()
1572 wake_up_interruptible(sk_sleep(sk)); in filter_connect()
1821 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in tipc_wait_for_connect()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/crypto/
Dalgif_skcipher.c225 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in skcipher_wait_for_wmem()
232 finish_wait(sk_sleep(sk), &wait); in skcipher_wait_for_wmem()
271 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in skcipher_wait_for_data()
278 finish_wait(sk_sleep(sk), &wait); in skcipher_wait_for_data()
724 sock_poll_wait(file, sk_sleep(sk), wait); in skcipher_poll()
Dalgif_aead.c131 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in aead_wait_for_data()
138 finish_wait(sk_sleep(sk), &wait); in aead_wait_for_data()
530 sock_poll_wait(file, sk_sleep(sk), wait); in aead_poll()
/linux-4.1.27/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.1.27/net/sunrpc/
Dsvcsock.c408 wait_queue_head_t *wq = sk_sleep(sk); in svc_udp_data_ready()
427 wait_queue_head_t *wq = sk_sleep(sk); in svc_write_space()
789 wq = sk_sleep(sk); in svc_tcp_listen_data_ready()
800 wait_queue_head_t *wq = sk_sleep(sk); in svc_tcp_state_change()
818 wait_queue_head_t *wq = sk_sleep(sk); in svc_tcp_data_ready()
1596 wq = sk_sleep(sk); in svc_sock_detach()
/linux-4.1.27/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.1.27/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.1.27/drivers/net/
Dmacvtap.c349 wake_up_interruptible_poll(sk_sleep(&q->sk), POLLIN | POLLRDNORM | POLLRDBAND); in macvtap_handle_frame()
455 wqueue = sk_sleep(sk); in macvtap_sock_write_space()
864 prepare_to_wait(sk_sleep(&q->sk), &wait, in macvtap_do_read()
890 finish_wait(sk_sleep(&q->sk), &wait); in macvtap_do_read()
Dtun.c985 poll_wait(file, sk_sleep(sk), wait); in tun_chr_poll()
1442 wqueue = sk_sleep(sk); in tun_sock_write_space()
/linux-4.1.27/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.1.27/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.1.27/net/rose/
Daf_rose.c840 prepare_to_wait(sk_sleep(sk), &wait, in rose_connect()
853 finish_wait(sk_sleep(sk), &wait); in rose_connect()
900 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in rose_accept()
919 finish_wait(sk_sleep(sk), &wait); in rose_accept()
/linux-4.1.27/net/unix/
Daf_unix.c357 u_sleep = sk_sleep(&u->sk); in unix_dgram_peer_wake_relay()
406 wake_up_interruptible_poll(sk_sleep(sk), in unix_dgram_peer_wake_disconnect_wakeup()
2034 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in unix_stream_data_wait()
2054 finish_wait(sk_sleep(sk), &wait); in unix_stream_data_wait()
2339 sock_poll_wait(file, sk_sleep(sk), wait); in unix_poll()
2375 sock_poll_wait(file, sk_sleep(sk), wait); in unix_dgram_poll()
/linux-4.1.27/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.1.27/net/ax25/
Daf_ax25.c1288 prepare_to_wait(sk_sleep(sk), &wait, in ax25_connect()
1301 finish_wait(sk_sleep(sk), &wait); in ax25_connect()
1353 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in ax25_accept()
1371 finish_wait(sk_sleep(sk), &wait); in ax25_accept()
/linux-4.1.27/net/iucv/
Daf_iucv.c57 prepare_to_wait(sk_sleep(sk), &__wait, TASK_INTERRUPTIBLE); \
74 finish_wait(sk_sleep(sk), &__wait); \
948 add_wait_queue_exclusive(sk_sleep(sk), &wait); in iucv_sock_accept()
972 remove_wait_queue(sk_sleep(sk), &wait); in iucv_sock_accept()
1462 sock_poll_wait(file, sk_sleep(sk), wait); in iucv_sock_poll()
/linux-4.1.27/net/ipv4/
Daf_inet.c538 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in inet_wait_for_connect()
552 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in inet_wait_for_connect()
554 finish_wait(sk_sleep(sk), &wait); in inet_wait_for_connect()
Dinet_connection_sock.c267 prepare_to_wait_exclusive(sk_sleep(sk), &wait, in inet_csk_wait_for_connect()
287 finish_wait(sk_sleep(sk), &wait); in inet_csk_wait_for_connect()
Dtcp_ipv4.c1532 wake_up_interruptible_sync_poll(sk_sleep(sk), in tcp_prequeue()
Dtcp.c457 sock_poll_wait(file, sk_sleep(sk), wait); in tcp_poll()
/linux-4.1.27/net/bluetooth/rfcomm/
Dsock.c488 add_wait_queue_exclusive(sk_sleep(sk), &wait); in rfcomm_sock_accept()
515 remove_wait_queue(sk_sleep(sk), &wait); in rfcomm_sock_accept()
/linux-4.1.27/net/rds/
Daf_rds.c178 poll_wait(file, sk_sleep(sk), wait); in rds_poll()
Drecv.c435 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in rds_recvmsg()
Drds.h584 wait_queue_head_t *waitq = sk_sleep(sk); in __rds_wake_sk_sleep()
Dsend.c1078 timeo = wait_event_interruptible_timeout(*sk_sleep(sk), in rds_sendmsg()
/linux-4.1.27/net/sctp/
Dsocket.c6445 poll_wait(file, sk_sleep(sk), wait); in sctp_poll()
6707 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sctp_wait_for_packet()
6744 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_packet()
6751 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_packet()
6829 wait_queue_head_t *wq = sk_sleep(sk); in __sctp_write_space()
7113 prepare_to_wait_exclusive(sk_sleep(sk), &wait, in sctp_wait_for_accept()
7139 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_accept()
7149 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in sctp_wait_for_close()
7157 finish_wait(sk_sleep(sk), &wait); in sctp_wait_for_close()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_sync.c1670 __wait_event_interruptible(*sk_sleep(sk), in sync_thread_master()
1713 wait_event_interruptible(*sk_sleep(tinfo->sock->sk), in sync_thread_backup()
/linux-4.1.27/drivers/scsi/
Discsi_tcp.c630 wake_up_interruptible(sk_sleep(sock->sk)); in iscsi_sw_tcp_conn_stop()
/linux-4.1.27/include/net/
Dsock.h1666 static inline wait_queue_head_t *sk_sleep(struct sock *sk) in sk_sleep() function