Lines Matching defs:tot_written
398 size_t tot_written = 0;
421 rc = cx18_copy_buf_to_user(s, mdl->curr_buf, ubuf + tot_written,
422 ucount - tot_written, &stop);
426 tot_written += rc;
429 tot_written >= ucount || /* Reader request statisfied */
434 return tot_written;
441 size_t tot_written = 0;
465 if (tot_written)
477 rc = cx18_copy_mdl_to_user(s, mdl, ubuf + tot_written,
478 tot_count - tot_written);
494 tot_written += rc;
496 if (tot_written == tot_count || single_frame)
499 return tot_written;