Lines Matching refs:lf
1497 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_wlockfs() argument
1503 err = ufs_fiolfss(vp, lf); in allocsp_wlockfs()
1506 } while (!LOCKFS_IS_ULOCK(lf)); in allocsp_wlockfs()
1508 lf->lf_lock = LOCKFS_WLOCK; in allocsp_wlockfs()
1509 lf->lf_flags = 0; in allocsp_wlockfs()
1510 lf->lf_comment = NULL; in allocsp_wlockfs()
1511 err = ufs__fiolfs(vp, lf, 1, 0); in allocsp_wlockfs()
1523 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_unlockfs() argument
1527 lf->lf_lock = LOCKFS_ULOCK; in allocsp_unlockfs()
1528 lf->lf_flags = 0; in allocsp_unlockfs()
1529 err = ufs__fiolfs(vp, lf, 1, 0); in allocsp_unlockfs()
1553 struct lockfs lf; in ufs_allocsp() local
1615 if (err = allocsp_wlockfs(vp, &lf)) in ufs_allocsp()
1649 err = allocsp_unlockfs(vp, &lf); in ufs_allocsp()
1688 err = allocsp_unlockfs(vp, &lf); in ufs_allocsp()
1725 (void) allocsp_unlockfs(vp, &lf); in ufs_allocsp()
1739 if (err = allocsp_unlockfs(vp, &lf)) in ufs_allocsp()
1748 if (err = allocsp_wlockfs(vp, &lf)) in ufs_allocsp()
1778 err = allocsp_unlockfs(vp, &lf); in ufs_allocsp()