Lines Matching refs:gl_state
175 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
291 if (gl->gl_state == gh->gh_state) in may_grant()
295 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()
301 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
418 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
435 gl->gl_state = new_state; in state_change()
485 gl->gl_target = gl->gl_state; in finish_xmote()
554 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote()
555 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()
564 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()
634 gl->gl_demote_state != gl->gl_state) { in run_queue()
706 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
832 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1599 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1797 state2str(gl->gl_state), in gfs2_dump_glock()
1810 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()