Searched refs:tot_written (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-fileops.c | 366 size_t tot_written = 0; in cx18_copy_mdl_to_user() local 390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user() 394 tot_written += rc; 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() 462 tot_written += rc; in cx18_read() 464 if (tot_written == tot_count || single_frame) in cx18_read() [all …]
|
/linux-6.3-rc2/fs/ubifs/ |
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-6.3-rc2/drivers/media/pci/ivtv/ |
A D | ivtv-fileops.c | 349 size_t tot_written = 0; in ivtv_read() local 372 if (tot_written) in ivtv_read() 383 rc = ivtv_copy_buf_to_user(s, buf, ubuf + tot_written, tot_count - tot_written); in ivtv_read() 395 tot_written += rc; in ivtv_read() 397 if (tot_written == tot_count || single_frame) in ivtv_read() 400 return tot_written; in ivtv_read()
|
/linux-6.3-rc2/drivers/hv/ |
A D | vmbus_drv.c | 544 int buf_size = PAGE_SIZE, n_written, tot_written; in channel_vp_mapping_show() local 552 tot_written = snprintf(buf, buf_size, "%u:%u\n", in channel_vp_mapping_show() 556 if (tot_written >= buf_size - 1) in channel_vp_mapping_show() 560 n_written = scnprintf(buf + tot_written, in channel_vp_mapping_show() 561 buf_size - tot_written, in channel_vp_mapping_show() 565 tot_written += n_written; in channel_vp_mapping_show() 570 return tot_written; in channel_vp_mapping_show()
|
Completed in 13 milliseconds