Home | History | Annotate | Download | only in lfs

Lines Matching refs:vp2

118 static int lfs_reservebuf(struct lfs *, struct vnode *vp, struct vnode *vp2,
120 static int lfs_reserveavail(struct lfs *, struct vnode *vp, struct vnode *vp2,
155 struct vnode *vp2, int n, int bytes)
210 struct vnode *vp2, int fsb)
268 lfs_reserve(struct lfs *fs, struct vnode *vp, struct vnode *vp2, int fsb)
273 if (vp2) {
274 /* Make sure we're not in the process of reclaiming vp2 */
284 KASSERT(vp2 == NULL || fsb < 0 || VOP_ISLOCKED(vp2));
285 KASSERT(vp2 == NULL || vp2 != fs->lfs_unlockvp);
298 error = lfs_reserveavail(fs, vp, vp2, fsb);
305 error = lfs_reservebuf(fs, vp, vp2, fsb, lfs_fsbtob(fs, fsb));
307 lfs_reserveavail(fs, vp, vp2, -fsb);