freebsd-dev/sys/fs
Pedro F. Giffuni ac2fffa4b7 Revert r327828, r327949, r327953, r328016-r328026, r328041:
Uses of mallocarray(9).

The use of mallocarray(9) has rocketed the required swap to build FreeBSD.
This is likely caused by the allocation size attributes which put extra pressure
on the compiler.

Given that most of these checks are superfluous we have to choose better
where to use mallocarray(9). We still have more uses of mallocarray(9) but
hopefully this is enough to bring swap usage to a reasonable level.

Reported by:	wosch
PR:		225197
2018-01-21 15:42:36 +00:00
..
autofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cd9660 Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
cuse Allow CUSE(3) to free all memory mapped memory by using regular SWAP objects 2017-11-03 14:10:57 +00:00
deadfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
devfs Report INT_MAX for LINK_MAX for devfs' VOP_PATHCONF(). 2017-12-19 20:07:57 +00:00
ext2fs ext2fs: use mallocarray(9). 2018-01-16 19:29:32 +00:00
fdescfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
fifofs Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
fuse Update link count handling in fuse for post-ino64. 2017-12-19 22:40:54 +00:00
msdosfs Move NAME_MAX, LINK_MAX, and CHOWN_RESTRICTED out of vop_stdpathconf(). 2017-12-19 19:51:36 +00:00
nandfs Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
nfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
nfsclient Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nfsserver nfs: Do not printf each time a lock structure is freed during module unload 2018-01-18 15:28:49 +00:00
nullfs Make nullfs properly report MNT_AUTOMOUNTED set on the nullfs mount itself, 2018-01-10 17:51:02 +00:00
procfs Correct comment. procfs_doprocfile implements 'file', not 'self'. 2018-01-05 18:32:46 +00:00
pseudofs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
smbfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
tmpfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
udf Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
unionfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00