Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/geom/gate/
HDg_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
HDg_gate.c494 if (ggio->gctl_unit != G_GATE_UNIT_AUTO && in g_gate_create()
495 ggio->gctl_unit != G_GATE_NAME_GIVEN && in g_gate_create()
496 ggio->gctl_unit < 0) { in g_gate_create()
500 if (ggio->gctl_unit == G_GATE_NAME_GIVEN && in g_gate_create()
524 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error); in g_gate_create()
527 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) { in g_gate_create()
603 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
780 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
792 sc = g_gate_hold(ggio->gctl_unit, ggio->gctl_name); in g_gate_ioctl()
809 sc = g_gate_hold(ggio->gctl_unit, ggio->gctl_name); in g_gate_ioctl()
[all …]
/freebsd-13-stable/sbin/ggate/ggatel/
HDggatel.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-13-stable/sbin/ggate/ggatec/
HDggatec.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-13-stable/sbin/hastd/
HDprimary.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-13-stable/sbin/ggate/shared/
HDggate.c205 ggio.gctl_unit = unit; in g_gate_destroy()