Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/
Dmtdconcat.c164 struct kvec *vecs_copy; in concat_writev() local
182 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
183 if (!vecs_copy) 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()
209 err = mtd_writev(subdev, &vecs_copy[entry_low], 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 …]