linux man page for vflush

Query: vflush

OS: linux

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VFLUSH(9)						   BSD Kernel Developer's Manual						 VFLUSH(9)

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.
RETURN VALUES
A value of 0 is returned if the flush is successful; otherwise, EBUSY will be returned.
SEE ALSO
vgone(9), vrele(9)
AUTHORS
This manual page was written by Chad David <davidc@acns.ab.ca>.
BSD
November 21, 2001 BSD
Related Man Pages
vfs_vget(9) - debian
vop_link(9) - centos
vop_link(9) - linux
vop_link(9) - redhat
vop_link(9) - hpux
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Featured Books and Articles by Active Forum Members
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.com End of Year (EOY) Report (2019)