Lines Matching refs:LM_ST_UNLOCKED
198 if (gl->gl_state == LM_ST_UNLOCKED)
329 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY))
451 held1 = (gl->gl_state != LM_ST_UNLOCKED);
452 held2 = (new_state != LM_ST_UNLOCKED);
507 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED)
508 gl->gl_target = LM_ST_UNLOCKED;
531 case LM_ST_UNLOCKED:
538 do_xmote(gl, gh, LM_ST_UNLOCKED);
552 if (state != LM_ST_UNLOCKED) {
599 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) &&
606 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) &&
620 if ((gl->gl_req == LM_ST_UNLOCKED) ||
683 (target != LM_ST_UNLOCKED ||
696 if (ret == -EINVAL && gl->gl_target == LM_ST_UNLOCKED &&
697 target == LM_ST_UNLOCKED &&
931 gl->gl_state != LM_ST_UNLOCKED &&
1058 gl->gl_state = LM_ST_UNLOCKED;
1059 gl->gl_target = LM_ST_UNLOCKED;
1283 * practise: LM_ST_SHARED and LM_ST_UNLOCKED
1296 } else if (gl->gl_demote_state != LM_ST_UNLOCKED &&
1298 gl->gl_demote_state = LM_ST_UNLOCKED;
1485 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
1704 if (gl->gl_target == LM_ST_UNLOCKED)
1802 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
1970 if (gl->gl_state != LM_ST_UNLOCKED)
1971 handle_callback(gl, LM_ST_UNLOCKED, 0, false);
2037 case LM_ST_UNLOCKED:
2203 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump)