VFS_QUOTACTL(9)

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.

  1. 2.2.2–2.2.8
  2. 2.2.9
  3. 3.0–3.2
  4. 3.3–3.5.1
  5. 4.0–4.4
  6. 4.5–4.11
  7. 5.0–5.1
  8. 5.2–6.3
  9. 6.4
  10. 7.0
  11. 7.1
  12. 7.2
  13. 7.3
  14. 7.4
  15. 8.0
  16. 8.1
  17. 8.2
  18. 8.3
  19. 8.4
  20. 9.0
  21. 9.1
  22. 9.2
  23. 9.3
  24. 10.0
  25. 10.1
  26. 10.2
  27. 10.3
  28. 10.4
  29. 11.0
  30. 11.1
  31. 11.2
  32. 11.3
  33. 11.4
  34. 12.0
  35. 12.1
  36. 12.2
  37. 12.3
  38. 12.4
  39. 13.0–13.2
  40. 13.3–13.5
  41. 14.0–16.0

Authors

This manual page was written by Doug Rabson.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.