Rechercher une page de manuel
vflush.9freebsd
Langue: en
Version: 308494 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
vflush - flush vnodes for a mount pointSYNOPSIS
In sys/param.h In sys/vnode.h Ft int Fn vflush struct mount *mp int rootrefs int flags struct thread *tdDESCRIPTION
The Fn vflush function removes any vnodes in the vnode table that belong to the given Vt mount structure.Its arguments are:
- Fa mp
- The mount point whose vnodes should be removed.
- Fa rootrefs
- The number of references expected on the root vnode. vrele(9) will be invoked on the root vnode Fa rootrefs times.
- Fa 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.
- Fa td
- The calling thread.
RETURN VALUES
A value of 0 is returned if the flush is successful; otherwise, Er EBUSY will be returned.SEE ALSO
vgone(9), vgonel(9), vrele(9)AUTHORS
This manual page was written by An Chad David Aq davidc@acns.ab.ca .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre