FreeBSD/sys/ufs/ffs/ffs_vnops.c
/*
 * Vnode extattr strategy routine for fifos.
 *
 * We need to check for a read or write of the external attributes.
 * Otherwise we just fall through and do the usual thing.
 */
Vnode extattr strategy routine for fifos.
We need to check for a read or write of the external attributes.
Otherwise we just fall through and do the usual thing.
Vnode extattr strategy routine for fifos . We need to check for a read or write of the external attributes . Otherwise we just fall through and do the usual thing .
static int
ffsext_strategy(struct vop_strategy_args *ap)
{
	struct vnode *vp;
	daddr_t lbn;
	vp = ap->a_vp;
	lbn = ap->a_bp->b_lblkno;
	if (VTOI(vp)->i_fs->fs_magic == FS_UFS2_MAGIC &&
	    lbn < 0 && lbn >= -NXADDR)
		return (VOP_STRATEGY_APV(&ufs_vnodeops, ap));
	if (vp->v_type == VFIFO)
		return (VOP_STRATEGY_APV(&ufs_fifoops, ap));
	panic("spec nodes went here");
}
static int ffsext_strategy ( struct vop_strategy_args * ap ) { struct vnode * vp ; daddr_t lbn ; vp = ap -> a_vp ; lbn = ap -> a_bp -> b_lblkno ; if ( VTOI ( vp ) -> i_fs -> fs_magic == FS_UFS2_MAGIC && lbn < 0 && lbn >= - NXADDR ) return ( VOP_STRATEGY_APV ( & ufs_vnodeops , ap ) ) ; if ( vp -> v_type == VFIFO ) return ( VOP_STRATEGY_APV ( & ufs_fifoops , ap ) ) ; panic ( " " ) ; }
Vnode extattr strategy routine for fifos.
Vnode extattr strategy routine for fifos .
/*
struct vop_strategy_args {
	struct vnodeop_desc *a_desc;
	struct vnode *a_vp;
	struct buf *a_bp;
};
*/