Lines Matching refs:length
21 size_t length;
35 size_t length;
70 u32 sge_length; /* length of the SGE */
71 u32 length; /* remaining length of the segment */
102 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length)
104 u32 len = sge->length;
106 if (len > length)
107 len = length;
114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length,
119 sge->vaddr += length;
120 sge->length -= length;
121 sge->sge_length -= length;
127 } else if (sge->length == 0 && sge->mr->lkey) {
134 sge->length = sge->mr->map[sge->m]->segs[sge->n].length;
138 static inline void rvt_skip_sge(struct rvt_sge_state *ss, u32 length,
143 while (length) {
144 u32 len = rvt_get_sge_length(sge, length);
148 length -= len;