geom_int.h (110541) | geom_int.h (110759) |
---|---|
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 110541 2003-02-08 13:03:57Z phk $ | 35 * $FreeBSD: head/sys/geom/geom_int.h 110759 2003-02-12 09:48:27Z 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; | 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/* 1 G_T_TOPOLOGY */ 46/* 2 G_T_BIO */ 47/* 4 G_T_ACCESS */ 48/* 8 enable sanity checks */ | 45/* 46 * 1 G_T_TOPOLOGY 47 * 2 G_T_BIO 48 * 4 G_T_ACCESS 49 * 8 enable sanity checks 50 * 16 Allow footshooting on rank#1 providers 51 */ |
49 50/* 51 * Various internal actions are tracked by tagging g_event[s] onto 52 * an internal eventqueue. 53 */ 54enum g_events { 55 EV_NEW_CLASS, /* class */ 56 EV_NEW_PROVIDER, /* provider */ --- 51 unchanged lines hidden --- | 52 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 */ --- 51 unchanged lines hidden --- |