Lines Matching refs:LM_ST_UNLOCKED
206 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
362 return gl->gl_state != LM_ST_UNLOCKED; in may_grant()
529 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
530 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
584 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
585 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
610 case LM_ST_UNLOCKED: in finish_xmote()
617 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
631 if (state != LM_ST_UNLOCKED) { in finish_xmote()
678 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote()
686 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
700 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
763 (target != LM_ST_UNLOCKED || in do_xmote()
766 handle_callback(gl, LM_ST_UNLOCKED, 0, false); /* sets demote */ in do_xmote()
773 state_change(gl, LM_ST_UNLOCKED); in do_xmote()
790 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
791 target == LM_ST_UNLOCKED && in do_xmote()
1063 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
1193 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1194 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1427 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
1429 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1459 if (gh->gh_state == LM_ST_UNLOCKED) in pid_is_meaningful()
1622 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in __gfs2_glock_dq()
1891 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1989 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
2141 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
2142 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
2207 case LM_ST_UNLOCKED: in state2str()
2384 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()