Lines Matching refs:delay
65 unsigned long delay, bool remote);
247 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work() argument
250 if (!queue_delayed_work(sdp->sd_glock_wq, &gl->gl_work, delay)) { in gfs2_glock_queue_work()
1029 unsigned long delay; in gfs2_queue_verify_delete() local
1033 delay = later ? HZ + get_random_long() % (HZ * 9) : 0; in gfs2_queue_verify_delete()
1034 return queue_delayed_work(sdp->sd_delete_wq, &gl->gl_delete, delay); in gfs2_queue_verify_delete()
1069 unsigned long delay = 0; in glock_work_func() local
1087 delay = holdtime - now; in glock_work_func()
1090 if (!delay) { in glock_work_func()
1096 if (delay) { in glock_work_func()
1099 gfs2_glock_queue_work(gl, delay); in glock_work_func()
1431 unsigned long delay, bool remote) in request_demote() argument
1433 gfs2_set_demote(delay ? GLF_PENDING_DEMOTE : GLF_DEMOTE, gl); in request_demote()
1613 unsigned delay = 0; in __gfs2_glock_dq() local
1642 delay = gl->gl_hold_time; in __gfs2_glock_dq()
1643 gfs2_glock_queue_work(gl, delay); in __gfs2_glock_dq()
1860 unsigned long delay = 0; in gfs2_glock_cb() local
1872 delay = holdtime - now; in gfs2_glock_cb()
1874 delay = gl->gl_hold_time; in gfs2_glock_cb()
1876 request_demote(gl, state, delay, true); in gfs2_glock_cb()
1877 gfs2_glock_queue_work(gl, delay); in gfs2_glock_cb()