FreeBSD/sys/fs/ext2fs/ext2_vnops.c
/*
 * Print out the contents of an inode.
 */
Print out the contents of an inode.
Print out the contents of an inode .
static int
ext2_print(struct vop_print_args *ap)
{
	struct vnode *vp = ap->a_vp;
	struct inode *ip = VTOI(vp);
	vn_printf(ip->i_devvp, "\tino %ju", (uintmax_t)ip->i_number);
	if (vp->v_type == VFIFO)
		fifo_printinfo(vp);
	printf("\n");
	return (0);
}
static int ext2_print ( struct vop_print_args * ap ) { struct vnode * vp = ap -> a_vp ; struct inode * ip = VTOI ( vp ) ; vn_printf ( ip -> i_devvp , " \t " , ( uintmax_t ) ip -> i_number ) ; if ( vp -> v_type == VFIFO ) fifo_printinfo ( vp ) ; printf ( " \n " ) ; return ( 0 ) ; }
Print out the contents of an inode.
Print out the contents of an inode .