Lines Matching refs:timeout
49 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) in smc_close_stream_wait() argument
54 if (!timeout) in smc_close_stream_wait()
65 while (!signal_pending(current) && timeout) { in smc_close_stream_wait()
68 rc = sk_wait_event(sk, &timeout, in smc_close_stream_wait()
200 long timeout; in smc_close_active() local
204 timeout = current->flags & PF_EXITING ? in smc_close_active()
231 smc_close_stream_wait(smc, timeout); in smc_close_active()
265 smc_close_stream_wait(smc, timeout); in smc_close_active()
452 long timeout; in smc_close_shutdown_write() local
455 timeout = current->flags & PF_EXITING ? in smc_close_shutdown_write()
463 smc_close_stream_wait(smc, timeout); in smc_close_shutdown_write()
476 smc_close_stream_wait(smc, timeout); in smc_close_shutdown_write()