Lines Matching refs:LM_ST_UNLOCKED
152 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
265 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
382 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
383 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
432 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
433 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
456 case LM_ST_UNLOCKED: in finish_xmote()
463 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
476 if (state != LM_ST_UNLOCKED) { in finish_xmote()
517 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
524 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
662 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
746 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
747 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
888 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
890 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1063 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_glock_dq()
1291 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1389 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
1517 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1518 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
1582 case LM_ST_UNLOCKED: in state2str()
1727 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()