Deleted Added
full compact
cam_queue.h (39212) cam_queue.h (41813)
1/*
2 * CAM request queue management definitions.
3 *
4 * Copyright (c) 1997 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*
2 * CAM request queue management definitions.
3 *
4 * Copyright (c) 1997 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id$
28 * $Id: cam_queue.h,v 1.1 1998/09/15 06:33:23 gibbs Exp $
29 */
30
31#ifndef _CAM_CAM_QUEUE_H
32#define _CAM_CAM_QUEUE_H 1
33
34#ifdef KERNEL
35
36#include <sys/queue.h>

--- 8 unchanged lines hidden (view full) ---

45struct camq {
46 cam_pinfo **queue_array;
47 int array_size;
48 int entries;
49 u_int32_t generation;
50 u_int32_t qfrozen_cnt;
51};
52
29 */
30
31#ifndef _CAM_CAM_QUEUE_H
32#define _CAM_CAM_QUEUE_H 1
33
34#ifdef KERNEL
35
36#include <sys/queue.h>

--- 8 unchanged lines hidden (view full) ---

45struct camq {
46 cam_pinfo **queue_array;
47 int array_size;
48 int entries;
49 u_int32_t generation;
50 u_int32_t qfrozen_cnt;
51};
52
53TAILQ_HEAD(ccb_hdr_list, ccb_hdr);
53TAILQ_HEAD(ccb_hdr_tailq, ccb_hdr);
54LIST_HEAD(ccb_hdr_list, ccb_hdr);
55SLIST_HEAD(ccb_hdr_slist, ccb_hdr);
54
55struct cam_ccbq {
56 struct camq queue;
57 int devq_openings;
58 int dev_openings;
59 int dev_active;
60 int held;
56
57struct cam_ccbq {
58 struct camq queue;
59 int devq_openings;
60 int dev_openings;
61 int dev_active;
62 int held;
61 struct ccb_hdr_list active_ccbs;
63 struct ccb_hdr_tailq active_ccbs;
62};
63
64struct cam_ed;
65
66struct cam_devq {
67 struct camq alloc_queue;
68 struct camq send_queue;
69 struct cam_ed *active_dev;

--- 167 unchanged lines hidden ---
64};
65
66struct cam_ed;
67
68struct cam_devq {
69 struct camq alloc_queue;
70 struct camq send_queue;
71 struct cam_ed *active_dev;

--- 167 unchanged lines hidden ---