Lines Matching refs:LM_ST_UNLOCKED

206 	if (gl->gl_state == LM_ST_UNLOCKED)  in demote_ok()
369 return gl->gl_state != LM_ST_UNLOCKED; in may_grant()
599 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
600 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
654 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
655 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
680 case LM_ST_UNLOCKED: in finish_xmote()
687 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
701 if (state != LM_ST_UNLOCKED) { in finish_xmote()
748 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote()
756 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
770 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
833 (target != LM_ST_UNLOCKED || in do_xmote()
836 handle_callback(gl, LM_ST_UNLOCKED, 0, false); /* sets demote */ in do_xmote()
843 state_change(gl, LM_ST_UNLOCKED); in do_xmote()
860 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
861 target == LM_ST_UNLOCKED && in do_xmote()
1069 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
1199 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1200 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1434 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
1436 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1466 if (gh->gh_state == LM_ST_UNLOCKED) in pid_is_meaningful()
1657 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in __gfs2_glock_dq()
1911 .gh_state = (state == LM_ST_UNLOCKED) ? in gfs2_glock_cb()
1940 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
2038 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
2206 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
2207 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
2272 case LM_ST_UNLOCKED: in state2str()
2449 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()