Lines Matching refs:copy
208 int copy;
232 /* copy at most to the boundary of the PAGE or len */
233 copy = W1_F0D_SCRATCH_SIZE -
236 if (copy > len)
237 copy = len;
239 memcpy(&tmp[addr & W1_F0D_SCRATCH_MASK], buf, copy);
247 copy = W1_F0D_SCRATCH_SIZE;
248 if (w1_f0d_write(sl, addr, copy, buf) < 0) {
253 buf += copy;
254 addr += copy;
255 len -= copy;