freebsd-dev/sys/nfs4client
Attilio Rao d638e093d6 - Introduce the function lockmgr_recursed() which returns true if the
lockmgr lkp, when held in exclusive mode, is recursed
- Introduce the function BUF_RECURSED() which does the same for bufobj
  locks based on the top of lockmgr_recursed()
- Introduce the function BUF_ISLOCKED() which works like the counterpart
  VOP_ISLOCKED(9), showing the state of lockmgr linked with the bufobj

BUF_RECURSED() and BUF_ISLOCKED() entirely replace the usage of bogus
BUF_REFCNT() in a more explicative and SMP-compliant way.
This allows us to axe out BUF_REFCNT() and leaving the function
lockcount() totally unused in our stock kernel. Further commits will
axe lockcount() as well as part of lockmgr() cleanup.

KPI results, obviously, broken so further commits will update manpages
and freebsd version.

Tested by: kris (on UFS and NFS)
2008-01-19 17:36:23 +00:00
..
nfs4_dev.c Add better sanity checking to the logic that handles ioctl processing 2006-05-13 00:16:35 +00:00
nfs4_dev.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_idmap.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_idmap.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_socket.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_subs.c NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4_vfs_subs.c Unstaticize nfs_iosize() in nfsclient and use it in nfs4client instead 2007-01-25 13:07:25 +00:00
nfs4_vfs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_vfsops.c VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
nfs4_vn_subs.c NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4_vn.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_vnops.c - Introduce the function lockmgr_recursed() which returns true if the 2008-01-19 17:36:23 +00:00
nfs4.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4m_subs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00