Lines Matching refs:delay
221 static void __gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in __gfs2_glock_queue_work() argument
222 if (!queue_delayed_work(glock_workqueue, &gl->gl_work, delay)) { in __gfs2_glock_queue_work()
234 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work() argument
236 __gfs2_glock_queue_work(gl, delay); in gfs2_glock_queue_work()
696 unsigned long delay = 0; in glock_work_func() local
712 delay = holdtime - now; in glock_work_func()
714 if (!delay) { in glock_work_func()
720 if (delay) { in glock_work_func()
724 delay = 0; in glock_work_func()
725 __gfs2_glock_queue_work(gl, delay); in glock_work_func()
967 unsigned long delay, bool remote) in handle_callback() argument
969 int bit = delay ? GLF_PENDING_DEMOTE : GLF_DEMOTE; in handle_callback()
1144 unsigned delay = 0; in gfs2_glock_dq() local
1175 delay = gl->gl_hold_time; in gfs2_glock_dq()
1176 __gfs2_glock_queue_work(gl, delay); in gfs2_glock_dq()
1338 unsigned long delay = 0; in gfs2_glock_cb() local
1347 delay = holdtime - now; in gfs2_glock_cb()
1349 delay = gl->gl_hold_time; in gfs2_glock_cb()
1353 handle_callback(gl, state, delay, true); in gfs2_glock_cb()
1354 __gfs2_glock_queue_work(gl, delay); in gfs2_glock_cb()