vrecycle man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

VRECYCLE(9)		     OpenBSD Kernel Manual		   VRECYCLE(9)

NAME
     vrecycle - recycle a vnode if its reference count is zero

SYNOPSIS
     #include <sys/param.h>
     #include <sys/vnode.h>

     int
     vrecycle(struct vnode *vp, struct proc *p);

DESCRIPTION
     The vrecycle() function places the vnode vp on the free list using
     vgonel(9) if its v_usecount field is zero.	 If v_usecount is non-zero, it
     simply returns.

RETURN VALUES
     vrecycle() will return 1 if the vnode was placed on the free list.	 It
     will return 0 if the reference count was non-zero.

SEE ALSO
     vgonel(9), vnode(9)

HISTORY
     This man page was originally written for OpenBSD.

OpenBSD 4.9		      September 19, 2010		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net