Lines Matching defs:copy
211 int copy;
235 /* copy at most to the boundary of the PAGE or len */
236 copy = W1_F2D_SCRATCH_SIZE -
239 if (copy > len)
240 copy = len;
242 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy);
250 copy = W1_F2D_SCRATCH_SIZE;
251 if (w1_f2d_write(sl, addr, copy, buf) < 0) {
256 buf += copy;
257 addr += copy;
258 len -= copy;