Searched refs:rhte (Results 1 – 3 of 3) sorted by relevance
504 struct sisl_rht_entry *rhte, in grow_lxt() argument516 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->lxt_start = lxt; in grow_lxt()591 rhte->lxt_cnt = my_new_size; in grow_lxt()[all …]
441 struct sisl_rht_entry *rhte = NULL; in get_rhte() local461 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() local491 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, i); in rhte_checkout()500 return rhte; in rhte_checkout()[all …]
144 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);