Lines Matching defs:last_sge
715 * @last_sge: last outgoing SGE written
718 * If adjacent will update last_sge to add length.
722 static inline bool rvt_sge_adjacent(struct rvt_sge *last_sge,
725 if (last_sge && sge->lkey == last_sge->mr->lkey &&
726 ((uint64_t)(last_sge->vaddr + last_sge->length) == sge->addr)) {
728 if (unlikely((sge->addr - last_sge->mr->user_base +
729 sge->length > last_sge->mr->length)))
732 last_sge->length += sge->length;
734 last_sge->sge_length += sge->length;
735 trace_rvt_sge_adjacent(last_sge, sge);
746 * @last_sge: last outgoing SGE written
758 struct rvt_sge *isge, struct rvt_sge *last_sge,
774 if (rvt_sge_adjacent(last_sge, sge))
791 if (rvt_sge_adjacent(last_sge, sge))