Lines Matching refs:copy
209 int copy;
233 /* copy at most to the boundary of the PAGE or len */
234 copy = W1_F2D_SCRATCH_SIZE -
237 if (copy > len)
238 copy = len;
240 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy);
248 copy = W1_F2D_SCRATCH_SIZE;
249 if (w1_f2d_write(sl, addr, copy, buf) < 0) {
254 buf += copy;
255 addr += copy;
256 len -= copy;