Searched refs:mapped_bytes (Results 1 – 2 of 2) sorted by relevance
674 ssize_t bytes, mapped_bytes; in vhost_scsi_map_to_sgl() local684 mapped_bytes = bytes; in vhost_scsi_map_to_sgl()717 iov_iter_revert(iter, mapped_bytes); in vhost_scsi_map_to_sgl()720 while (mapped_bytes) { in vhost_scsi_map_to_sgl()722 mapped_bytes); in vhost_scsi_map_to_sgl()726 mapped_bytes -= n; in vhost_scsi_map_to_sgl()
1106 unsigned int mapped_bytes; in __ublk_rq_task_work() local1153 mapped_bytes = ublk_map_io(ubq, req, io); in __ublk_rq_task_work()1156 if (unlikely(mapped_bytes != blk_rq_bytes(req))) { in __ublk_rq_task_work()1164 if (unlikely(!mapped_bytes)) { in __ublk_rq_task_work()1172 mapped_bytes >> 9; in __ublk_rq_task_work()