Home
last modified time | relevance | path

Searched refs:ctxi (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/scsi/cxlflash/
Dsuperpipe.c131 struct ctx_info *ctxi; in find_error_context() local
133 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list) in find_error_context()
134 if ((ctxi->ctxid == rctxid) || (ctxi->file == file)) in find_error_context()
135 return ctxi; in find_error_context()
159 struct ctx_info *ctxi = NULL; in get_context() local
178 ctxi = cfg->ctx_tbl[ctxid]; in get_context()
179 if (ctxi) in get_context()
180 if ((file && (ctxi->file != file)) || in get_context()
181 (!file && (ctxi->ctxid != rctxid))) in get_context()
182 ctxi = NULL; in get_context()
[all …]
Dsuperpipe.h119 int _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi,
124 int _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi,
137 void put_context(struct ctx_info *ctxi);
139 struct sisl_rht_entry *get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl,
142 struct sisl_rht_entry *rhte_checkout(struct ctx_info *ctxi,
144 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);
Dvlun.c622 struct ctx_info *ctxi, in shrink_lxt() argument
631 ctx_hndl_t ctxid = DECODE_CTXID(ctxi->ctxid); in shrink_lxt()
632 bool needs_ws = ctxi->rht_needs_ws[rhndl]; in shrink_lxt()
633 bool needs_sync = !ctxi->err_recovery_active; in shrink_lxt()
686 ctxi->unavail = true; in shrink_lxt()
687 mutex_unlock(&ctxi->mutex); in shrink_lxt()
702 mutex_lock(&ctxi->mutex); in shrink_lxt()
703 ctxi->unavail = false; in shrink_lxt()
730 struct ctx_info *ctxi, in _cxlflash_vlun_resize() argument
769 if (!ctxi) { in _cxlflash_vlun_resize()
[all …]