nvme: add helper nvme_map_len()
authorMing Lin <ming.l@ssi.samsung.com>
Tue, 22 Mar 2016 07:24:43 +0000 (00:24 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 12 Apr 2016 19:44:00 +0000 (13:44 -0600)
commit58b45602751ddf16e57170656670aa5a8f78eeca
treee8bbe385e5f4fd4dea3139937db75b66fcf022a5
parent2e39e0f608c130411f52c9fe5648dbcda5e28528
nvme: add helper nvme_map_len()

The helper returns the number of bytes that need to be mapped
using PRPs/SGL entries.

Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
This page took 0.024558 seconds and 5 git commands to generate.