Searched refs:ggio (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/sbin/ggate/ggatel/
H A Dggatel.c86 struct g_gate_ctl_io ggio; local
96 ggio.gctl_version = G_GATE_VERSION;
97 ggio.gctl_unit = unit;
99 ggio.gctl_data = malloc(bsize);
103 ggio.gctl_length = bsize;
104 ggio.gctl_error = 0;
105 g_gate_ioctl(G_GATE_CMD_START, &ggio);
106 error = ggio.gctl_error;
112 free(ggio.gctl_data);
118 assert(ggio
[all...]
/freebsd-9.3-release/sys/geom/gate/
H A Dg_gate.c431 g_gate_create(struct g_gate_ctl_create *ggio) argument
440 if (ggio->gctl_mediasize <= 0) {
444 if (ggio->gctl_sectorsize <= 0) {
448 if (!powerof2(ggio->gctl_sectorsize)) {
452 if ((ggio->gctl_mediasize % ggio->gctl_sectorsize) != 0) {
456 if ((ggio->gctl_flags & G_GATE_FLAG_READONLY) != 0 &&
457 (ggio->gctl_flags & G_GATE_FLAG_WRITEONLY) != 0) {
461 if (ggio->gctl_unit != G_GATE_UNIT_AUTO &&
462 ggio
596 g_gate_modify(struct g_gate_softc *sc, struct g_gate_ctl_modify *ggio) argument
707 struct g_gate_ctl_create *ggio = (void *)addr; local
722 struct g_gate_ctl_modify *ggio = (void *)addr; local
734 struct g_gate_ctl_destroy *ggio = (void *)addr; local
750 struct g_gate_ctl_cancel *ggio = (void *)addr; local
790 struct g_gate_ctl_io *ggio = (void *)addr; local
852 struct g_gate_ctl_io *ggio = (void *)addr; local
[all...]
/freebsd-9.3-release/sbin/ggate/ggatec/
H A Dggatec.c92 struct g_gate_ctl_io ggio; local
100 ggio.gctl_version = G_GATE_VERSION;
101 ggio.gctl_unit = unit;
102 ggio.gctl_data = buf;
105 ggio.gctl_length = sizeof(buf);
106 ggio.gctl_error = 0;
107 g_gate_ioctl(G_GATE_CMD_START, &ggio);
108 error = ggio.gctl_error;
121 ggio.gctl_data = realloc(ggio
186 struct g_gate_ctl_io ggio; local
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dprimary.c1103 reqlog(int loglevel, int debuglevel, struct g_gate_ctl_io *ggio, argument
1112 switch (ggio->gctl_cmd) {
1115 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length);
1119 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length);
1126 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length);
1130 (unsigned int)ggio->gctl_cmd);
1182 struct g_gate_ctl_io *ggio; local
1227 struct g_gate_ctl_io *ggio; local
1387 struct g_gate_ctl_io *ggio; local
1548 struct g_gate_ctl_io *ggio; local
1705 struct g_gate_ctl_io *ggio; local
1867 struct g_gate_ctl_io *ggio; local
1960 struct g_gate_ctl_io *ggio; local
[all...]
/freebsd-9.3-release/sbin/ggate/shared/
H A Dggate.c202 struct g_gate_ctl_destroy ggio; local
204 ggio.gctl_version = G_GATE_VERSION;
205 ggio.gctl_unit = unit;
206 ggio.gctl_force = force;
207 g_gate_ioctl(G_GATE_CMD_DESTROY, &ggio);

Completed in 61 milliseconds