freebsd-src/sys/dev/hwpmc
Attilio Rao cb05b60a89 vn_lock() is currently only used with the 'curthread' passed as argument.
Remove this argument and pass curthread directly to underlying
VOP_LOCK1() VFS method. This modify makes the code cleaner and in
particular remove an annoying dependence helping next lockmgr() cleanup.
KPI results, obviously, changed.

Manpage and FreeBSD_version will be updated through further commits.

As a side note, would be valuable to say that next commits will address
a similar cleanup about VFS methods, in particular vop_lock1 and
vop_unlock.

Tested by:	Diego Sardina <siarodx at gmail dot com>,
		Andrea Di Pasquale <whyx dot it at gmail dot com>
2008-01-10 01:10:58 +00:00
..
hwpmc_amd.c Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
hwpmc_amd.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_arm.c Add stub functions to unbreak LINT. 2007-12-07 17:21:53 +00:00
hwpmc_ia64.c Add stub functions to unbreak LINT. 2007-12-07 17:21:53 +00:00
hwpmc_logging.c Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
hwpmc_mod.c vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
hwpmc_pentium.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_pentium.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_piv.c Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
hwpmc_piv.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_powerpc.c Add stub functions to unbreak LINT. 2007-12-07 17:21:53 +00:00
hwpmc_ppro.c Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
hwpmc_ppro.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_sparc64.c Add stub functions to unbreak LINT. 2007-12-07 17:21:53 +00:00
hwpmc_x86.c Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
pmc_events.h MFP4: 2005-06-09 19:45:09 +00:00