Lines Matching refs:LM_ST_UNLOCKED
120 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
204 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
321 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
322 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
371 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
372 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
395 case LM_ST_UNLOCKED: in finish_xmote()
402 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
415 if (state != LM_ST_UNLOCKED) { in finish_xmote()
456 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
463 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
601 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
687 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
688 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
840 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
842 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1015 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_glock_dq()
1244 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1342 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
1465 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1466 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
1530 case LM_ST_UNLOCKED: in state2str()
1675 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()