Lines Matching refs:to_copy
186 size_t to_copy, left;
206 to_copy = min(count, c->cfg->buffer_size - c->mbo_offs);
207 left = copy_from_user(mbo->virt_address + c->mbo_offs, buf, to_copy);
208 if (left == to_copy) {
213 c->mbo_offs += to_copy - left;
223 ret = to_copy - left;
239 size_t to_copy, not_copied, copied;
261 to_copy = min_t(size_t,
267 to_copy);
269 copied = to_copy - not_copied;