Searched refs:tot_written (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 366 size_t tot_written = 0; in cx18_copy_mdl_to_user() local 389 rc = cx18_copy_buf_to_user(s, mdl->curr_buf, ubuf + tot_written, in cx18_copy_mdl_to_user() 390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user() 394 tot_written += rc; in cx18_copy_mdl_to_user() 397 tot_written >= ucount || /* Reader request satisfied */ in cx18_copy_mdl_to_user() 402 return tot_written; in cx18_copy_mdl_to_user() 409 size_t tot_written = 0; in cx18_read() local 433 if (tot_written) in cx18_read() 445 rc = cx18_copy_mdl_to_user(s, mdl, ubuf + tot_written, in cx18_read() 446 tot_count - tot_written); in cx18_read() [all …]
|
/linux/fs/ubifs/ |
H A D | tnc_commit.c | 228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local 230 tot_written = 0; in layout_leb_in_gaps() 282 tot_written += written; in layout_leb_in_gaps() 293 tot_written += written; in layout_leb_in_gaps() 294 if (tot_written == 0) { in layout_leb_in_gaps() 297 dbg_gc("LEB %d wrote %d index nodes", lnum, tot_written); in layout_leb_in_gaps() 321 dbg_gc("LEB %d wrote %d index nodes", lnum, tot_written); in layout_leb_in_gaps() 322 return tot_written; in layout_leb_in_gaps()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 359 size_t tot_written = 0; in ivtv_read() local 382 if (tot_written) in ivtv_read() 393 rc = ivtv_copy_buf_to_user(s, buf, ubuf + tot_written, tot_count - tot_written); in ivtv_read() 405 tot_written += rc; in ivtv_read() 407 if (tot_written == tot_count || single_frame) in ivtv_read() 410 return tot_written; in ivtv_read()
|