Lines Matching refs:rw
107 size_t txn_blocks = txn->op.rw.length; in worker_thread()
116 size_t dev_offset = txn->op.rw.offset_dev * dev->blk_size; in worker_thread()
117 size_t vmo_offset = txn->op.rw.offset_vmo * dev->blk_size; in worker_thread()
124 status = zx_vmo_write(txn->op.rw.vmo, addr, vmo_offset, length); in worker_thread()
135 status = zx_vmo_read(txn->op.rw.vmo, addr, vmo_offset, length); in worker_thread()
137 if (status == ZX_OK && blocks < txn->op.rw.length && defer) { in worker_thread()
144 txn->op.rw.length -= blocks; in worker_thread()
145 txn->op.rw.offset_vmo += blocks; in worker_thread()
146 txn->op.rw.offset_dev += blocks; in worker_thread()
324 if ((txn->op.rw.offset_dev >= ramdev->blk_count) || in ramdisk_queue()
325 ((ramdev->blk_count - txn->op.rw.offset_dev) < txn->op.rw.length)) { in ramdisk_queue()
333 ramdev->blk_counts.received += txn->op.rw.length; in ramdisk_queue()