Lines Matching refs:LM_ST_UNLOCKED
198 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
329 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
451 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
452 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
507 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
508 gl->gl_target = LM_ST_UNLOCKED; in finish_xmote()
531 case LM_ST_UNLOCKED: in finish_xmote()
538 do_xmote(gl, gh, LM_ST_UNLOCKED); in finish_xmote()
552 if (state != LM_ST_UNLOCKED) { in finish_xmote()
599 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote()
606 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote()
620 if ((gl->gl_req == LM_ST_UNLOCKED) || in do_xmote()
683 (target != LM_ST_UNLOCKED || in do_xmote()
696 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED && in do_xmote()
697 target == LM_ST_UNLOCKED && in do_xmote()
931 gl->gl_state != LM_ST_UNLOCKED && in glock_work_func()
1058 gl->gl_state = LM_ST_UNLOCKED; in gfs2_glock_get()
1059 gl->gl_target = LM_ST_UNLOCKED; in gfs2_glock_get()
1296 } else if (gl->gl_demote_state != LM_ST_UNLOCKED && in handle_callback()
1298 gl->gl_demote_state = LM_ST_UNLOCKED; in handle_callback()
1485 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_glock_dq()
1704 if (gl->gl_target == LM_ST_UNLOCKED) in gfs2_should_freeze()
1801 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in gfs2_dispose_glock_lru()
1969 if (gl->gl_state != LM_ST_UNLOCKED) in clear_glock()
1970 handle_callback(gl, LM_ST_UNLOCKED, 0, false); in clear_glock()
2036 case LM_ST_UNLOCKED: in state2str()
2202 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()