Home
last modified time | relevance | path

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

/freebsd-13.1/sys/geom/gate/
H A Dg_gate.h122 int gctl_unit; /* in/out */ member
131 int gctl_unit; member
141 int gctl_unit; member
148 int gctl_unit; member
155 int gctl_unit; member
H A Dg_gate.c496 if (ggio->gctl_unit != G_GATE_UNIT_AUTO && in g_gate_create()
497 ggio->gctl_unit != G_GATE_NAME_GIVEN && in g_gate_create()
498 ggio->gctl_unit < 0) { in g_gate_create()
502 if (ggio->gctl_unit == G_GATE_NAME_GIVEN && in g_gate_create()
529 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) { in g_gate_create()
605 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
782 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
839 if (ggio->gctl_unit == G_GATE_NAME_GIVEN) in g_gate_ioctl()
840 ggio->gctl_unit = sc->sc_unit; in g_gate_ioctl()
850 sc = g_gate_hold(ggio->gctl_unit, NULL); in g_gate_ioctl()
[all …]
/freebsd-13.1/sbin/ggate/ggatel/
H A Dggatel.c99 ggio.gctl_unit = unit; in g_gatel_serve()
180 ggioc.gctl_unit = unit; in g_gatel_create()
191 printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); in g_gatel_create()
192 unit = ggioc.gctl_unit; in g_gatel_create()
207 ggioc.gctl_unit = unit; in g_gatel_rescue()
/freebsd-13.1/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-13.1/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; in cleanup()
621 ggiomodify.gctl_unit = res->hr_ggateunit; in enable_direct_reads()
931 ggiocreate.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
936 res->hr_ggateunit = ggiocreate.gctl_unit; in init_ggate()
953 ggiocancel.gctl_unit = G_GATE_NAME_GIVEN; in init_ggate()
958 res->hr_ggateunit = ggiocancel.gctl_unit; in init_ggate()
[all …]
/freebsd-13.1/sbin/ggate/shared/
H A Dggate.c207 ggio.gctl_unit = unit; in g_gate_destroy()