summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_queue.c
Commit message (Collapse)AuthorAgeFilesLines
* MFp4:mav2009-11-141-1/+0
| | | | Some more missed parts from previous commits.
* After thinking again, implement cam_ccbq_fini().mav2009-10-221-1/+8
| | | | This is effectively NULL change, but makes this API a bit more consistent.
* - Providing fine-grained malloc statistic by replacing M_DEVBUF withavatar2005-07-011-13/+18
| | | | | | | | | | | | | module-specific malloc types. These should help us to pinpoint the possible memory leakage in the future. - Implementing xpt_alloc_ccb_nowait() and replacing all malloc/free based CCB memory management with xpt_alloc_ccb[_nowait]/xpt_free_ccb. Hopefully this would be helpful if someday we move the CCB allocator to use UMA instead of malloc(). Encouraged by: jeffr, rwatson Reviewed by: gibbs, scottl Approved by: re (scottl)
* Start each of the license/copyright comments with /*-imp2005-01-051-1/+1
|
* Use __FBSDID().obrien2003-06-101-2/+4
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a long standing bug in the camq teardown code.gibbs1999-08-161-3/+3
|
* cam_periph.c:gibbs1999-04-191-21/+36
| | | | | | | | | | | | | | | | | Move handling of CAM_AUTOSENSE_FAIL into block dealing with all other scsi status errors. cam_queue.c: cam_queue.h: Fix 'off by one' heap bug in a more efficient manner. Since heap algorithms like to deal with indexes started from 1, offset our heap array pointer at allocation time to make this so for a C environment. This makes the implementation of the algorithm a bit more efficient. cam_xpt.c: Use macros for accessing the head of the heap so that code is isolated from implementation details of the heap.
* Remove camq_regen(). We already perform modular comparisonsgibbs1999-04-071-44/+6
| | | | | | | for generation counts, so no further steps to deal with generation count wrap are required. Fix an off by one problem in the camq heap code.
* CAM Transport Layer (XPT).gibbs1998-09-151-0/+441
Submitted by: The CAM Team
OpenPOWER on IntegriCloud