Lines Matching refs:target
60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
586 * @target: The target lock state
590 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target)
599 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) &&
604 GLOCK_BUG_ON(gl, gl->gl_state == target);
606 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) &&
618 gl->gl_req = target;
653 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA);
683 (target != LM_ST_UNLOCKED ||
695 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags);
697 target == LM_ST_UNLOCKED &&
699 finish_xmote(gl, target);
706 finish_xmote(gl, target);