Lines Matching defs:ctxi
613 * @ctxi: Context owning resources.
622 struct ctx_info *ctxi,
631 ctx_hndl_t ctxid = DECODE_CTXID(ctxi->ctxid);
632 bool needs_ws = ctxi->rht_needs_ws[rhndl];
633 bool needs_sync = !ctxi->err_recovery_active;
686 ctxi->unavail = true;
687 mutex_unlock(&ctxi->mutex);
702 mutex_lock(&ctxi->mutex);
703 ctxi->unavail = false;
718 * @ctxi: Context owning resources.
730 struct ctx_info *ctxi,
769 if (!ctxi) {
770 ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK);
771 if (unlikely(!ctxi)) {
781 rhte = get_rhte(ctxi, rhndl, lli);
792 rc = shrink_lxt(afu, sdev, rhndl, rhte, ctxi, &new_size);
816 put_context(ctxi);
991 struct ctx_info *ctxi = NULL;
1021 ctxi = get_context(cfg, rctxid, lli, 0);
1022 if (unlikely(!ctxi)) {
1028 rhte = rhte_checkout(ctxi, lli);
1036 rsrc_handle = (rhte - ctxi->rht_start);
1040 rhte->fp = SISL_RHT_FP(0U, ctxi->rht_perms);
1045 rc = _cxlflash_vlun_resize(sdev, ctxi, &resize);
1053 ctxi->rht_needs_ws[rsrc_handle] = true;
1062 if (likely(ctxi))
1063 put_context(ctxi);
1069 rhte_checkin(ctxi, rhte);