Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/concat/g_concat.c
Show All 12 Lines | |||||
#include <geom/geom_dbg.h> | #include <geom/geom_dbg.h> | ||||
#include <geom/concat/g_concat.h> | #include <geom/concat/g_concat.h> | ||||
FEATURE(geom_concat, "GEOM concatenation support"); | FEATURE(geom_concat, "GEOM concatenation support"); | ||||
static MALLOC_DEFINE(M_CONCAT, "concat_data", "GEOM_CONCAT Data"); | static MALLOC_DEFINE(M_CONCAT, "concat_data", "GEOM_CONCAT Data"); | ||||
SYSCTL_DECL(_kern_geom); | SYSCTL_DECL(_kern_geom); | ||||
static SYSCTL_NODE(_kern_geom, OID_AUTO, concat, CTLFLAG_RW, 0, | static SYSCTL_NODE(_kern_geom, OID_AUTO, concat, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"GEOM_CONCAT stuff"); | "GEOM_CONCAT stuff"); | ||||
static u_int g_concat_debug = 0; | static u_int g_concat_debug = 0; | ||||
SYSCTL_UINT(_kern_geom_concat, OID_AUTO, debug, CTLFLAG_RWTUN, &g_concat_debug, 0, | SYSCTL_UINT(_kern_geom_concat, OID_AUTO, debug, CTLFLAG_RWTUN, &g_concat_debug, 0, | ||||
"Debug level"); | "Debug level"); | ||||
static int g_concat_destroy(struct g_concat_softc *sc, boolean_t force); | static int g_concat_destroy(struct g_concat_softc *sc, boolean_t force); | ||||
static int g_concat_destroy_geom(struct gctl_req *req, struct g_class *mp, | static int g_concat_destroy_geom(struct gctl_req *req, struct g_class *mp, | ||||
struct g_geom *gp); | struct g_geom *gp); | ||||
Show All 12 Lines |