Searched refs:mapped_bytes (Results 1 – 2 of 2) sorted by relevance
657 ssize_t bytes, mapped_bytes; in vhost_scsi_map_to_sgl() local667 mapped_bytes = bytes; in vhost_scsi_map_to_sgl()700 iov_iter_revert(iter, mapped_bytes); in vhost_scsi_map_to_sgl()703 while (mapped_bytes) { in vhost_scsi_map_to_sgl()705 mapped_bytes); in vhost_scsi_map_to_sgl()709 mapped_bytes -= n; in vhost_scsi_map_to_sgl()
1131 unsigned int mapped_bytes; in __ublk_rq_task_work() local1178 mapped_bytes = ublk_map_io(ubq, req, io); in __ublk_rq_task_work()1181 if (unlikely(mapped_bytes != blk_rq_bytes(req))) { in __ublk_rq_task_work()1189 if (unlikely(!mapped_bytes)) { in __ublk_rq_task_work()1197 mapped_bytes >> 9; in __ublk_rq_task_work()