freebsd-dev/sys/dev/nvme
Jeff Roberson fade8dd714 Refactor unmapped buffer address handling.
- Use pointer assignment rather than a combination of pointers and
   flags to switch buffers between unmapped and mapped.  This eliminates
   multiple flags and generally simplifies the logic.
 - Eliminate b_saveaddr since it is only used with pager bufs which have
   their b_data re-initialized on each allocation.
 - Gather up some convenience routines in the buffer cache for
   manipulating buf space and buf malloc space.
 - Add an inline, buf_mapped(), to standardize checks around unmapped
   buffers.

In collaboration with: mlaier
Reviewed by:	kib
Tested by:	pho (many small revisions ago)
Sponsored by:	EMC / Isilon Storage Division
2015-07-23 19:13:41 +00:00
..
nvme_ctrlr_cmd.c Use bitwise OR instead of logical OR when constructing value for 2014-06-10 21:40:43 +00:00
nvme_ctrlr.c Refactor unmapped buffer address handling. 2015-07-23 19:13:41 +00:00
nvme_ns_cmd.c Fix nvme(4) and nvd(4) to support non 512-byte sector sizes. 2013-07-19 21:33:24 +00:00
nvme_ns.c nvme: remove CHATHAM related code 2015-04-08 21:52:06 +00:00
nvme_private.h nvme: remove CHATHAM related code 2015-04-08 21:52:06 +00:00
nvme_qpair.c nvme: use BUS_SPACE_MAXSIZE for bus_dma_tag_create maxsize parameter 2015-04-09 00:37:55 +00:00
nvme_sysctl.c Update copyright dates. 2013-07-09 21:22:17 +00:00
nvme_test.c Extend some 32-bit fields and variables to 64-bit to prevent overflow 2013-10-08 15:47:22 +00:00
nvme_util.c Add message when nvd disks are attached and detached. 2013-07-19 21:40:57 +00:00
nvme.c nvme: remove CHATHAM related code 2015-04-08 21:52:06 +00:00
nvme.h Extend some 32-bit fields and variables to 64-bit to prevent overflow 2013-10-08 15:47:22 +00:00