kib 448e7c1290 Add dev_strategy_csw() function, which is similar to dev_strategy()
but assumes that a thread reference was already obtained on the passed
device.  Use the function from physio(), to avoid two extra dev_mtx
lock and unlock.  Note that physio() is always used as the cdevsw
method, or is called from a cdevsw method, and the caller already owns
the reference.

dev_strategy() is left to keep KPI intact, but now it is implemented
as a wrapper around dev_strategy_csw().

Do some style cleanup in physio().

Requested and reviewed by:	kan (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2013-03-27 11:34:27 +00:00
..
2013-03-21 23:02:19 +00:00
2013-03-22 20:44:16 +00:00
2013-03-26 14:08:14 +00:00
MFC
2013-03-09 18:40:37 +00:00
MFC
2013-03-02 14:48:41 +00:00
MFC
2013-03-08 00:03:07 +00:00
MFC
2013-03-02 14:48:41 +00:00
2013-02-21 12:52:18 +00:00
MFC
2013-03-08 00:03:07 +00:00
MFC
2013-02-21 21:59:35 +00:00
2013-02-28 13:46:03 +00:00
MFC
2013-03-13 01:05:42 +00:00