Searched refs:tot_written (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/media/pci/cx18/
H A Dcx18-fileops.c366 size_t tot_written = 0; local
389 rc = cx18_copy_buf_to_user(s, mdl->curr_buf, ubuf + tot_written,
390 ucount - tot_written, &stop);
394 tot_written += rc;
397 tot_written >= ucount || /* Reader request satisfied */
402 return tot_written;
409 size_t tot_written = 0; local
433 if (tot_written)
445 rc = cx18_copy_mdl_to_user(s, mdl, ubuf + tot_written,
446 tot_count - tot_written);
[all...]
/linux-master/fs/ubifs/
H A Dtnc_commit.c228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; local
230 tot_written = 0;
282 tot_written += written;
293 tot_written += written;
294 if (tot_written == 0) {
297 dbg_gc("LEB %d wrote %d index nodes", lnum, tot_written);
321 dbg_gc("LEB %d wrote %d index nodes", lnum, tot_written);
322 return tot_written;
/linux-master/drivers/media/pci/ivtv/
H A Divtv-fileops.c349 size_t tot_written = 0; local
372 if (tot_written)
383 rc = ivtv_copy_buf_to_user(s, buf, ubuf + tot_written, tot_count - tot_written);
395 tot_written += rc;
397 if (tot_written == tot_count || single_frame)
400 return tot_written;

Completed in 148 milliseconds