Home
last modified time | relevance | path

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

/freebsd-14.2/sys/geom/gate/
H A Dg_gate.h120 int gctl_unit; /* in/out */ member
129 int gctl_unit; member
139 int gctl_unit; member
146 int gctl_unit; member
153 int gctl_unit; member
H A Dg_gate.c491 if (ggio->gctl_unit != G_GATE_UNIT_AUTO && in g_gate_create()
492 ggio->gctl_unit != G_GATE_NAME_GIVEN && in g_gate_create()
493 ggio->gctl_unit < 0) { in g_gate_create()
497 if (ggio->gctl_unit == G_GATE_NAME_GIVEN && in g_gate_create()
524 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) { in g_gate_create()
600 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
777 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
834 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) in g_gate_ioctl()
835 ggio->gctl_unit = sc->sc_unit; in g_gate_ioctl()
845 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
[all …]
/freebsd-14.2/sbin/ggate/ggatel/
H A Dggatel.c97 ggio.gctl_unit = unit; in g_gatel_serve()
178 ggioc.gctl_unit = unit; in g_gatel_create()
189 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); in g_gatel_create()
190 unit = ggioc.gctl_unit; in g_gatel_create()
205 ggioc.gctl_unit = unit; in g_gatel_rescue()
/freebsd-14.2/sbin/ggate/ggatec/
H A Dggatec.c106 ggio.gctl_unit = unit; in send_thread()
223 ggio.gctl_unit = unit; in recv_thread()
479 ggioc.gctl_unit = unit; in g_gatec_loop()
503 ggioc.gctl_unit = unit; in g_gatec_create()
508 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); in g_gatec_create()
511 unit = ggioc.gctl_unit; in g_gatec_create()
526 ggioc.gctl_unit = unit; in g_gatec_rescue()
/freebsd-14.2/sbin/hastd/
H A Dprimary.c235 (hio)->hio_ggio.gctl_unit = -1; \
238 #define ISSYNCREQ(hio) ((hio)->hio_ggio.gctl_unit == -1)
239 #define SYNCREQDONE(hio) do { (hio)->hio_ggio.gctl_unit = -2; } while (0)
240 #define ISSYNCREQDONE(hio) ((hio)->hio_ggio.gctl_unit == -2)
294 ggiod.gctl_unit = res->hr_ggateunit; in cleanup()
619 ggiomodify.gctl_unit = res->hr_ggateunit; in enable_direct_reads()
929 ggiocreate.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
934 res->hr_ggateunit = ggiocreate.gctl_unit; in init_ggate()
951 ggiocancel.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
956 res->hr_ggateunit = ggiocancel.gctl_unit; in init_ggate()
[all …]
/freebsd-14.2/sbin/ggate/shared/
H A Dggate.c205 ggio.gctl_unit = unit; in g_gate_destroy()