Searched refs:mapped_bytes (Results 1 – 2 of 2) sorted by relevance
663 ssize_t bytes, mapped_bytes; in vhost_scsi_map_to_sgl() local673 mapped_bytes = bytes; in vhost_scsi_map_to_sgl()706 iov_iter_revert(iter, mapped_bytes); in vhost_scsi_map_to_sgl()709 while (mapped_bytes) { in vhost_scsi_map_to_sgl()711 mapped_bytes); in vhost_scsi_map_to_sgl()715 mapped_bytes -= n; in vhost_scsi_map_to_sgl()
1135 unsigned int mapped_bytes; in __ublk_rq_task_work() local1182 mapped_bytes = ublk_map_io(ubq, req, io); in __ublk_rq_task_work()1185 if (unlikely(mapped_bytes != blk_rq_bytes(req))) { in __ublk_rq_task_work()1193 if (unlikely(!mapped_bytes)) { in __ublk_rq_task_work()1201 mapped_bytes >> 9; in __ublk_rq_task_work()