Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VFS_QUOTACTL(9)		   Kernel Developer's Manual	       VFS_QUOTACTL(9)

NAME
       VFS_QUOTACTL -- manipulate file system quotas

SYNOPSIS
       #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);

DESCRIPTION
       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.

SEE ALSO
       quotactl(2), vnode(9)

AUTHORS
       This manual page	was written by Doug Rabson.

FreeBSD	14.3			 May 29, 2021		       VFS_QUOTACTL(9)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=VFS_QUOTACTL&sektion=9&manpath=FreeBSD+14.3-RELEASE+and+Ports>

home | help