geom_dump.c (0f9d3dba37012c2f7c32c9800088b763d2d648b4) geom_dump.c (801bb689ca8be76700b0c16c159683b5fa89472d)
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 45 unchanged lines hidden (view full) ---

54#include <geom/geom.h>
55#include <geom/geom_int.h>
56
57
58static void
59g_confdot_consumer(struct sbuf *sb, struct g_consumer *cp)
60{
61
1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp
3 * Copyright (c) 2002 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
7 * and NAI Labs, the Security Research Division of Network Associates, Inc.
8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the

--- 45 unchanged lines hidden (view full) ---

54#include <geom/geom.h>
55#include <geom/geom_int.h>
56
57
58static void
59g_confdot_consumer(struct sbuf *sb, struct g_consumer *cp)
60{
61
62 sbuf_printf(sb, "z%p [label=\"r%dw%de%d\\nbio #%d\"];\n",
63 cp, cp->acr, cp->acw, cp->ace, cp->biocount);
62 sbuf_printf(sb, "z%p [label=\"r%dw%de%d\"];\n",
63 cp, cp->acr, cp->acw, cp->ace);
64 if (cp->provider)
65 sbuf_printf(sb, "z%p -> z%p;\n", cp, cp->provider);
66}
67
68static void
69g_confdot_provider(struct sbuf *sb, struct g_provider *pp)
70{
71

--- 246 unchanged lines hidden ---
64 if (cp->provider)
65 sbuf_printf(sb, "z%p -> z%p;\n", cp, cp->provider);
66}
67
68static void
69g_confdot_provider(struct sbuf *sb, struct g_provider *pp)
70{
71

--- 246 unchanged lines hidden ---