Lines Matching refs:rhte
441 struct sisl_rht_entry *rhte = NULL;
461 rhte = &ctxi->rht_start[rhndl];
462 if (unlikely(rhte->nmask == 0)) {
465 rhte = NULL;
470 return rhte;
485 struct sisl_rht_entry *rhte = NULL;
491 rhte = &ctxi->rht_start[i];
496 if (likely(rhte))
499 dev_dbg(dev, "%s: returning rhte=%p index=%d\n", __func__, rhte, i);
500 return rhte;
506 * @rhte: RHTE to release.
509 struct sisl_rht_entry *rhte)
511 u32 rsrc_handle = rhte - ctxi->rht_start;
513 rhte->nmask = 0;
514 rhte->fp = 0;
522 * @rhte: RHTE to populate.
527 static void rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm,
536 struct sisl_rht_entry_f1 *rhte_f1 = (struct sisl_rht_entry_f1 *)rhte;
649 struct sisl_rht_entry *rhte;
667 rhte = get_rhte(ctxi, rhndl, lli);
668 if (unlikely(!rhte)) {
699 rhte_f1 = (struct sisl_rht_entry_f1 *)rhte;
722 rhte_checkin(ctxi, rhte);
786 struct sisl_rht_entry *rhte;
796 rhte = (struct sisl_rht_entry *)get_zeroed_page(GFP_KERNEL);
797 if (unlikely(!rhte)) {
804 ctxi->rht_start = rhte;
1845 struct sisl_rht_entry *rhte = NULL;
1862 rhte = get_rhte(ctxi, rhndl, lli);
1863 if (unlikely(!rhte)) {
1898 last_lba = ((u64)rhte->lxt_cnt * MC_CHUNK_SIZE * gli->blk_len);
1982 struct sisl_rht_entry *rhte = NULL;
1999 rhte = rhte_checkout(ctxi, lli);
2000 if (unlikely(!rhte)) {
2007 rsrc_handle = (rhte - ctxi->rht_start);
2009 rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port);