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

/freebsd-12-stable/sys/geom/gate/
H A Dg_gate.h140 int gctl_unit; /* in/out */ member in struct:g_gate_ctl_create
149 int gctl_unit; member in struct:g_gate_ctl_modify
159 int gctl_unit; member in struct:g_gate_ctl_destroy
166 int gctl_unit; member in struct:g_gate_ctl_cancel
173 int gctl_unit; member in struct:g_gate_ctl_io
H A Dg_gate.c494 if (ggio->gctl_unit != G_GATE_UNIT_AUTO &&
495 ggio->gctl_unit != G_GATE_NAME_GIVEN &&
496 ggio->gctl_unit < 0) {
500 if (ggio->gctl_unit == G_GATE_NAME_GIVEN &&
522 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error);
525 if (ggio->gctl_unit == G_GATE_NAME_GIVEN)
595 ggio->gctl_unit = sc->sc_unit;
765 sc = g_gate_hold(ggio->gctl_unit, NULL);
777 sc = g_gate_hold(ggio->gctl_unit, ggio->gctl_name);
794 sc = g_gate_hold(ggio->gctl_unit, ggi
[all...]
/freebsd-12-stable/sbin/ggate/ggatel/
H A Dggatel.c99 ggio.gctl_unit = unit;
180 ggioc.gctl_unit = unit;
191 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit);
192 unit = ggioc.gctl_unit;
207 ggioc.gctl_unit = unit;
/freebsd-12-stable/sbin/ggate/ggatec/
H A Dggatec.c104 ggio.gctl_unit = unit;
198 ggio.gctl_unit = unit;
437 ggioc.gctl_unit = unit;
461 ggioc.gctl_unit = unit;
466 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit);
469 unit = ggioc.gctl_unit;
484 ggioc.gctl_unit = unit;
/freebsd-12-stable/sbin/hastd/
H A Dprimary.c237 (hio)->hio_ggio.gctl_unit = -1; \
240 #define ISSYNCREQ(hio) ((hio)->hio_ggio.gctl_unit == -1)
241 #define SYNCREQDONE(hio) do { (hio)->hio_ggio.gctl_unit = -2; } while (0)
242 #define ISSYNCREQDONE(hio) ((hio)->hio_ggio.gctl_unit == -2)
296 ggiod.gctl_unit = res->hr_ggateunit;
621 ggiomodify.gctl_unit = res->hr_ggateunit;
931 ggiocreate.gctl_unit = G_GATE_NAME_GIVEN;
936 res->hr_ggateunit = ggiocreate.gctl_unit;
953 ggiocancel.gctl_unit = G_GATE_NAME_GIVEN;
958 res->hr_ggateunit = ggiocancel.gctl_unit;
[all...]
/freebsd-12-stable/sbin/ggate/shared/
H A Dggate.c207 ggio.gctl_unit = unit;

Completed in 109 milliseconds