g_gate.c (4e3eb21c) g_gate.c (cb08c2cc)
1/*-
2 * Copyright (c) 2004-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * Copyright (c) 2009-2010 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by Pawel Jakub Dawidek
7 * under sponsorship from the FreeBSD Foundation.
8 *

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

48#include <sys/sysctl.h>
49#include <sys/signalvar.h>
50#include <sys/time.h>
51#include <machine/atomic.h>
52
53#include <geom/geom.h>
54#include <geom/gate/g_gate.h>
55
1/*-
2 * Copyright (c) 2004-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * Copyright (c) 2009-2010 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by Pawel Jakub Dawidek
7 * under sponsorship from the FreeBSD Foundation.
8 *

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

48#include <sys/sysctl.h>
49#include <sys/signalvar.h>
50#include <sys/time.h>
51#include <machine/atomic.h>
52
53#include <geom/geom.h>
54#include <geom/gate/g_gate.h>
55
56FEATURE(geom_gate, "GEOM Gate module");
57
56static MALLOC_DEFINE(M_GATE, "gg_data", "GEOM Gate Data");
57
58SYSCTL_DECL(_kern_geom);
59SYSCTL_NODE(_kern_geom, OID_AUTO, gate, CTLFLAG_RW, 0, "GEOM_GATE stuff");
60static int g_gate_debug = 0;
61TUNABLE_INT("kern.geom.gate.debug", &g_gate_debug);
62SYSCTL_INT(_kern_geom_gate, OID_AUTO, debug, CTLFLAG_RW, &g_gate_debug, 0,
63 "Debug level");

--- 637 unchanged lines hidden ---
58static MALLOC_DEFINE(M_GATE, "gg_data", "GEOM Gate Data");
59
60SYSCTL_DECL(_kern_geom);
61SYSCTL_NODE(_kern_geom, OID_AUTO, gate, CTLFLAG_RW, 0, "GEOM_GATE stuff");
62static int g_gate_debug = 0;
63TUNABLE_INT("kern.geom.gate.debug", &g_gate_debug);
64SYSCTL_INT(_kern_geom_gate, OID_AUTO, debug, CTLFLAG_RW, &g_gate_debug, 0,
65 "Debug level");

--- 637 unchanged lines hidden ---