Lines Matching refs:LM_ST_UNLOCKED

285 	if (gl->gl_state != LM_ST_UNLOCKED) {  in __gfs2_glock_put_or_lock()
376 return gl->gl_state != LM_ST_UNLOCKED; in may_grant()
602 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
603 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
629 case LM_ST_UNLOCKED: in finish_xmote()
636 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
649 if (state != LM_ST_UNLOCKED) { in finish_xmote()
696 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote()
703 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
717 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
785 (target != LM_ST_UNLOCKED || in do_xmote()
788 request_demote(gl, LM_ST_UNLOCKED, 0, false); in do_xmote()
795 state_change(gl, LM_ST_UNLOCKED); in do_xmote()
814 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
815 target == LM_ST_UNLOCKED && in do_xmote()
1092 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
1118 if (gl->gl_state == LM_ST_UNLOCKED) { in glock_work_func()
1223 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1224 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1453 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in request_demote()
1455 gl->gl_demote_state = LM_ST_UNLOCKED; in request_demote()
1485 if (gh->gh_state == LM_ST_UNLOCKED) in pid_is_meaningful()
1657 request_demote(gl, LM_ST_UNLOCKED, 0, false); in __gfs2_glock_dq()
1925 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
2033 if (gl->gl_state != LM_ST_UNLOCKED) in gfs2_dispose_glock_lru()
2034 request_demote(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
2177 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
2178 request_demote(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
2260 case LM_ST_UNLOCKED: in state2str()
2435 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()