Searched refs:wait (Results 51 - 75 of 81) sorted by relevance

1234

/net/irda/ircomm/
H A Dircomm_tty.c279 DECLARE_WAITQUEUE(wait, current);
317 add_wait_queue(&port->open_wait, &wait);
364 remove_wait_queue(&port->open_wait, &wait);
1184 * transmission of data. We just mark the hardware as stopped, and wait
/net/rfkill/
H A Dcore.c32 #include <linux/wait.h>
1073 static unsigned int rfkill_fop_poll(struct file *file, poll_table *wait) argument
1078 poll_wait(file, &data->read_wait, wait);
/net/rxrpc/
H A Daf_rxrpc.c61 * wait for write bufferage to become available
71 wake_up_interruptible(&wq->wait);
590 poll_table *wait)
595 sock_poll_wait(file, sk_sleep(sk), wait);
589 rxrpc_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/net/irda/
H A Daf_irda.c617 * Moreover, we would need to wait the LAP disconnection...
1452 DEFINE_WAIT(wait);
1458 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
1478 finish_wait(sk_sleep(sk), &wait); local
1756 * Function irda_poll (file, sock, wait)
1759 poll_table *wait)
1767 poll_wait(file, sk_sleep(sk), wait);
2396 * then wait for the answer to come back. */
1758 irda_poll(struct file * file, struct socket *sock, poll_table *wait) argument
/net/iucv/
H A Daf_iucv.c308 wake_up_interruptible_all(&wq->wait);
930 DECLARE_WAITQUEUE(wait, current);
945 add_wait_queue_exclusive(sk_sleep(sk), &wait); local
969 remove_wait_queue(sk_sleep(sk), &wait); local
1130 /* wait if outstanding messages for iucv path has reached */
1458 poll_table *wait)
1463 sock_poll_wait(file, sk_sleep(sk), wait);
1457 iucv_sock_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/net/ipv4/
H A Dipconfig.c262 /* wait for a carrier on at least one device */
267 int wait, elapsed; local
279 wait = (CONF_CARRIER_TIMEOUT - elapsed + 500)/1000;
280 pr_info("Waiting up to %d more seconds for network.\n", wait);
1202 * Send requests and wait, until we get an answer. This loop
H A Daf_inet.c548 DEFINE_WAIT(wait);
550 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
564 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); local
566 finish_wait(sk_sleep(sk), &wait); local
H A Dinet_hashtables.c20 #include <linux/wait.h>
H A Dtcp.c140 * A.N.Kuznetsov : Don't time wait on completion of tidy
450 unsigned int tcp_poll(struct file *file, struct socket *sock, poll_table *wait) argument
458 sock_poll_wait(file, sk_sleep(sk), wait);
2081 * GET in an FTP client, suspend the process, wait for the client to
2115 * we enter time-wait state, when it is not required really
H A Dudp.c2191 * udp_poll - wait for a UDP event.
2194 * @wait - poll table
2203 unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait) argument
2205 unsigned int mask = datagram_poll(file, sock, wait);
/net/phonet/
H A Dpep.c1171 DEFINE_WAIT(wait);
1182 prepare_to_wait(sk_sleep(sk), &wait, local
1185 finish_wait(sk_sleep(sk), &wait); local
/net/sunrpc/
H A Drpc_pipe.c24 #include <linux/wait.h>
344 rpc_pipe_poll(struct file *filp, struct poll_table_struct *wait) argument
350 poll_wait(filp, &rpci->waitq, wait);
/net/dccp/
H A Ddccp.h74 #define DCCP_TIMEWAIT_LEN (60 * HZ) /* how long to wait to destroy TIME-WAIT
321 poll_table *wait);
H A Dproto.c310 poll_table *wait)
315 sock_poll_wait(file, sk_sleep(sk), wait);
1025 * Normal connection termination. May need to wait if there are
309 dccp_poll(struct file *file, struct socket *sock, poll_table *wait) argument
/net/nfc/hci/
H A Dllc_shdlc.c23 #include <linux/wait.h>
/net/sctp/
H A Doutput.c41 #include <linux/wait.h>
H A Dsm_sideeffect.c831 /* Wake up any processes waiting in the asoc's wait queue in
834 if (waitqueue_active(&asoc->wait))
835 wake_up_interruptible(&asoc->wait);
1737 /* If this is in response to a received chunk, wait until
H A Dassociola.c185 init_waitqueue_head(&asoc->wait);
/net/
H A Dsocket.c125 struct poll_table_struct *wait);
262 init_waitqueue_head(&wq->wait);
1149 static unsigned int sock_poll(struct file *file, poll_table *wait) argument
1164 if (wait && (wait->_key & POLL_BUSY_LOOP))
1168 return busy_flag | sock->ops->poll(file, sock, wait);
/net/sunrpc/auth_gss/
H A Dauth_gss.c615 DEFINE_WAIT(wait);
645 prepare_to_wait(&gss_msg->waitqueue, &wait, TASK_KILLABLE);
663 finish_wait(&gss_msg->waitqueue, &wait);
/net/bluetooth/
H A Dhci_core.c1138 DECLARE_WAITQUEUE(wait, current);
1154 add_wait_queue(&hdev->req_wait_q, &wait);
1159 remove_wait_queue(&hdev->req_wait_q, &wait);
1196 /* Execute request and wait for completion. */
1203 DECLARE_WAITQUEUE(wait, current);
1229 add_wait_queue(&hdev->req_wait_q, &wait);
1234 remove_wait_queue(&hdev->req_wait_q, &wait);
/net/atm/
H A Dclip.c14 #include <linux/wait.h>
/net/wireless/
H A Dtrace.h1678 __field(unsigned int, wait)
1687 __entry->wait = params->wait;
1692 " wait: %u, no cck: %s, dont wait for ack: %s",
1694 BOOL_TO_STR(__entry->offchan), __entry->wait,
/net/core/
H A Drtnetlink.c368 DEFINE_WAIT(wait);
371 prepare_to_wait(&netdev_unregistering_wq, &wait,
386 finish_wait(&netdev_unregistering_wq, &wait);
H A Ddev.c69 * Andrew Morton : Make unregister_netdevice wait
6365 * netdev_wait_allrefs - wait until all references are gone.
6445 * safely in order to wait for the netdev refcnt to drop to zero.
7203 DEFINE_WAIT(wait);
7206 prepare_to_wait(&netdev_unregistering_wq, &wait,
7221 finish_wait(&netdev_unregistering_wq, &wait);
7237 * wait here for all pending unregistrations to complete,

Completed in 423 milliseconds

1234