*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> BUF_REFCNT (9)              
Title
Content
Arch
Section
 

NAME    [Toc]    [Back]

     BUF_REFCNT -- returns the reference count on a buffer's lock

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/systm.h>
     #include <sys/uio.h>
     #include <sys/bio.h>
     #include <sys/buf.h>

     int
     BUF_REFCNT(struct buf *bp);

DESCRIPTION    [Toc]    [Back]

     The BUF_REFCNT() function returns the reference count on a buffer's lock.

     Its argument is:

     bp  The buffer whose lock reference count is to be returned.

SEE ALSO    [Toc]    [Back]

     buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockcount(9)
      
      

AUTHORS    [Toc]    [Back]

     This man page was written by Chad David <davidc@acns.ab.ca>.


FreeBSD 5.2.1			 July 9, 2001			 FreeBSD 5.2.1
[ Back ]

BUF_REFCNT(9)

Contents

 Similar pages
Name OS Title
BUF_LOCKFREE FreeBSD destroys a buffer's lock
vrecycle OpenBSD recycle a vnode if its reference count is zero
vput OpenBSD decrement the reference count for a vnode and unlock it
getlsrepeat IRIX returns the linestyle repeat count
pthread_rwlock_rdlock IRIX lock a read-write lock object for reading
pthread_rwlock_wrlock IRIX lock a read-write lock object for writing
tis_read_trylock Tru64 Attempts to acquire a read-write lock for read access and does not wait if the lock cannot be immedi...
mmroff FreeBSD reference preprocessor
perlxs IRIX XS language reference manual
coder HP-UX HP EUC-CNS code reference utility
Watch House Online | Watch Anime | Loans | Xecuter 3 Mod Chip | Debt Help
Copyright © 2004-2005 DeniX Solutions SRL