Lines Matching refs:LM_ST_UNLOCKED
206 if (gl->gl_state == LM_ST_UNLOCKED)
362 return gl->gl_state != LM_ST_UNLOCKED;
529 held1 = (gl->gl_state != LM_ST_UNLOCKED);
530 held2 = (new_state != LM_ST_UNLOCKED);
584 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED)
585 gl->gl_target = LM_ST_UNLOCKED;
611 case LM_ST_UNLOCKED:
618 do_xmote(gl, gh, LM_ST_UNLOCKED);
632 if (state != LM_ST_UNLOCKED) {
679 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) &&
686 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) &&
700 if ((gl->gl_req == LM_ST_UNLOCKED) ||
763 (target != LM_ST_UNLOCKED ||
766 handle_callback(gl, LM_ST_UNLOCKED, 0, false); /* sets demote */
773 state_change(gl, LM_ST_UNLOCKED);
790 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED &&
791 target == LM_ST_UNLOCKED &&
1063 gl->gl_state != LM_ST_UNLOCKED &&
1193 gl->gl_state = LM_ST_UNLOCKED;
1194 gl->gl_target = LM_ST_UNLOCKED;
1414 * practise: LM_ST_SHARED and LM_ST_UNLOCKED
1427 } else if (gl->gl_demote_state != LM_ST_UNLOCKED &&
1429 gl->gl_demote_state = LM_ST_UNLOCKED;
1459 if (gh->gh_state == LM_ST_UNLOCKED)
1615 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
1884 if (gl->gl_target == LM_ST_UNLOCKED)
1982 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
2014 (gl->gl_state == LM_ST_UNLOCKED ||
2136 if (gl->gl_state != LM_ST_UNLOCKED)
2137 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
2202 case LM_ST_UNLOCKED:
2377 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump)