Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/nop/g_nop.c
Show First 20 Lines • Show All 709 Lines • ▼ Show 20 Lines | g_nop_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, | ||||
sbuf_printf(sb, "%s<Cmd2s>%ju</Cmd2s>\n", indent, sc->sc_cmd2s); | sbuf_printf(sb, "%s<Cmd2s>%ju</Cmd2s>\n", indent, sc->sc_cmd2s); | ||||
sbuf_printf(sb, "%s<ReadBytes>%ju</ReadBytes>\n", indent, | sbuf_printf(sb, "%s<ReadBytes>%ju</ReadBytes>\n", indent, | ||||
sc->sc_readbytes); | sc->sc_readbytes); | ||||
sbuf_printf(sb, "%s<WroteBytes>%ju</WroteBytes>\n", indent, | sbuf_printf(sb, "%s<WroteBytes>%ju</WroteBytes>\n", indent, | ||||
sc->sc_wrotebytes); | sc->sc_wrotebytes); | ||||
} | } | ||||
DECLARE_GEOM_CLASS(g_nop_class, g_nop); | DECLARE_GEOM_CLASS(g_nop_class, g_nop); | ||||
MODULE_VERSION(geom_nop, 0); |