Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/
Dmtdconcat.c189 struct kvec *vecs_copy; in concat_writev() local
207 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
208 if (!vecs_copy) 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()
234 err = mtd_writev(subdev, &vecs_copy[entry_low], 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 …]