Lines Matching refs:LM_ST_UNLOCKED

199 	if (gl->gl_state == LM_ST_UNLOCKED)  in demote_ok()
365 return gl->gl_state != LM_ST_UNLOCKED; in may_grant()
614 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
615 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
670 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
671 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
694 case LM_ST_UNLOCKED: in finish_xmote()
701 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
715 if (state != LM_ST_UNLOCKED) { in finish_xmote()
762 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote()
769 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
783 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
846 (target != LM_ST_UNLOCKED || in do_xmote()
859 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
860 target == LM_ST_UNLOCKED && in do_xmote()
1071 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
1198 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1199 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1438 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
1440 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1644 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in __gfs2_glock_dq()
1894 .gh_state = (state == LM_ST_UNLOCKED) ? in gfs2_glock_cb()
1923 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
2021 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
2189 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
2190 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
2255 case LM_ST_UNLOCKED: in state2str()
2427 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()