Searched refs:wait (Results 26 - 50 of 81) sorted by relevance

1234

/net/irda/irnet/
H A Dirnet_ppp.c284 DECLARE_WAITQUEUE(wait, current);
306 /* Put ourselves on the wait queue to be woken up */
307 add_wait_queue(&irnet_events.rwait, &wait);
321 /* Yield and wait to be woken up */
325 remove_wait_queue(&irnet_events.rwait, &wait);
424 poll_table * wait)
430 poll_wait(file, &irnet_events.rwait, wait);
612 poll_table * wait)
625 mask |= irnet_ctrl_poll(ap, file, wait);
422 irnet_ctrl_poll(irnet_socket * ap, struct file * file, poll_table * wait) argument
611 dev_irnet_poll(struct file * file, poll_table * wait) argument
/net/rds/
H A Daf_rds.c171 poll_table *wait)
178 poll_wait(file, sk_sleep(sk), wait);
181 poll_wait(file, &rds_poll_waitq, wait);
170 rds_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/net/bluetooth/bnep/
H A Dcore.c454 wait_queue_t wait; local
460 init_waitqueue_entry(&wait, current);
461 add_wait_queue(sk_sleep(sk), &wait); local
488 remove_wait_queue(sk_sleep(sk), &wait); local
/net/dccp/
H A Doutput.c205 wake_up_interruptible(&wq->wait);
215 * @sk: socket to wait for
222 DEFINE_WAIT(wait);
225 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
233 finish_wait(sk_sleep(sk), &wait); local
/net/batman-adv/
H A Dicmp_socket.c274 static unsigned int batadv_socket_poll(struct file *file, poll_table *wait) argument
278 poll_wait(file, &socket_client->queue_wait, wait);
H A Ddebugfs.c176 static unsigned int batadv_log_poll(struct file *file, poll_table *wait) argument
181 poll_wait(file, &debug_log->queue_wait, wait);
/net/core/
H A Dsock.c35 * code. The ACK stuff can wait and needs major
1733 DEFINE_WAIT(wait);
1742 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
1751 finish_wait(sk_sleep(sk), &wait); local
1870 DEFINE_WAIT(wait); variable
1873 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait,
1881 finish_wait(&sk->sk_lock.wq, &wait);
1924 * sk_wait_data - wait for data to arrive at sk_receive_queue
1925 * @sk: sock to wait on
1929 * hence we may omit checks after joining wait queu
1938 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
1942 finish_wait(sk_sleep(sk), &wait); local
[all...]
/net/unix/
H A Daf_unix.c332 wake_up_interruptible_sync_poll(&wq->wait,
446 * like files and pipes do and wait for the last
1045 DEFINE_WAIT(wait);
1047 prepare_to_wait_exclusive(&u->peer_wait, &wait, TASK_INTERRUPTIBLE);
1058 finish_wait(&u->peer_wait, &wait);
1884 DEFINE_WAIT(wait);
1889 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
1909 finish_wait(sk_sleep(sk), &wait); local
2186 static unsigned int unix_poll(struct file *file, struct socket *sock, poll_table *wait) argument
2191 sock_poll_wait(file, sk_sleep(sk), wait);
2221 unix_dgram_poll(struct file *file, struct socket *sock, poll_table *wait) argument
[all...]
H A Dgarbage.c82 #include <linux/wait.h>
/net/phonet/
H A Dsocket.c272 DEFINE_WAIT(wait);
283 prepare_to_wait_exclusive(sk_sleep(sk), &wait, local
288 finish_wait(sk_sleep(sk), &wait); local
341 poll_table *wait)
347 poll_wait(file, sk_sleep(sk), wait);
340 pn_socket_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/net/sctp/
H A Dsocket.c57 #include <linux/wait.h>
409 * it needs to transfer another ASCONF Chunk, it MUST wait until the
6422 unsigned int sctp_poll(struct file *file, struct socket *sock, poll_table *wait) argument
6428 poll_wait(file, sk_sleep(sk), wait);
6687 DEFINE_WAIT(wait);
6689 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
6726 finish_wait(sk_sleep(sk), &wait); local
6733 finish_wait(sk_sleep(sk), &wait); local
6787 /* User doesn't want to wait. */
6807 if (waitqueue_active(&asoc->wait))
7099 prepare_to_wait_exclusive(sk_sleep(sk), &wait, local
7125 finish_wait(sk_sleep(sk), &wait); local
7135 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
7143 finish_wait(sk_sleep(sk), &wait); local
[all...]
/net/bluetooth/
H A Dl2cap_sock.c299 DECLARE_WAITQUEUE(wait, current);
311 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
339 remove_wait_queue(sk_sleep(sk), &wait); local
1055 DECLARE_WAITQUEUE(wait, current);
1059 add_wait_queue(sk_sleep(sk), &wait); local
1080 remove_wait_queue(sk_sleep(sk), &wait); local
H A Dsco.c621 DECLARE_WAITQUEUE(wait, current);
633 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
661 remove_wait_queue(sk_sleep(sk), &wait); local
/net/netrom/
H A Daf_netrom.c733 DEFINE_WAIT(wait);
736 prepare_to_wait(sk_sleep(sk), &wait, local
749 finish_wait(sk_sleep(sk), &wait); local
772 DEFINE_WAIT(wait);
795 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
813 finish_wait(sk_sleep(sk), &wait); local
/net/vmw_vsock/
H A Dvmci_transport_notify.c62 /* For now we ignore the wait information and just see if the free
82 * next wait will again cause a decrease in the window size.
100 /* For now we ignore the wait information and just see if there is any
125 memcpy(&PKT_FIELD(vsk, peer_waiting_read_info), &pkt->u.wait,
155 memcpy(&PKT_FIELD(vsk, peer_waiting_write_info), &pkt->u.wait,
/net/netfilter/
H A Dcore.c15 #include <linux/wait.h>
/net/nfc/nci/
H A Ddata.c27 #include <linux/wait.h>
220 /* need to wait for next fragment, store skb and exit */
/net/sunrpc/xprtrdma/
H A Dxprt_rdma.h43 #include <linux/wait.h> /* wait_queue_head_t, etc */
/net/netlink/
H A Daf_netlink.c286 wake_up_interruptible(&nlk->wait);
640 poll_table *wait)
663 mask = datagram_poll(file, sock, wait);
963 DECLARE_WAITQUEUE(wait, current);
965 add_wait_queue_exclusive(&nl_table_wait, &wait);
976 remove_wait_queue(&nl_table_wait, &wait);
1147 init_waitqueue_head(&nlk->wait);
1234 wake_up_interruptible_all(&nlk->wait);
1653 DECLARE_WAITQUEUE(wait, current);
1663 add_wait_queue(&nlk->wait,
639 netlink_poll(struct file *file, struct socket *sock, poll_table *wait) argument
[all...]
/net/ax25/
H A Daf_ax25.c1282 DEFINE_WAIT(wait);
1285 prepare_to_wait(sk_sleep(sk), &wait, local
1298 finish_wait(sk_sleep(sk), &wait); local
1324 DEFINE_WAIT(wait);
1350 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
1368 finish_wait(sk_sleep(sk), &wait); local
/net/rose/
H A Daf_rose.c837 DEFINE_WAIT(wait);
840 prepare_to_wait(sk_sleep(sk), &wait, local
853 finish_wait(sk_sleep(sk), &wait); local
877 DEFINE_WAIT(wait);
900 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
919 finish_wait(sk_sleep(sk), &wait); local
/net/sunrpc/
H A Dcache.c600 * and we need to wait for it.
913 static unsigned int cache_poll(struct file *filp, poll_table *wait, argument
920 poll_wait(filp, &queue_wait, wait);
1487 static unsigned int cache_poll_procfs(struct file *filp, poll_table *wait) argument
1491 return cache_poll(filp, wait, cd);
1719 static unsigned int cache_poll_pipefs(struct file *filp, poll_table *wait) argument
1723 return cache_poll(filp, wait, cd);
/net/x25/
H A Daf_x25.c710 DECLARE_WAITQUEUE(wait, current);
713 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
733 remove_wait_queue(sk_sleep(sk), &wait); local
828 DECLARE_WAITQUEUE(wait, current);
831 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
851 remove_wait_queue(sk_sleep(sk), &wait); local
/net/bluetooth/rfcomm/
H A Dsock.c471 DECLARE_WAITQUEUE(wait, current);
488 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
516 remove_wait_queue(sk_sleep(sk), &wait); local
/net/ipv4/
H A Dinet_connection_sock.c248 DEFINE_WAIT(wait);
261 * beginning of the wait-queue. As such, it's ok to "drop"
263 * having to remove and re-insert us on the wait queue.
266 prepare_to_wait_exclusive(sk_sleep(sk), &wait, local
285 finish_wait(sk_sleep(sk), &wait); local

Completed in 1243 milliseconds

1234