Lines Matching refs:rhte
440 struct sisl_rht_entry *rhte = NULL;
460 rhte = &ctxi->rht_start[rhndl];
461 if (unlikely(rhte->nmask == 0)) {
464 rhte = NULL;
469 return rhte;
484 struct sisl_rht_entry *rhte = NULL;
490 rhte = &ctxi->rht_start[i];
495 if (likely(rhte))
498 dev_dbg(dev, "%s: returning rhte=%p index=%d\n", __func__, rhte, i);
499 return rhte;
505 * @rhte: RHTE to release.
508 struct sisl_rht_entry *rhte)
510 u32 rsrc_handle = rhte - ctxi->rht_start;
512 rhte->nmask = 0;
513 rhte->fp = 0;
521 * @rhte: RHTE to populate.
526 static void rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm,
535 struct sisl_rht_entry_f1 *rhte_f1 = (struct sisl_rht_entry_f1 *)rhte;
648 struct sisl_rht_entry *rhte;
666 rhte = get_rhte(ctxi, rhndl, lli);
667 if (unlikely(!rhte)) {
698 rhte_f1 = (struct sisl_rht_entry_f1 *)rhte;
721 rhte_checkin(ctxi, rhte);
785 struct sisl_rht_entry *rhte;
795 rhte = (struct sisl_rht_entry *)get_zeroed_page(GFP_KERNEL);
796 if (unlikely(!rhte)) {
803 ctxi->rht_start = rhte;
1844 struct sisl_rht_entry *rhte = NULL;
1861 rhte = get_rhte(ctxi, rhndl, lli);
1862 if (unlikely(!rhte)) {
1897 last_lba = ((u64)rhte->lxt_cnt * MC_CHUNK_SIZE * gli->blk_len);
1981 struct sisl_rht_entry *rhte = NULL;
1998 rhte = rhte_checkout(ctxi, lli);
1999 if (unlikely(!rhte)) {
2006 rsrc_handle = (rhte - ctxi->rht_start);
2008 rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port);