1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Add definitions for TAILQ, LIST, and SLIST ccb_hdr queues.

This commit is contained in:
Justin T. Gibbs 1998-12-15 08:12:03 +00:00
parent fd3ae282c5
commit 6fc6a73645
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41813

View File

@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: cam_queue.h,v 1.1 1998/09/15 06:33:23 gibbs Exp $
*/
#ifndef _CAM_CAM_QUEUE_H
@ -50,7 +50,9 @@ struct camq {
u_int32_t qfrozen_cnt;
};
TAILQ_HEAD(ccb_hdr_list, ccb_hdr);
TAILQ_HEAD(ccb_hdr_tailq, ccb_hdr);
LIST_HEAD(ccb_hdr_list, ccb_hdr);
SLIST_HEAD(ccb_hdr_slist, ccb_hdr);
struct cam_ccbq {
struct camq queue;
@ -58,7 +60,7 @@ struct cam_ccbq {
int dev_openings;
int dev_active;
int held;
struct ccb_hdr_list active_ccbs;
struct ccb_hdr_tailq active_ccbs;
};
struct cam_ed;