Home
last modified time | relevance | path

Searched refs:entry_high (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c165 unsigned long entry_low, entry_high; in concat_writev() local
199 entry_high = entry_low; in concat_writev()
200 while (entry_high < count) { in concat_writev()
201 if (size <= vecs_copy[entry_high].iov_len) in concat_writev()
203 size -= vecs_copy[entry_high++].iov_len; in concat_writev()
206 old_iov_len = vecs_copy[entry_high].iov_len; in concat_writev()
207 vecs_copy[entry_high].iov_len = size; in concat_writev()
210 entry_high - entry_low + 1, to, &retsize); in concat_writev()
212 vecs_copy[entry_high].iov_len = old_iov_len - size; in concat_writev()
213 vecs_copy[entry_high].iov_base += size; in concat_writev()
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdconcat.c190 unsigned long entry_low, entry_high; in concat_writev() local
224 entry_high = entry_low; in concat_writev()
225 while (entry_high < count) { in concat_writev()
226 if (size <= vecs_copy[entry_high].iov_len) in concat_writev()
228 size -= vecs_copy[entry_high++].iov_len; in concat_writev()
231 old_iov_len = vecs_copy[entry_high].iov_len; in concat_writev()
232 vecs_copy[entry_high].iov_len = size; in concat_writev()
235 entry_high - entry_low + 1, to, &retsize); in concat_writev()
237 vecs_copy[entry_high].iov_len = old_iov_len - size; in concat_writev()
238 vecs_copy[entry_high].iov_base += size; in concat_writev()
[all …]