geom_dump.c (e805e8f0e8f9f762bfb5bffd72380a1b101b1a8b) geom_dump.c (b1876192f015b1cf392b52b82b124265fc9683a7)
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

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

45#include <err.h>
46#else
47#include <sys/systm.h>
48#include <sys/malloc.h>
49#endif
50#include <machine/stdarg.h>
51
52#include <geom/geom.h>
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

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

45#include <err.h>
46#else
47#include <sys/systm.h>
48#include <sys/malloc.h>
49#endif
50#include <machine/stdarg.h>
51
52#include <geom/geom.h>
53#include <geom/geom_int.h>
53
54
55static void
56g_confdot_consumer(struct sbuf *sb, struct g_consumer *cp)
57{
58
59 sbuf_printf(sb, "z%p [label=\"r%dw%de%d\\nbio #%d\"];\n",
60 cp, cp->acr, cp->acw, cp->ace, cp->biocount);

--- 215 unchanged lines hidden ---
54
55
56static void
57g_confdot_consumer(struct sbuf *sb, struct g_consumer *cp)
58{
59
60 sbuf_printf(sb, "z%p [label=\"r%dw%de%d\\nbio #%d\"];\n",
61 cp, cp->acr, cp->acw, cp->ace, cp->biocount);

--- 215 unchanged lines hidden ---