/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | vlun.c | 489 * @rhte: Resource handle entry (RHTE). 504 struct sisl_rht_entry *rhte, in grow_lxt() 516 u64 delta = *new_size - rhte->lxt_cnt; in grow_lxt() 538 lxt_old = rhte->lxt_start; in grow_lxt() 539 ngrps_old = LXT_NUM_GROUPS(rhte->lxt_cnt); in grow_lxt() 540 ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt + delta); in grow_lxt() 553 memcpy(lxt, lxt_old, (sizeof(*lxt) * rhte->lxt_cnt)); in grow_lxt() 558 my_new_size = rhte->lxt_cnt + delta; in grow_lxt() 561 for (i = rhte->lxt_cnt; i < my_new_size; i++) { in grow_lxt() 588 rhte in grow_lxt() 500 grow_lxt(struct afu *afu, struct scsi_device *sdev, ctx_hndl_t ctxid, res_hndl_t rhndl, struct sisl_rht_entry *rhte, u64 *new_size) grow_lxt() argument 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 746 struct sisl_rht_entry *rhte; _cxlflash_vlun_resize() local 992 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_virtual_open() local 1091 clone_lxt(struct afu *afu, struct blka *blka, ctx_hndl_t ctxid, res_hndl_t rhndl, struct sisl_rht_entry *rhte, struct sisl_rht_entry *rhte_src) clone_lxt() argument [all...] |
H A D | superpipe.c | 440 struct sisl_rht_entry *rhte = NULL; in get_rhte() local 460 rhte = &ctxi->rht_start[rhndl]; in get_rhte() 461 if (unlikely(rhte->nmask == 0)) { in get_rhte() 464 rhte = NULL; in get_rhte() 469 return rhte; in get_rhte() 484 struct sisl_rht_entry *rhte = NULL; in rhte_checkout() local 490 rhte = &ctxi->rht_start[i]; in rhte_checkout() 495 if (likely(rhte)) in rhte_checkout() 498 dev_dbg(dev, "%s: returning rhte=%p index=%d\n", __func__, rhte, in rhte_checkout() 507 rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte) rhte_checkin() argument 526 rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm, u32 port_sel) rht_format1() argument 648 struct sisl_rht_entry *rhte; _cxlflash_disk_release() local 785 struct sisl_rht_entry *rhte; create_context() local 1844 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_verify() local 1981 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_direct_open() local [all...] |
H A D | superpipe.h | 144 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);
|
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | vlun.c | 489 * @rhte: Resource handle entry (RHTE). 504 struct sisl_rht_entry *rhte, in grow_lxt() 516 u64 delta = *new_size - rhte->lxt_cnt; in grow_lxt() 538 lxt_old = rhte->lxt_start; in grow_lxt() 539 ngrps_old = LXT_NUM_GROUPS(rhte->lxt_cnt); in grow_lxt() 540 ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt + delta); in grow_lxt() 553 memcpy(lxt, lxt_old, (sizeof(*lxt) * rhte->lxt_cnt)); in grow_lxt() 558 my_new_size = rhte->lxt_cnt + delta; in grow_lxt() 561 for (i = rhte->lxt_cnt; i < my_new_size; i++) { in grow_lxt() 588 rhte in grow_lxt() 500 grow_lxt(struct afu *afu, struct scsi_device *sdev, ctx_hndl_t ctxid, res_hndl_t rhndl, struct sisl_rht_entry *rhte, u64 *new_size) grow_lxt() argument 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 746 struct sisl_rht_entry *rhte; _cxlflash_vlun_resize() local 992 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_virtual_open() local 1091 clone_lxt(struct afu *afu, struct blka *blka, ctx_hndl_t ctxid, res_hndl_t rhndl, struct sisl_rht_entry *rhte, struct sisl_rht_entry *rhte_src) clone_lxt() argument [all...] |
H A D | superpipe.c | 441 struct sisl_rht_entry *rhte = NULL; in get_rhte() local 461 rhte = &ctxi->rht_start[rhndl]; in get_rhte() 462 if (unlikely(rhte->nmask == 0)) { in get_rhte() 465 rhte = NULL; in get_rhte() 470 return rhte; in get_rhte() 485 struct sisl_rht_entry *rhte = NULL; in rhte_checkout() local 491 rhte = &ctxi->rht_start[i]; in rhte_checkout() 496 if (likely(rhte)) in rhte_checkout() 499 dev_dbg(dev, "%s: returning rhte=%p index=%d\n", __func__, rhte, in rhte_checkout() 508 rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte) rhte_checkin() argument 527 rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm, u32 port_sel) rht_format1() argument 649 struct sisl_rht_entry *rhte; _cxlflash_disk_release() local 786 struct sisl_rht_entry *rhte; create_context() local 1845 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_verify() local 1982 struct sisl_rht_entry *rhte = NULL; cxlflash_disk_direct_open() local [all...] |
H A D | superpipe.h | 144 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);
|