Home
last modified time | relevance | path

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

/block/
Dbsg.c596 size_t count, ssize_t *bytes_written, in __bsg_write() argument
640 *bytes_written += sizeof(struct sg_io_v4); in __bsg_write()
653 ssize_t bytes_written; in bsg_write() local
663 bytes_written = 0; in bsg_write()
664 ret = __bsg_write(bd, buf, count, &bytes_written, in bsg_write()
667 *ppos = bytes_written; in bsg_write()
672 if (!bytes_written || err_block_err(ret)) in bsg_write()
673 bytes_written = ret; in bsg_write()
675 dprintk("%s: returning %Zd\n", bd->name, bytes_written); in bsg_write()
676 return bytes_written; in bsg_write()
Dblk-core.c3582 int bytes_written = 0; in blk_latency_hist_show() local
3590 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3591 buf_size - bytes_written, in blk_latency_hist_show()
3599 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3600 PAGE_SIZE - bytes_written, in blk_latency_hist_show()
3608 bytes_written += scnprintf(buf + bytes_written, in blk_latency_hist_show()
3609 PAGE_SIZE - bytes_written, in blk_latency_hist_show()
3614 return bytes_written; in blk_latency_hist_show()