linux_dsm_epyc7002/drivers/nvme/host
Damien Le Moal e08f2ae850 nvme: Introduce nvme_lba_to_sect()
Introduce the new helper function nvme_lba_to_sect() to convert a device
logical block number to a 512B sector number. Use this new helper in
obvious places, cleaning up the code.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-11-04 10:56:41 -07:00
..
core.c nvme: Introduce nvme_lba_to_sect() 2019-11-04 10:56:41 -07:00
fabrics.c nvme-fabrics: allow discovery subsystems accept a kato 2019-09-12 08:50:46 -07:00
fabrics.h nvme-fabrics: Add type of service (TOS) configuration 2019-08-29 12:55:01 -07:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme: move common call to nvme_cleanup_cmd to core layer 2019-11-04 10:56:41 -07:00
Kconfig nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp 2019-08-29 12:55:01 -07:00
lightnvm.c lightnvm: move metadata mapping to lower level driver 2019-08-06 08:20:10 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme: introduce "Command Aborted By host" status code 2019-11-04 10:56:41 -07:00
nvme.h nvme: Introduce nvme_lba_to_sect() 2019-11-04 10:56:41 -07:00
pci.c nvme: move common call to nvme_cleanup_cmd to core layer 2019-11-04 10:56:41 -07:00
rdma.c nvme: move common call to nvme_cleanup_cmd to core layer 2019-11-04 10:56:41 -07:00
tcp.c nvme: introduce nvme_is_aen_req function 2019-11-04 10:56:40 -07:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00