Searched refs:g_gate_maxunits (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/sys/geom/gate/
H A Dg_gate.c68 static u_int g_gate_maxunits = 256; variable
69 TUNABLE_INT("kern.geom.gate.maxunits", &g_gate_maxunits);
71 &g_gate_maxunits, 0, "Maximum number of ggate devices");
280 if (unit >= 0 && unit < g_gate_maxunits)
284 for (unit = 0; unit < g_gate_maxunits; unit++) {
320 if (unit >= g_gate_maxunits)
327 for (unit = 0; unit < g_gate_maxunits; unit++) {
504 for (unit = 0; unit < g_gate_maxunits; unit++) {
936 g_gate_units = malloc(g_gate_maxunits * sizeof(g_gate_units[0]),

Completed in 102 milliseconds