Home
last modified time | relevance | path

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

/freebsd/sbin/hastd/
H A Dprimary.c90 struct g_gate_ctl_io hio_ggio; member
234 (hio)->hio_ggio.gctl_unit = -1; \
235 (hio)->hio_ggio.gctl_seq = 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)
242 (hio)->hio_ggio.gctl_cmd == BIO_WRITE && !ISSYNCREQ(hio))
489 hio->hio_ggio.gctl_version = G_GATE_VERSION; in init_environment()
490 hio->hio_ggio.gctl_data = malloc(MAXPHYS); in init_environment()
491 if (hio->hio_ggio.gctl_data == NULL) { in init_environment()
[all …]