Deleted Added
full compact
27c27
< .\" $FreeBSD: head/share/man/man9/lock.9 177697 2008-03-28 21:30:37Z brueffer $
---
> .\" $FreeBSD: head/share/man/man9/lock.9 177962 2008-04-06 21:22:12Z attilio $
29c29
< .Dd March 28, 2008
---
> .Dd April 6, 2008
36a37
> .Nm lockmgr_args_rw ,
39a41
> .Nm lockmgr_rw ,
53c55
< .Fn lockmgr "struct lock *lkp" "u_int flags" "struct mtx *interlkp"
---
> .Fn lockmgr "struct lock *lkp" "u_int flags" "struct mtx *ilk"
55c57,59
< .Fn lockmgr_args "struct lock *lkp" "u_int flags" "struct mtx *interlkp" "const char *wmesg" "int prio" "int timo"
---
> .Fn lockmgr_args "struct lock *lkp" "u_int flags" "struct mtx *ilk" "const char *wmesg" "int prio" "int timo"
> .Ft int
> .Fn lockmgr_args_rw "struct lock *lkp" "u_int flags" "struct rwlock *ilk" "const char *wmesg" "int prio" "int timo"
62a67,68
> .Fn lockmgr_rw "struct lock *lkp" "u_int flags" "struct rwlock *ilk"
> .Ft int
124c130,132
< function handles general locking functionality within the kernel, including
---
> and
> .Fn lockmgr_rw
> functions handle general locking functionality within the kernel, including
127c135,137
< is also able to upgrade and downgrade locks.
---
> and
> .Fn lockmgr_rw
> are also able to upgrade and downgrade locks.
129,130c139,140
< Its arguments are:
< .Bl -tag -width ".Fa interlkp"
---
> Their arguments are:
> .Bl -tag -width ".Fa flags"
177c187
< .It Fa interlkp
---
> .It Fa ilk
183,184c193,196
< assumes
< .Fa interlkp
---
> and
> .Fn lockmgr_rw
> assume
> .Fa ilk
192c204,206
< function works like
---
> and
> .Fn lockmgr_args_rw
> function work like
193a208,209
> and
> .Fn lockmgr_rw
300c316,318
< function returns 0 on success and non-zero on failure.
---
> and
> .Fn lockmgr_rw
> functions return 0 on success and non-zero on failure.
317c335,337
< fails if:
---
> and
> .Fn lockmgr_rw
> fail if:
328a349,350
> or
> .Fn lockmgr_rw
349c371,373
< .Fn lockmgr ,
---
> .Fn lockmgr
> or
> .Fn lockmgr_rw ,
351c375
< .Fa interlkp
---
> .Fa ilk
353c377,379
< .Fn lockmgr ,
---
> .Fn lockmgr
> or
> .Fn lockmgr_rw ,