freebsd-nq/sys/compat
Pedro F. Giffuni 0993a7daaf ndis: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:11:38 +00:00
..
cloudabi Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi32 Use mallocarray(9) in CloudABI kernel code where possible. 2018-01-07 22:38:45 +00:00
cloudabi64 Use mallocarray(9) in CloudABI kernel code where possible. 2018-01-07 22:38:45 +00:00
freebsd32 Regenerate auto-generated files 2018-01-12 23:06:35 +00:00
ia32 sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linprocfs
linsysfs sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linuxkpi/common linuxkpi: Simplify kmalloc_array. 2018-01-10 20:50:06 +00:00
ndis ndis: make some use of mallocarray(9). 2018-01-15 21:11:38 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios