Lines Matching refs:timeout
474 long timeout; in vbg_hgcm_do_call() local
494 timeout = MAX_SCHEDULE_TIMEOUT; in vbg_hgcm_do_call()
496 timeout = msecs_to_jiffies(timeout_ms); in vbg_hgcm_do_call()
499 timeout = wait_event_interruptible_timeout(gdev->hgcm_wq, in vbg_hgcm_do_call()
501 timeout); in vbg_hgcm_do_call()
503 timeout = wait_event_timeout(gdev->hgcm_wq, in vbg_hgcm_do_call()
505 timeout); in vbg_hgcm_do_call()
509 if (timeout > 0) in vbg_hgcm_do_call()
512 if (timeout == 0) in vbg_hgcm_do_call()
527 timeout = msecs_to_jiffies(500); in vbg_hgcm_do_call()
529 timeout = msecs_to_jiffies(2000); in vbg_hgcm_do_call()
531 timeout = wait_event_timeout(gdev->hgcm_wq, in vbg_hgcm_do_call()
533 timeout); in vbg_hgcm_do_call()
535 if (WARN_ON(timeout == 0)) { in vbg_hgcm_do_call()