freebsd-dev/sys/cam/scsi
Suleiman Souhlal 571dcd15e2 Fix the recent panics/LORs/hangs created by my kqueue commit by:
- Introducing the possibility of using locks different than mutexes
for the knlist locking. In order to do this, we add three arguments to
knlist_init() to specify the functions to use to lock, unlock and
check if the lock is owned. If these arguments are NULL, we assume
mtx_lock, mtx_unlock and mtx_owned, respectively.

- Using the vnode lock for the knlist locking, when doing kqueue operations
on a vnode. This way, we don't have to lock the vnode while holding a
mutex, in filt_vfsread.

Reviewed by:	jmg
Approved by:	re (scottl), scottl (mentor override)
Pointyhat to:	ssouhlal
Will be happy:	everyone
2005-07-01 16:28:32 +00:00
..
scsi_all.c The divide by zero panic must have been due to a bogus 2005-04-14 03:52:50 +00:00
scsi_all.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_cd.c Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't 2005-03-26 06:05:06 +00:00
scsi_cd.h Fix ATAPI/USB/Firewire CDROM drive handling in cd(4) and hopefully fix 2003-02-21 06:19:38 +00:00
scsi_ch.c Fix a place where we were referencing a pointer after it had been freed. 2005-03-26 04:21:11 +00:00
scsi_ch.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_da.c Add a quirk for my pen-drive. 2005-06-09 17:35:04 +00:00
scsi_da.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_dvcfg.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_iu.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_low.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_message.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pass.c Don't pass unadulterated unit numbers to make_dev and its ilk- if you 2005-01-22 07:21:25 +00:00
scsi_pass.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pt.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pt.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_sa.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_sa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_ses.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_ses.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_targ_bh.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_target.c Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
scsi_targetio.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00