Searched refs:ggio (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/sbin/ggate/ggatel/ |
H A D | ggatel.c | 88 struct g_gate_ctl_io ggio; local 98 ggio.gctl_version = G_GATE_VERSION; 99 ggio.gctl_unit = unit; 101 ggio.gctl_data = malloc(bsize); 105 ggio.gctl_length = bsize; 106 ggio.gctl_error = 0; 107 g_gate_ioctl(G_GATE_CMD_START, &ggio); 108 error = ggio.gctl_error; 114 free(ggio.gctl_data); 120 assert(ggio [all...] |
/freebsd-11-stable/sys/geom/gate/ |
H A D | g_gate.c | 462 g_gate_create(struct g_gate_ctl_create *ggio) argument 471 if (ggio->gctl_mediasize <= 0) { 475 if (ggio->gctl_sectorsize <= 0) { 479 if (!powerof2(ggio->gctl_sectorsize)) { 483 if ((ggio->gctl_mediasize % ggio->gctl_sectorsize) != 0) { 487 if ((ggio->gctl_flags & G_GATE_FLAG_READONLY) != 0 && 488 (ggio->gctl_flags & G_GATE_FLAG_WRITEONLY) != 0) { 492 if (ggio->gctl_unit != G_GATE_UNIT_AUTO && 493 ggio 631 g_gate_modify(struct g_gate_softc *sc, struct g_gate_ctl_modify *ggio) argument 745 struct g_gate_ctl_create *ggio = (void *)addr; local 760 struct g_gate_ctl_modify *ggio = (void *)addr; local 772 struct g_gate_ctl_destroy *ggio = (void *)addr; local 788 struct g_gate_ctl_cancel *ggio = (void *)addr; local 828 struct g_gate_ctl_io *ggio = (void *)addr; local 890 struct g_gate_ctl_io *ggio = (void *)addr; local [all...] |
/freebsd-11-stable/sbin/ggate/ggatec/ |
H A D | ggatec.c | 94 struct g_gate_ctl_io ggio; local 102 ggio.gctl_version = G_GATE_VERSION; 103 ggio.gctl_unit = unit; 104 ggio.gctl_data = buf; 107 ggio.gctl_length = sizeof(buf); 108 ggio.gctl_error = 0; 109 g_gate_ioctl(G_GATE_CMD_START, &ggio); 110 error = ggio.gctl_error; 123 ggio.gctl_data = realloc(ggio 202 struct g_gate_ctl_io ggio; local [all...] |
/freebsd-11-stable/sbin/hastd/ |
H A D | primary.c | 1104 reqlog(int loglevel, int debuglevel, struct g_gate_ctl_io *ggio, argument 1113 switch (ggio->gctl_cmd) { 1116 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length); 1120 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length); 1127 (uintmax_t)ggio->gctl_offset, (uintmax_t)ggio->gctl_length); 1131 (unsigned int)ggio->gctl_cmd); 1183 struct g_gate_ctl_io *ggio; local 1228 struct g_gate_ctl_io *ggio; local 1388 struct g_gate_ctl_io *ggio; local 1549 struct g_gate_ctl_io *ggio; local 1706 struct g_gate_ctl_io *ggio; local 1868 struct g_gate_ctl_io *ggio; local 1961 struct g_gate_ctl_io *ggio; local [all...] |
/freebsd-11-stable/sbin/ggate/shared/ |
H A D | ggate.c | 204 struct g_gate_ctl_destroy ggio; local 206 ggio.gctl_version = G_GATE_VERSION; 207 ggio.gctl_unit = unit; 208 ggio.gctl_force = force; 209 g_gate_ioctl(G_GATE_CMD_DESTROY, &ggio);
|
Completed in 71 milliseconds