Searched refs:vecs_copy (Results 1 – 2 of 2) sorted by relevance
164 struct kvec *vecs_copy; in concat_writev() local182 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 …]
189 struct kvec *vecs_copy; in concat_writev() local207 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 …]