rhte 441 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte = NULL; rhte 461 drivers/scsi/cxlflash/superpipe.c rhte = &ctxi->rht_start[rhndl]; rhte 462 drivers/scsi/cxlflash/superpipe.c if (unlikely(rhte->nmask == 0)) { rhte 465 drivers/scsi/cxlflash/superpipe.c rhte = NULL; rhte 470 drivers/scsi/cxlflash/superpipe.c return rhte; rhte 485 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte = NULL; rhte 491 drivers/scsi/cxlflash/superpipe.c rhte = &ctxi->rht_start[i]; rhte 496 drivers/scsi/cxlflash/superpipe.c if (likely(rhte)) rhte 499 drivers/scsi/cxlflash/superpipe.c dev_dbg(dev, "%s: returning rhte=%p index=%d\n", __func__, rhte, i); rhte 500 drivers/scsi/cxlflash/superpipe.c return rhte; rhte 509 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte) rhte 511 drivers/scsi/cxlflash/superpipe.c u32 rsrc_handle = rhte - ctxi->rht_start; rhte 513 drivers/scsi/cxlflash/superpipe.c rhte->nmask = 0; rhte 514 drivers/scsi/cxlflash/superpipe.c rhte->fp = 0; rhte 527 drivers/scsi/cxlflash/superpipe.c static void rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm, rhte 536 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry_f1 *rhte_f1 = (struct sisl_rht_entry_f1 *)rhte; rhte 649 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte; rhte 667 drivers/scsi/cxlflash/superpipe.c rhte = get_rhte(ctxi, rhndl, lli); rhte 668 drivers/scsi/cxlflash/superpipe.c if (unlikely(!rhte)) { rhte 699 drivers/scsi/cxlflash/superpipe.c rhte_f1 = (struct sisl_rht_entry_f1 *)rhte; rhte 722 drivers/scsi/cxlflash/superpipe.c rhte_checkin(ctxi, rhte); rhte 786 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte; rhte 796 drivers/scsi/cxlflash/superpipe.c rhte = (struct sisl_rht_entry *)get_zeroed_page(GFP_KERNEL); rhte 797 drivers/scsi/cxlflash/superpipe.c if (unlikely(!rhte)) { rhte 804 drivers/scsi/cxlflash/superpipe.c ctxi->rht_start = rhte; rhte 1846 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte = NULL; rhte 1863 drivers/scsi/cxlflash/superpipe.c rhte = get_rhte(ctxi, rhndl, lli); rhte 1864 drivers/scsi/cxlflash/superpipe.c if (unlikely(!rhte)) { rhte 1899 drivers/scsi/cxlflash/superpipe.c last_lba = ((u64)rhte->lxt_cnt * MC_CHUNK_SIZE * gli->blk_len); rhte 1983 drivers/scsi/cxlflash/superpipe.c struct sisl_rht_entry *rhte = NULL; rhte 2000 drivers/scsi/cxlflash/superpipe.c rhte = rhte_checkout(ctxi, lli); rhte 2001 drivers/scsi/cxlflash/superpipe.c if (unlikely(!rhte)) { rhte 2008 drivers/scsi/cxlflash/superpipe.c rsrc_handle = (rhte - ctxi->rht_start); rhte 2010 drivers/scsi/cxlflash/superpipe.c rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port); rhte 144 drivers/scsi/cxlflash/superpipe.h void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte); rhte 504 drivers/scsi/cxlflash/vlun.c struct sisl_rht_entry *rhte, rhte 516 drivers/scsi/cxlflash/vlun.c u64 delta = *new_size - rhte->lxt_cnt; rhte 538 drivers/scsi/cxlflash/vlun.c lxt_old = rhte->lxt_start; rhte 539 drivers/scsi/cxlflash/vlun.c ngrps_old = LXT_NUM_GROUPS(rhte->lxt_cnt); rhte 540 drivers/scsi/cxlflash/vlun.c ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt + delta); rhte 553 drivers/scsi/cxlflash/vlun.c memcpy(lxt, lxt_old, (sizeof(*lxt) * rhte->lxt_cnt)); rhte 558 drivers/scsi/cxlflash/vlun.c my_new_size = rhte->lxt_cnt + delta; rhte 561 drivers/scsi/cxlflash/vlun.c for (i = rhte->lxt_cnt; i < my_new_size; i++) { rhte 588 drivers/scsi/cxlflash/vlun.c rhte->lxt_start = lxt; rhte 591 drivers/scsi/cxlflash/vlun.c rhte->lxt_cnt = my_new_size; rhte 621 drivers/scsi/cxlflash/vlun.c struct sisl_rht_entry *rhte, rhte 636 drivers/scsi/cxlflash/vlun.c u64 delta = rhte->lxt_cnt - *new_size; rhte 640 drivers/scsi/cxlflash/vlun.c lxt_old = rhte->lxt_start; rhte 641 drivers/scsi/cxlflash/vlun.c ngrps_old = LXT_NUM_GROUPS(rhte->lxt_cnt); rhte 642 drivers/scsi/cxlflash/vlun.c ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt - delta); rhte 656 drivers/scsi/cxlflash/vlun.c (sizeof(*lxt) * (rhte->lxt_cnt - delta))); rhte 663 drivers/scsi/cxlflash/vlun.c my_new_size = rhte->lxt_cnt - delta; rhte 669 drivers/scsi/cxlflash/vlun.c rhte->lxt_cnt = my_new_size; rhte 672 drivers/scsi/cxlflash/vlun.c rhte->lxt_start = lxt; rhte 746 drivers/scsi/cxlflash/vlun.c struct sisl_rht_entry *rhte; rhte 781 drivers/scsi/cxlflash/vlun.c rhte = get_rhte(ctxi, rhndl, lli); rhte 782 drivers/scsi/cxlflash/vlun.c if (unlikely(!rhte)) { rhte 789 drivers/scsi/cxlflash/vlun.c if (new_size > rhte->lxt_cnt) rhte 790 drivers/scsi/cxlflash/vlun.c rc = grow_lxt(afu, sdev, ctxid, rhndl, rhte, &new_size); rhte 791 drivers/scsi/cxlflash/vlun.c else if (new_size < rhte->lxt_cnt) rhte 792 drivers/scsi/cxlflash/vlun.c rc = shrink_lxt(afu, sdev, rhndl, rhte, ctxi, &new_size); rhte 992 drivers/scsi/cxlflash/vlun.c struct sisl_rht_entry *rhte = NULL; rhte 1028 drivers/scsi/cxlflash/vlun.c rhte = rhte_checkout(ctxi, lli); rhte 1029 drivers/scsi/cxlflash/vlun.c if (unlikely(!rhte)) { rhte 1036 drivers/scsi/cxlflash/vlun.c rsrc_handle = (rhte - ctxi->rht_start); rhte 1039 drivers/scsi/cxlflash/vlun.c rhte->nmask = MC_RHT_NMASK; rhte 1040 drivers/scsi/cxlflash/vlun.c rhte->fp = SISL_RHT_FP(0U, ctxi->rht_perms); rhte 1069 drivers/scsi/cxlflash/vlun.c rhte_checkin(ctxi, rhte); rhte 1095 drivers/scsi/cxlflash/vlun.c struct sisl_rht_entry *rhte, rhte 1145 drivers/scsi/cxlflash/vlun.c rhte->lxt_start = lxt; rhte 1148 drivers/scsi/cxlflash/vlun.c rhte->lxt_cnt = rhte_src->lxt_cnt; rhte 1164 drivers/scsi/cxlflash/vlun.c rhte->lxt_cnt = 0; rhte 1166 drivers/scsi/cxlflash/vlun.c rhte->lxt_start = NULL;