Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/cxlflash/
Dsuperpipe.c119 struct ctx_info *ctxi; in find_error_context() local
121 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list) in find_error_context()
122 if ((ctxi->ctxid == rctxid) || (ctxi->file == file)) in find_error_context()
123 return ctxi; in find_error_context()
147 struct ctx_info *ctxi = NULL; in get_context() local
166 ctxi = cfg->ctx_tbl[ctxid]; in get_context()
167 if (ctxi) in get_context()
168 if ((file && (ctxi->file != file)) || in get_context()
169 (!file && (ctxi->ctxid != rctxid))) in get_context()
170 ctxi = NULL; in get_context()
[all …]
Dvlun.c621 struct ctx_info *ctxi, in shrink_lxt() argument
628 ctx_hndl_t ctxid = DECODE_CTXID(ctxi->ctxid); in shrink_lxt()
629 bool needs_ws = ctxi->rht_needs_ws[rhndl]; in shrink_lxt()
630 bool needs_sync = !ctxi->err_recovery_active; in shrink_lxt()
680 ctxi->unavail = true; in shrink_lxt()
681 mutex_unlock(&ctxi->mutex); in shrink_lxt()
700 mutex_lock(&ctxi->mutex); in shrink_lxt()
701 ctxi->unavail = false; in shrink_lxt()
728 struct ctx_info *ctxi, in _cxlflash_vlun_resize() argument
766 if (!ctxi) { in _cxlflash_vlun_resize()
[all …]