Lines Matching defs:tocopy
3228 int tocopy;
3254 tocopy = min(folio_size(folio) - offset, toread);
3269 memcpy_from_folio(data, folio, offset, tocopy);
3272 toread -= tocopy;
3273 data += tocopy;
3274 off += tocopy;
3291 int tocopy;
3294 tocopy = min_t(unsigned long, sb->s_blocksize - offset,
3297 err = a_ops->write_begin(NULL, mapping, off, tocopy,
3308 memcpy_to_folio(folio, offset_in_folio(folio, off), data, tocopy);
3310 a_ops->write_end(NULL, mapping, off, tocopy, tocopy,
3313 towrite -= tocopy;
3314 off += tocopy;
3315 data += tocopy;