Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/cxlflash/
Dsuperpipe.c135 struct ctx_info *ctxi; in find_error_context() local
137 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list) in find_error_context()
138 if ((ctxi->ctxid == rctxid) || (ctxi->file == file)) in find_error_context()
139 return ctxi; in find_error_context()
163 struct ctx_info *ctxi = NULL; in get_context() local
182 ctxi = cfg->ctx_tbl[ctxid]; in get_context()
183 if (ctxi) in get_context()
184 if ((file && (ctxi->file != file)) || in get_context()
185 (!file && (ctxi->ctxid != rctxid))) in get_context()
186 ctxi = NULL; in get_context()
[all …]
Dsuperpipe.h123 int _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi,
128 int _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi,
141 void put_context(struct ctx_info *ctxi);
143 struct sisl_rht_entry *get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl,
146 struct sisl_rht_entry *rhte_checkout(struct ctx_info *ctxi,
148 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);
Dvlun.c626 struct ctx_info *ctxi, in shrink_lxt() argument
635 ctx_hndl_t ctxid = DECODE_CTXID(ctxi->ctxid); in shrink_lxt()
636 bool needs_ws = ctxi->rht_needs_ws[rhndl]; in shrink_lxt()
637 bool needs_sync = !ctxi->err_recovery_active; in shrink_lxt()
690 ctxi->unavail = true; in shrink_lxt()
691 mutex_unlock(&ctxi->mutex); in shrink_lxt()
706 mutex_lock(&ctxi->mutex); in shrink_lxt()
707 ctxi->unavail = false; in shrink_lxt()
734 struct ctx_info *ctxi, in _cxlflash_vlun_resize() argument
773 if (!ctxi) { in _cxlflash_vlun_resize()
[all …]