xref: /csrg-svn/sys/scripts/vdump (revision 63242)
1define dumpvnodes
2
3	set $vp = (struct vnode *)$arg0
4	while ($vp)
5		printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount
6		set $vp = (struct vnode *)$vp->v_freef
7	end
8end
9
10