Lines Matching refs:lockfsp
143 struct lockfs *lockfsp, /* new lock request */
151 if (lockfsp->lf_flags != 0) {
160 if (lockfsp->lf_key != ul_lockfsp->lf_key) {
165 lockfsp->lf_key = ul_lockfsp->lf_key + 1;
208 ufs_freeze(struct ulockfs *ulp, struct lockfs *lockfsp)
213 ulp->ul_lockfs.lf_lock = lockfsp->lf_lock;
214 ulp->ul_lockfs.lf_key = lockfsp->lf_key;
215 ulp->ul_lockfs.lf_comlen = lockfsp->lf_comlen;
216 ulp->ul_lockfs.lf_comment = lockfsp->lf_comment;
866 ufs_fiolfs(struct vnode *vp, struct lockfs *lockfsp, int from_log)
868 return (ufs__fiolfs(vp, lockfsp, /* from_user */ 1, from_log));
875 struct lockfs *lockfsp,
892 if (!lockfsp || lockfsp->lf_lock > LOCKFS_MAXLOCK)
915 if ((LOCKFS_IS_WLOCK(lockfsp) || LOCKFS_IS_ELOCK(lockfsp) ||
916 LOCKFS_IS_ROELOCK(lockfsp)) && !from_log) {
955 if (!LOCKFS_IS_ULOCK(lockfsp) && !LOCKFS_IS_ELOCK(lockfsp)) {
966 if (!LOCKFS_IS_HLOCK(lockfsp) && !LOCKFS_IS_ELOCK(lockfsp)) {
976 if (LOCKFS_IS_ROELOCK(lockfsp)) {
990 (LOCKFS_IS_ELOCK(lockfsp) || LOCKFS_IS_ROELOCK(lockfsp))) {
996 if (error = ufs_getlfd(lockfsp, &ulp->ul_lockfs))
1007 ufs_freeze(ulp, lockfsp);
1224 ufs_fiolfss(struct vnode *vp, struct lockfs *lockfsp)
1238 *lockfsp = ulp->ul_lockfs; /* structure assignment */
1244 *lockfsp = ulp->ul_lockfs; /* structure assignment */
1247 lockfsp->lf_flags |= LOCKFS_MOD;