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