opnsense-src/sys/fs/tmpfs
Konstantin Belousov 37aea2649f tmpfs: for used pages, account really allocated pages, instead of file sizes
This makes tmpfs size accounting correct for the sparce files. Also
correct report st_blocks/va_bytes. Previously the reported value did not
accounted for the swapped out pages.

PR:	223015
Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D37097
2022-12-09 14:17:12 +02:00
..
tmpfs.h tmpfs: for used pages, account really allocated pages, instead of file sizes 2022-12-09 14:17:12 +02:00
tmpfs_fifoops.c tmpfs: add vop_stdadd_writecount_nomsync to fifo vnode ops 2021-11-26 19:32:35 +00:00
tmpfs_fifoops.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs_subr.c tmpfs: for used pages, account really allocated pages, instead of file sizes 2022-12-09 14:17:12 +02:00
tmpfs_vfsops.c tmpfs: for used pages, account really allocated pages, instead of file sizes 2022-12-09 14:17:12 +02:00
tmpfs_vnops.c tmpfs: for used pages, account really allocated pages, instead of file sizes 2022-12-09 14:17:12 +02:00
tmpfs_vnops.h tmpfs: add VOP_STAT handler 2020-08-07 23:07:47 +00:00