Lines Matching refs:gl_target
431 if (new_state != gl->gl_target) in state_change()
469 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
472 if (unlikely(state != gl->gl_target)) { in finish_xmote()
479 gl->gl_target = gh->gh_state; in finish_xmote()
485 gl->gl_target = gl->gl_state; in finish_xmote()
494 do_xmote(gl, gh, gl->gl_target); in finish_xmote()
502 pr_err("wanted %u got %u\n", gl->gl_target, state); in finish_xmote()
555 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()
578 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
641 gl->gl_target = gl->gl_demote_state; in run_queue()
651 gl->gl_target = gh->gh_state; in run_queue()
655 do_xmote(gl, gh, gl->gl_target); in run_queue()
833 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1377 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1801 state2str(gl->gl_target), in gfs2_dump_glock()