Home
last modified time | relevance | path

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

/freebsd/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.c490 if (ggio->gctl_unit != G_GATE_UNIT_AUTO && in g_gate_create()
491 ggio->gctl_unit != G_GATE_NAME_GIVEN && in g_gate_create()
492 ggio->gctl_unit < 0) { in g_gate_create()
496 if (ggio->gctl_unit == G_GATE_NAME_GIVEN && in g_gate_create()
520 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error); in g_gate_create()
523 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) { in g_gate_create()
599 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
776 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
788 sc = g_gate_hold(ggio->gctl_unit, ggio->gctl_name); in g_gate_ioctl()
805 sc = g_gate_hold(ggio->gctl_unit, ggio->gctl_name); in g_gate_ioctl()
[all …]
/freebsd/sbin/ggate/ggatel/
H A Dggatel.c103 ggio.gctl_unit = unit; in g_gatel_serve()
184 ggioc.gctl_unit = unit; in g_gatel_create()
195 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); in g_gatel_create()
196 unit = ggioc.gctl_unit; in g_gatel_create()
211 ggioc.gctl_unit = unit; in g_gatel_rescue()
/freebsd/sbin/ggate/ggatec/
H A Dggatec.c108 ggio.gctl_unit = unit; in send_thread()
225 ggio.gctl_unit = unit; in recv_thread()
481 ggioc.gctl_unit = unit; in g_gatec_loop()
505 ggioc.gctl_unit = unit; in g_gatec_create()
510 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); in g_gatec_create()
513 unit = ggioc.gctl_unit; in g_gatec_create()
528 ggioc.gctl_unit = unit; in g_gatec_rescue()
/freebsd/sbin/hastd/
H A Dprimary.c234 (hio)->hio_ggio.gctl_unit = -1; \
237 #define ISSYNCREQ(hio) ((hio)->hio_ggio.gctl_unit == -1)
238 #define SYNCREQDONE(hio) do { (hio)->hio_ggio.gctl_unit = -2; } while (0)
239 #define ISSYNCREQDONE(hio) ((hio)->hio_ggio.gctl_unit == -2)
293 ggiod.gctl_unit = res->hr_ggateunit; in cleanup()
618 ggiomodify.gctl_unit = res->hr_ggateunit; in enable_direct_reads()
928 ggiocreate.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
933 res->hr_ggateunit = ggiocreate.gctl_unit; in init_ggate()
950 ggiocancel.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
955 res->hr_ggateunit = ggiocancel.gctl_unit; in init_ggate()
[all …]
/freebsd/sbin/ggate/shared/
H A Dggate.c205 ggio.gctl_unit = unit; in g_gate_destroy()