geom_int.h (112370) | geom_int.h (112476) |
---|---|
1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 18 unchanged lines hidden (view full) --- 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * | 1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 18 unchanged lines hidden (view full) --- 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * |
35 * $FreeBSD: head/sys/geom/geom_int.h 112370 2003-03-18 09:42:33Z phk $ | 35 * $FreeBSD: head/sys/geom/geom_int.h 112476 2003-03-21 22:05:33Z phk $ |
36 */ 37 38LIST_HEAD(class_list_head, g_class); 39TAILQ_HEAD(g_tailq_head, g_geom); 40TAILQ_HEAD(event_tailq_head, g_event); 41 42extern struct event_tailq_head events; 43extern int g_collectstats; 44extern int g_debugflags; 45/* 46 * 1 G_T_TOPOLOGY 47 * 2 G_T_BIO 48 * 4 G_T_ACCESS | 36 */ 37 38LIST_HEAD(class_list_head, g_class); 39TAILQ_HEAD(g_tailq_head, g_geom); 40TAILQ_HEAD(event_tailq_head, g_event); 41 42extern struct event_tailq_head events; 43extern int g_collectstats; 44extern int g_debugflags; 45/* 46 * 1 G_T_TOPOLOGY 47 * 2 G_T_BIO 48 * 4 G_T_ACCESS |
49 * 8 enable sanity checks | 49 * 8 Enable sanity checks |
50 * 16 Allow footshooting on rank#1 providers | 50 * 16 Allow footshooting on rank#1 providers |
51 * 32 G_T_DETAILS |
|
51 */ | 52 */ |
53#define G_F_DISKIOCTL 64 |
|
52 | 54 |
55 |
|
53/* 54 * Various internal actions are tracked by tagging g_event[s] onto 55 * an internal eventqueue. 56 */ 57enum g_events { 58 EV_NEW_CLASS, /* class */ 59 EV_NEW_PROVIDER, /* provider */ 60 EV_SPOILED, /* provider, consumer */ --- 45 unchanged lines hidden --- | 56/* 57 * Various internal actions are tracked by tagging g_event[s] onto 58 * an internal eventqueue. 59 */ 60enum g_events { 61 EV_NEW_CLASS, /* class */ 62 EV_NEW_PROVIDER, /* provider */ 63 EV_SPOILED, /* provider, consumer */ --- 45 unchanged lines hidden --- |