freebsd-dev/sys/fs/tmpfs
Jaakko Heinonen dec3772ee4 Add "maxfilesize" mount option for tmpfs to allow specifying the
maximum file size limit. Default is UINT64_MAX when the option is
not specified. It was useless to set the limit to the total amount of
memory and swap in the system.

Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to
check if there is enough memory available.

Remove now unused get_swpgtotal().

Reviewed by:	Gleb Kurtsou
Approved by:	trasz (mentor)
2010-01-29 12:09:14 +00:00
..
tmpfs_fifoops.c Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_fifoops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_subr.c - Change the type of nodes_max to u_int and use "%u" format string to 2010-01-20 16:56:20 +00:00
tmpfs_vfsops.c Add "maxfilesize" mount option for tmpfs to allow specifying the 2010-01-29 12:09:14 +00:00
tmpfs_vnops.c Add locking around access to parent node, and bail out when the parent 2009-10-11 07:03:56 +00:00
tmpfs_vnops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs.h - Fix some style bugs in tmpfs_mount(). [1] 2010-01-13 14:17:21 +00:00