opnsense-src/sys/i386
Pedro F. Giffuni 74641f0bc6 x86: 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:08:22 +00:00
..
acpica Minor cleanups found while fixing a bug involving double mapping of low 2017-12-15 03:05:14 +00:00
bios inittodr(0) actually sets the time, so there's no need to call 2018-01-10 17:25:08 +00:00
cloudabi32 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
conf Enable VIMAGE in i386 GENERIC (revert r327840) 2018-01-14 16:04:51 +00:00
i386 x86: make some use of mallocarray(9). 2018-01-15 21:08:22 +00:00
ibcs2 Disable vim syntax highlighting. 2017-11-28 18:23:17 +00:00
include Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
linux Disable vim syntax highlighting. 2017-11-28 18:23:17 +00:00
pci sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
Makefile Delete duplicate tags entry I introduced in -r223901. 2011-07-15 17:27:26 +00:00