geom_int.h (112534) | geom_int.h (112876) |
---|---|
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 112534 2003-03-24 13:37:15Z phk $ | 35 * $FreeBSD: head/sys/geom/geom_int.h 112876 2003-03-31 18:35:37Z 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 49 * 8 Enable sanity checks 50 * 16 Allow footshooting on rank#1 providers 51 * 32 G_T_DETAILS 52 */ 53#define G_F_DISKIOCTL 64 | 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 50 * 16 Allow footshooting on rank#1 providers 51 * 32 G_T_DETAILS 52 */ 53#define G_F_DISKIOCTL 64 |
54#define G_F_CTLDUMP 128 |
|
54 55 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 */ --- 53 unchanged lines hidden --- | 55 56 57/* 58 * Various internal actions are tracked by tagging g_event[s] onto 59 * an internal eventqueue. 60 */ 61enum g_events { 62 EV_NEW_CLASS, /* class */ --- 53 unchanged lines hidden --- |