Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 2 of 2) sorted by relevance

/block/
Dbsg.c618 size_t count, ssize_t *bytes_written, in __bsg_write() argument
662 *bytes_written += sizeof(struct sg_io_v4); in __bsg_write()
675 ssize_t bytes_written; in bsg_write() local
685 bytes_written = 0; in bsg_write()
686 ret = __bsg_write(bd, buf, count, &bytes_written, in bsg_write()
689 *ppos = bytes_written; in bsg_write()
694 if (!bytes_written || err_block_err(ret)) in bsg_write()
695 bytes_written = ret; in bsg_write()
697 dprintk("%s: returning %Zd\n", bd->name, bytes_written); in bsg_write()
698 return bytes_written; in bsg_write()
Dblk-core.c3343 int bytes_written = 0; in blk_latency_hist_show() local
3351 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3352 buf_size - bytes_written, in blk_latency_hist_show()
3360 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3361 PAGE_SIZE - bytes_written, in blk_latency_hist_show()
3369 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3370 PAGE_SIZE - bytes_written, in blk_latency_hist_show()
3375 return bytes_written; in blk_latency_hist_show()