mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 15:57:05 -05:00
For VREG vnodes, return the resident page count (multiplied by PAGE_SIZE) for the tmpfs node's anonymous VM object that stores actual file contents. For all other vnodes, return the tmpfs_node's tn_size, which should not be rounded to a page. This change allows using stat(2) to identify a sparse file on tmpfs. Reviewed by: kib MFC after: 1 week |
||
|---|---|---|
| .. | ||
| tmpfs.h | ||
| tmpfs_fifoops.c | ||
| tmpfs_fifoops.h | ||
| tmpfs_subr.c | ||
| tmpfs_vfsops.c | ||
| tmpfs_vnops.c | ||
| tmpfs_vnops.h | ||