Lines Matching refs:rcventry
19 u32 rcventry, struct tid_group *grp,
674 u32 tidinfo = 0, rcventry, useidx = 0; in program_rcvarray() local
707 rcventry = grp->base + useidx; in program_rcvarray()
712 rcventry, grp, pageidx, in program_rcvarray()
718 tidinfo = rcventry2tidinfo(rcventry - uctxt->expected_base) | in program_rcvarray()
735 u32 rcventry, struct tid_group *grp, in set_rcvarray_entry() argument
766 node->rcventry = rcventry; in set_rcvarray_entry()
780 fd->entry_to_rb[node->rcventry - uctxt->expected_base] = node; in set_rcvarray_entry()
782 hfi1_put_tid(dd, rcventry, PT_EXPECTED, phys, ilog2(npages) + 1); in set_rcvarray_entry()
783 trace_hfi1_exp_tid_reg(uctxt->ctxt, fd->subctxt, rcventry, npages, in set_rcvarray_entry()
790 node->rcventry, node->notifier.interval_tree.start, in set_rcvarray_entry()
804 u32 tididx = EXP_TID_GET(tidinfo, IDX) << 1, rcventry; in unprogram_rcvarray() local
815 rcventry = tididx + (tidctrl - 1); in unprogram_rcvarray()
817 node = fd->entry_to_rb[rcventry]; in unprogram_rcvarray()
818 if (!node || node->rcventry != (uctxt->expected_base + rcventry)) in unprogram_rcvarray()
838 trace_hfi1_exp_tid_unreg(uctxt->ctxt, fd->subctxt, node->rcventry, in __clear_tid_node()
844 hfi1_put_tid(dd, node->rcventry, PT_INVALID_FLUSH, 0, 0); in __clear_tid_node()
858 node->grp->map &= ~(1 << (node->rcventry - node->grp->base)); in clear_tid_node()
885 u16 rcventry = grp->base + i; in unlock_exp_tids() local
888 node = fd->entry_to_rb[rcventry - in unlock_exp_tids()
890 if (!node || node->rcventry != rcventry) in unlock_exp_tids()
920 node->rcventry, node->npages, node->dma_addr); in tid_rb_invalidate()
928 rcventry2tidinfo(node->rcventry - uctxt->expected_base); in tid_rb_invalidate()
975 fdata->entry_to_rb[tnode->rcventry - base] = NULL; in cacheless_tid_rb_remove()