1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/geom
Pedro F. Giffuni 0cee6dcdb0 misc geom and gnu: 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.

Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:23:16 +00:00
..
bde sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
cache sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
concat sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
eli When building standalone, include stand.h rather than the kernel 2017-12-05 21:37:32 +00:00
gate sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
journal sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
label sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
linux_lvm sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
mirror Fix handling of read errors during mirror synchronization. 2018-01-10 19:37:21 +00:00
mountver sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
multipath sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
nop sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
part sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
raid Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
raid3 sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
sched sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
shsec sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
stripe sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
uzip misc geom and gnu: make some use of mallocarray(9). 2018-01-15 21:23:16 +00:00
vinum sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
virstor sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
zero sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_aes.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_bsd_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_bsd.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_ccd.c geom_ccd.c: Fix the licenses properly 2017-12-30 02:07:18 +00:00
geom_ctl.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_ctl.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_dev.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_disk.c geom_disk / scsi_da: deny opening write-protected disks for writing 2018-01-15 11:20:00 +00:00
geom_disk.h geom_disk / scsi_da: deny opening write-protected disks for writing 2018-01-15 11:20:00 +00:00
geom_dump.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_event.c Instrument "boot holds" for the benefit of the TSLOG framework. These 2017-12-31 09:23:52 +00:00
geom_flashmap.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_fox.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_int.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_io.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_kern.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_map.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_mbr_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_mbr.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_redboot.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_slice.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_slice.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_subr.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
geom_sunlabel_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_sunlabel.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vfs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vfs.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vol_ffs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
notes