Konstantin Belousov d1e99f43ed 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
..
2012-11-11 23:25:47 +00:00
2012-11-11 23:25:47 +00:00
2009-11-28 23:50:48 +00:00
2012-01-15 13:23:18 +00:00
2013-03-04 12:20:48 +00:00
2012-01-15 13:23:18 +00:00
2012-12-31 11:22:55 +00:00
2011-06-18 13:56:33 +00:00
2012-01-15 13:23:18 +00:00
2011-04-04 17:39:30 +00:00
2013-03-02 00:53:12 +00:00
2010-09-28 03:24:53 +00:00
2012-09-04 12:07:33 +00:00
2012-01-15 13:23:18 +00:00
2009-05-09 19:01:24 +00:00
2012-12-10 23:12:51 +00:00
2012-11-13 18:24:47 +00:00
2013-03-04 12:48:41 +00:00
2013-03-02 00:53:12 +00:00
2011-01-23 12:44:17 +00:00
2012-03-28 20:58:30 +00:00
2013-03-02 21:11:30 +00:00
2013-02-06 07:27:25 +00:00
2012-02-27 18:28:31 +00:00
2013-03-04 12:48:41 +00:00
2013-03-02 21:11:30 +00:00
2011-05-05 02:35:25 +00:00
2013-03-04 12:48:41 +00:00
2013-03-21 23:02:19 +00:00
2013-03-21 23:02:19 +00:00
2013-03-21 23:02:19 +00:00
2009-11-28 23:50:48 +00:00
2010-04-20 17:57:43 +00:00
2013-02-28 13:46:03 +00:00
2011-07-14 21:02:15 +00:00
2012-11-03 22:21:37 +00:00
2009-08-23 08:04:40 +00:00
2013-03-02 00:53:12 +00:00