Lines Matching refs:LM_ST_UNLOCKED

175 	if (gl->gl_state == LM_ST_UNLOCKED)  in demote_ok()
301 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
418 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
419 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
468 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
469 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
492 case LM_ST_UNLOCKED: in finish_xmote()
499 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
512 if (state != LM_ST_UNLOCKED) { in finish_xmote()
550 target != LM_ST_UNLOCKED) in do_xmote()
556 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
563 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
578 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
579 target == LM_ST_UNLOCKED && in do_xmote()
706 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
832 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
833 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
976 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
978 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1150 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_glock_dq()
1377 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1474 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
1599 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1600 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
1665 case LM_ST_UNLOCKED: in state2str()
1810 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()