VFS_QUOTACTL9
Manipulate file system quotas
Usage
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>
int
VFS_QUOTACTL(struct mount *mp, int cmds, uid_t uid, void *arg, bool *mp_busy);
Overview
Implement file system quotas.
The mp_busy argument is an input/output parameter. VFS_QUOTACTL() must be called with mp marked busy through vfs_busy(9) and *mp_busy set to true. The filesystem implementation of VFS_QUOTACTL() may then unbusy mp using vfs_unbusy(9) prior to performing quota file I/O. In this case the implementation must set *mp_busy to false to indicate that the caller must not unbusy mp upon completion of VFS_QUOTACTL().
See quotactl(2) for a description of the remaining arguments.
Releases
83 releases since FreeBSD 2.2.2-RELEASE; the text changed 40 times.