Lines Matching refs:cxlflash_cfg
95 void cxlflash_stop_term_user_contexts(struct cxlflash_cfg *cfg) in cxlflash_stop_term_user_contexts()
128 static struct ctx_info *find_error_context(struct cxlflash_cfg *cfg, u64 rctxid, in find_error_context()
155 struct ctx_info *get_context(struct cxlflash_cfg *cfg, u64 rctxid, in get_context()
261 static int afu_attach(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) in afu_attach()
332 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in read_cap16()
438 struct cxlflash_cfg *cfg = ctxi->cfg; in get_rhte()
482 struct cxlflash_cfg *cfg = ctxi->cfg; in rhte_checkout()
633 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in _cxlflash_disk_release()
750 static void destroy_context(struct cxlflash_cfg *cfg, in destroy_context()
779 static struct ctx_info *create_context(struct cxlflash_cfg *cfg) in create_context()
825 static void init_context(struct ctx_info *ctxi, struct cxlflash_cfg *cfg, in init_context()
857 struct cxlflash_cfg *cfg = ctxi->cfg; in remove_context()
893 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in _cxlflash_disk_detach()
991 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_cxl_release()
1056 static struct page *get_err_page(struct cxlflash_cfg *cfg) in get_err_page()
1106 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_mmap_fault()
1179 struct cxlflash_cfg *cfg = container_of(file->f_op, struct cxlflash_cfg, in cxlflash_cxl_mmap()
1233 int cxlflash_mark_contexts_error(struct cxlflash_cfg *cfg) in cxlflash_mark_contexts_error()
1277 int check_state(struct cxlflash_cfg *cfg) in check_state()
1319 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_attach()
1533 static int recover_context(struct cxlflash_cfg *cfg, in recover_context()
1653 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_afu_recover()
1774 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in process_sense()
1840 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_verify()
1962 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_disk_direct_open()
2050 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in ioctl_common()
2097 struct cxlflash_cfg *cfg = shost_priv(sdev->host); in cxlflash_ioctl()