| VFLUSH (9)  | Kernel routines | Unix Manual Pages | :man▋ 
  
NAMEvflush - "flush vnodes for a mount point"CONTENTSSynopsisDescription
 Return Values
 See Also
 Authors
 
 SYNOPSIS.In sys/param.h
 .In sys/vnode.h  int  vflush "struct mount *mp" "int rootrefs" "int flags" "struct thread *td"
 DESCRIPTIONThe  vflush function removes any vnodes in the vnode table that belong to the given.Vt 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  VSYSTEM flag set will be skipped. |  | WRITECLOSE | If set, only regular files currently opened for writing will be removed. |  |
 RETURN VALUESA value of 0 is returned if the flush is successful; otherwise,  EBUSY will be returned.SEE ALSOvgone(9), vgonel(9), vrele(9)AUTHORS |