Searched refs:tot_written (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/media/pci/cx18/ |
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-6.1.9/fs/ubifs/ |
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.1.9/drivers/media/pci/ivtv/ |
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.1.9/drivers/hv/ |
D | vmbus_drv.c | 523 int buf_size = PAGE_SIZE, n_written, tot_written; in channel_vp_mapping_show() local 531 tot_written = snprintf(buf, buf_size, "%u:%u\n", in channel_vp_mapping_show() 535 if (tot_written >= buf_size - 1) in channel_vp_mapping_show() 539 n_written = scnprintf(buf + tot_written, in channel_vp_mapping_show() 540 buf_size - tot_written, in channel_vp_mapping_show() 544 tot_written += n_written; in channel_vp_mapping_show() 549 return tot_written; in channel_vp_mapping_show()
|