Lines Matching refs:cxlflash_cfg
99 void cxlflash_stop_term_user_contexts(struct cxlflash_cfg *cfg) in cxlflash_stop_term_user_contexts()
132 static struct ctx_info *find_error_context(struct cxlflash_cfg *cfg, u64 rctxid, in find_error_context()
159 struct ctx_info *get_context(struct cxlflash_cfg *cfg, u64 rctxid, in get_context()
265 static int afu_attach(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) in afu_attach()
336 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in read_cap16()
443 struct cxlflash_cfg *cfg = ctxi->cfg; in get_rhte()
487 struct cxlflash_cfg *cfg = ctxi->cfg; in rhte_checkout()
638 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in _cxlflash_disk_release()
755 static void destroy_context(struct cxlflash_cfg *cfg, in destroy_context()
784 static struct ctx_info *create_context(struct cxlflash_cfg *cfg) in create_context()
830 static void init_context(struct ctx_info *ctxi, struct cxlflash_cfg *cfg, in init_context()
862 struct cxlflash_cfg *cfg = ctxi->cfg; in remove_context()
898 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in _cxlflash_disk_detach()
996 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_cxl_release()
1061 static struct page *get_err_page(struct cxlflash_cfg *cfg) in get_err_page()
1111 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_mmap_fault()
1184 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_cxl_mmap()
1238 int cxlflash_mark_contexts_error(struct cxlflash_cfg *cfg) in cxlflash_mark_contexts_error()
1282 int check_state(struct cxlflash_cfg *cfg) in check_state()
1324 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_attach()
1538 static int recover_context(struct cxlflash_cfg *cfg, in recover_context()
1658 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_afu_recover()
1779 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in process_sense()
1846 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_verify()
1968 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_direct_open()
2056 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in ioctl_common()
2103 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_ioctl()