opnsense-src/sys/dev/beri/virtio
Pedro F. Giffuni 26c1d774b5 dev: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these is 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.
2018-01-13 22:30:30 +00:00
..
network o Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs 2015-01-05 16:43:22 +00:00
virtio.c dev: make some use of mallocarray(9). 2018-01-13 22:30:30 +00:00
virtio.h o Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs 2015-01-05 16:43:22 +00:00
virtio_block.c sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
virtio_mmio_platform.c Allow BERI virtio-platform code to operate with no PIO devices specified. 2015-07-03 14:27:28 +00:00
virtio_mmio_platform.h o Add BERI Virtio Networking Frontend (if_vtbe) 2014-12-09 16:39:21 +00:00