FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

vflush - flush vnodes for a mount point

 

NAME

      vflush - flush vnodes for a mount point
 

SYNOPSIS

      #include <sys/param.h>
      #include <sys/vnode.h>
 
      int
      vflush(struct mount *mp, int rootrefs, int flags, struct thread *td);
 

DESCRIPTION

      The vflush() function removes any vnodes in the vnode table that belong
      to the given mount structure.
 
      Its arguments are:
 
      mp        The mount point whose vnodes should be removed.
 
      rootrefs  The number of references expected on the root vnode.  vrele(9)
                will be invoked on the root vnode rootrefs times.
 
      flags     The flags indicating how vnodes should be handled.
 
                FORCECLOSE  If set, busy vnodes will be forcibly closed.
 
                SKIPSYSTEM  If set, vnodes with the VV_SYSTEM flag set will be
                            skipped.
 
                WRITECLOSE  If set, only regular files currently opened for
                            writing will be removed.
 
      td        The calling thread.
      A value of 0 is returned if the flush is successful; otherwise, EBUSY
      will be returned.
      vgone(9), vgonel(9), vrele(9)
 

AUTHORS

      This manual page was written by Chad David 〈davidc@acns.ab.ca〉.
 

Sections

Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.