Lines Matching refs:lf
854 struct lockfs lf; in lufs_disable() local
876 error = ufs_fiolfss(vp, &lf); in lufs_disable()
880 if (!LOCKFS_IS_ULOCK(&lf)) { in lufs_disable()
884 lf.lf_lock = LOCKFS_WLOCK; in lufs_disable()
885 lf.lf_flags = 0; in lufs_disable()
886 lf.lf_comment = NULL; in lufs_disable()
887 error = ufs_fiolfs(vp, &lf, 1); in lufs_disable()
963 lf.lf_lock = LOCKFS_ULOCK; in lufs_disable()
964 lf.lf_flags = 0; in lufs_disable()
965 error = ufs_fiolfs(vp, &lf, 1); in lufs_disable()
972 lf.lf_lock = LOCKFS_ULOCK; in lufs_disable()
973 lf.lf_flags = 0; in lufs_disable()
974 (void) ufs_fiolfs(vp, &lf, 1); in lufs_disable()
990 struct lockfs lf; in lufs_enable() local
1117 error = ufs_fiolfss(vp, &lf); in lufs_enable()
1121 if (!LOCKFS_IS_ULOCK(&lf)) { in lufs_enable()
1125 lf.lf_lock = LOCKFS_WLOCK; in lufs_enable()
1126 lf.lf_flags = 0; in lufs_enable()
1127 lf.lf_comment = NULL; in lufs_enable()
1128 error = ufs_fiolfs(vp, &lf, 1); in lufs_enable()
1176 lf.lf_lock = LOCKFS_ULOCK; in lufs_enable()
1177 lf.lf_flags = 0; in lufs_enable()
1178 error = ufs_fiolfs(vp, &lf, 1); in lufs_enable()
1231 lf.lf_lock = LOCKFS_ULOCK; in lufs_enable()
1232 lf.lf_flags = 0; in lufs_enable()
1233 error = ufs_fiolfs(vp, &lf, 1); in lufs_enable()
1269 lf.lf_lock = LOCKFS_ULOCK; in lufs_enable()
1270 lf.lf_flags = 0; in lufs_enable()
1271 (void) ufs_fiolfs(vp, &lf, 1); in lufs_enable()