opnsense-src/sys/dev/nvme
Mark Johnston f08746a7e3 nvme: Pass malloc flags to request allocation functions
There are some contexts where it is safe to sleep, so we should pass
M_WAITOK to ensure that a null pointer dereference can't happen.

A few places allocate with M_NOWAIT but have no way to signal an error.
Flag those with an XXX comment.

PR:		276770
Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47307
2024-11-09 17:34:12 +00:00
..
nvme.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme.h nvme: Add bit names for nvme 2.0 for Async Events 2024-07-24 20:47:26 -06:00
nvme_ahci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_ctrlr.c nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_ctrlr_cmd.c nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_linux.h nvme: Add Linux copatible ioctls 2024-06-14 16:40:08 -06:00
nvme_ns.c nvme: Add Linux copatible ioctls 2024-06-14 16:40:08 -06:00
nvme_ns_cmd.c nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_pci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_private.h nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_qpair.c nvme: Separate total failures from I/O failures 2024-08-15 21:31:20 -06:00
nvme_sim.c nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_sysctl.c nvme: Rename the per-I/O queue sysctl device nodes 2024-11-02 09:53:28 -04:00
nvme_test.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
nvme_util.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00