1 # $NetBSD: vdump,v 1.4 2006/11/04 20:33:17 pooka Exp $
3 # @(#)vdump 8.1 (Berkeley) 6/10/93
8 set $vp = (struct vnode *)$arg0
10 printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freelist.tqe_next, $vp->v_mntvnodes.tqe_next, $vp->v_uobj.uo_refs
11 set $vp = (struct vnode *)$vp->v_freelist.tqe_next