Commit | Line | Data |
---|---|---|
a40d7b4f | 1 | # @(#)vdump 8.1 (Berkeley) %G% |
6d90a972 KB |
2 | # |
3 | # dump the vnode list | |
4 | ||
5f9353b2 KB |
5 | define dumpvnodes |
6 | ||
7 | set $vp = (struct vnode *)$arg0 | |
8 | while ($vp) | |
9 | printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount | |
10 | set $vp = (struct vnode *)$vp->v_freef | |
11 | end | |
12 | end |