Lines Matching refs:nflp1
3169 * (nflp1 is the new lock. nflp2 is the existing lock.)
3172 nfs_file_lock_conflict(struct nfs_file_lock *nflp1, struct nfs_file_lock *nflp2, int *willsplit)
3175 if ((nflp1->nfl_flags & NFS_FILE_LOCK_DEAD) || (nflp2->nfl_flags & NFS_FILE_LOCK_DEAD))
3178 if ((nflp1->nfl_owner == nflp2->nfl_owner) &&
3179 ((nflp1->nfl_flags & NFS_FILE_LOCK_STYLE_MASK) == (nflp2->nfl_flags & NFS_FILE_LOCK_STYLE_MASK))) {
3180 if (willsplit && (nflp1->nfl_type != nflp2->nfl_type) &&
3181 (nflp1->nfl_start > nflp2->nfl_start) &&
3182 (nflp1->nfl_end < nflp2->nfl_end))
3187 if ((nflp1->nfl_start > nflp2->nfl_end) || (nflp1->nfl_end < nflp2->nfl_start))
3190 if ((nflp1->nfl_type != F_WRLCK) && (nflp2->nfl_type != F_WRLCK))