/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 131 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 in get_context() 245 put_context(struct ctx_info *ctxi) put_context() argument 261 afu_attach(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) afu_attach() argument 435 get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl, struct llun_info *lli) get_rhte() argument 479 rhte_checkout(struct ctx_info *ctxi, struct llun_info *lli) rhte_checkout() argument 507 rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte) rhte_checkin() argument 629 _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_release *release) _cxlflash_disk_release() argument 750 destroy_context(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) destroy_context() argument 782 struct ctx_info *ctxi = NULL; create_context() local 825 init_context(struct ctx_info *ctxi, struct cxlflash_cfg *cfg, void *ctx, int ctxid, struct file *file, u32 perms, u64 irqs) init_context() argument 856 struct ctx_info *ctxi = container_of(kref, struct ctx_info, kref); remove_context() local 889 _cxlflash_disk_detach(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_detach *detach) _cxlflash_disk_detach() argument 995 struct ctx_info *ctxi = NULL; cxlflash_cxl_release() local 1045 unmap_context(struct ctx_info *ctxi) unmap_context() argument 1110 struct ctx_info *ctxi = NULL; cxlflash_mmap_fault() local 1183 struct ctx_info *ctxi = NULL; cxlflash_cxl_mmap() local 1236 struct ctx_info *ctxi = NULL; cxlflash_mark_contexts_error() local 1324 struct ctx_info *ctxi = NULL; cxlflash_disk_attach() local 1533 recover_context(struct cxlflash_cfg *cfg, struct ctx_info *ctxi, int *adap_fd) recover_context() argument 1657 struct ctx_info *ctxi = NULL; cxlflash_afu_recover() local 1839 struct ctx_info *ctxi = NULL; cxlflash_disk_verify() local 1980 struct ctx_info *ctxi = NULL; cxlflash_disk_direct_open() local [all...] |
H A D | superpipe.h | 119 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);
|
H A D | vlun.c | 613 * @ctxi: Context owning resources. 622 struct ctx_info *ctxi, in shrink_lxt() 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() 718 * @ctxi 618 shrink_lxt(struct afu *afu, struct scsi_device *sdev, res_hndl_t rhndl, struct sisl_rht_entry *rhte, struct ctx_info *ctxi, u64 *new_size) shrink_lxt() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 991 struct ctx_info *ctxi = NULL; cxlflash_disk_virtual_open() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 131 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 in get_context() 245 put_context(struct ctx_info *ctxi) put_context() argument 261 afu_attach(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) afu_attach() argument 436 get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl, struct llun_info *lli) get_rhte() argument 480 rhte_checkout(struct ctx_info *ctxi, struct llun_info *lli) rhte_checkout() argument 508 rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte) rhte_checkin() argument 630 _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_release *release) _cxlflash_disk_release() argument 751 destroy_context(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) destroy_context() argument 783 struct ctx_info *ctxi = NULL; create_context() local 826 init_context(struct ctx_info *ctxi, struct cxlflash_cfg *cfg, void *ctx, int ctxid, struct file *file, u32 perms, u64 irqs) init_context() argument 857 struct ctx_info *ctxi = container_of(kref, struct ctx_info, kref); remove_context() local 890 _cxlflash_disk_detach(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_detach *detach) _cxlflash_disk_detach() argument 996 struct ctx_info *ctxi = NULL; cxlflash_cxl_release() local 1046 unmap_context(struct ctx_info *ctxi) unmap_context() argument 1111 struct ctx_info *ctxi = NULL; cxlflash_mmap_fault() local 1184 struct ctx_info *ctxi = NULL; cxlflash_cxl_mmap() local 1237 struct ctx_info *ctxi = NULL; cxlflash_mark_contexts_error() local 1325 struct ctx_info *ctxi = NULL; cxlflash_disk_attach() local 1534 recover_context(struct cxlflash_cfg *cfg, struct ctx_info *ctxi, int *adap_fd) recover_context() argument 1658 struct ctx_info *ctxi = NULL; cxlflash_afu_recover() local 1840 struct ctx_info *ctxi = NULL; cxlflash_disk_verify() local 1981 struct ctx_info *ctxi = NULL; cxlflash_disk_direct_open() local [all...] |
H A D | superpipe.h | 119 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);
|
H A D | vlun.c | 613 * @ctxi: Context owning resources. 622 struct ctx_info *ctxi, in shrink_lxt() 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() 718 * @ctxi 618 shrink_lxt(struct afu *afu, struct scsi_device *sdev, res_hndl_t rhndl, struct sisl_rht_entry *rhte, struct ctx_info *ctxi, u64 *new_size) shrink_lxt() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 991 struct ctx_info *ctxi = NULL; cxlflash_disk_virtual_open() local [all...] |