freebsd-dev/sys/dev/nvme
Brooks Davis 44ca4575ea vmapbuf: don't smuggle address or length in buf
Instead, add arguments to vmapbuf.  Since this argument is
always a pointer use a type of void * and cast to vm_offset_t in
vmapbuf.  (In CheriBSD we've altered vm_fault_quick_hold_pages to
take a pointer and check its bounds.)

In no other situtation does b_data contain a user pointer and vmapbuf
replaces b_data with the actual mapping.

Suggested by:	jhb
Reviewed by:	imp, jhb
Obtained from:	CheriBSD
MFC after:	1 week
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D26784
2020-10-21 16:00:15 +00:00
..
nvme_ahci.c
nvme_ctrlr_cmd.c
nvme_ctrlr.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
nvme_ns_cmd.c
nvme_ns.c
nvme_pci.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_private.h nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_qpair.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_sim.c Report cpi->hba_* for nda(4) because why not. 2020-08-12 20:05:43 +00:00
nvme_sysctl.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_test.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_util.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme.h Add an ioctl to get an NVMe device's maximum transfer size 2020-09-21 15:41:47 +00:00