Searched refs:tot_written (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/hv/ |
D | vmbus_drv.c | 483 int buf_size = PAGE_SIZE, n_written, tot_written; in channel_vp_mapping_show() local 491 tot_written = snprintf(buf, buf_size, "%u:%u\n", in channel_vp_mapping_show() 495 if (tot_written >= buf_size - 1) in channel_vp_mapping_show() 499 n_written = scnprintf(buf + tot_written, in channel_vp_mapping_show() 500 buf_size - tot_written, in channel_vp_mapping_show() 504 tot_written += n_written; in channel_vp_mapping_show() 509 return tot_written; in channel_vp_mapping_show()
|