Lines Matching refs:LM_ST_UNLOCKED

174 	if (gl->gl_state == LM_ST_UNLOCKED)  in demote_ok()
296 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
413 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
414 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
463 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
464 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
487 case LM_ST_UNLOCKED: in finish_xmote()
494 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
507 if (state != LM_ST_UNLOCKED) { in finish_xmote()
545 target != LM_ST_UNLOCKED) in do_xmote()
551 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
558 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
573 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
574 target == LM_ST_UNLOCKED && in do_xmote()
701 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
827 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
828 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
970 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
972 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1144 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_glock_dq()
1372 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1468 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
1593 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1594 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
1659 case LM_ST_UNLOCKED: in state2str()
1804 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()