freebsd-dev/sys/fs
Attilio Rao 628f51d275 Introduce some functions in the vnode locks namespace and in the ffs
namespace in order to handle lockmgr fields in a controlled way instead
than spreading all around bogus stubs:
- VN_LOCK_AREC() allows lock recursion for a specified vnode
- VN_LOCK_ASHARE() allows lock sharing for a specified vnode

In FFS land:
- BUF_AREC() allows lock recursion for a specified buffer lock
- BUF_NOREC() disallows recursion for a specified buffer lock

Side note: union_subr.c::unionfs_node_update() is the only other function
directly handling lockmgr fields. As this is not simple to fix, it has
been left behind as "sole" exception.
2008-02-24 16:38:58 +00:00
..
cd9660 Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
coda Remove custom queue macros in Coda, replacing them with queue(9) tailq 2008-02-17 14:33:28 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
fdescfs VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
fifofs Remove Giant acquisition around soreceive() and sosend() in fifofs. The 2008-01-26 12:34:23 +00:00
hpfs Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
msdosfs Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. 2008-02-21 03:19:46 +00:00
ntfs Fix a lock leak in the ntfs locking scheme: 2008-02-13 13:02:12 +00:00
nullfs Conver all explicit instances to VOP_ISLOCKED(arg, NULL) into 2008-02-08 21:45:47 +00:00
nwfs Introduce some functions in the vnode locks namespace and in the ffs 2008-02-24 16:38:58 +00:00
portalfs vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
procfs VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
pseudofs Introduce some functions in the vnode locks namespace and in the ffs 2008-02-24 16:38:58 +00:00
smbfs Introduce some functions in the vnode locks namespace and in the ffs 2008-02-24 16:38:58 +00:00
tmpfs VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
udf Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
unionfs Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00