Home
last modified time | relevance | path

Searched refs:nflp1 (Results 1 – 1 of 1) sorted by relevance

/xnu-8019.80.24/bsd/nfs/
H A Dnfs4_vnops.c3602 nfs_file_lock_conflict(struct nfs_file_lock *nflp1, struct nfs_file_lock *nflp2, int *willsplit) in nfs_file_lock_conflict() argument
3605 if ((nflp1->nfl_flags & NFS_FILE_LOCK_DEAD) || (nflp2->nfl_flags & NFS_FILE_LOCK_DEAD)) { in nfs_file_lock_conflict()
3609 if ((nflp1->nfl_owner == nflp2->nfl_owner) && in nfs_file_lock_conflict()
3610 …((nflp1->nfl_flags & NFS_FILE_LOCK_STYLE_MASK) == (nflp2->nfl_flags & NFS_FILE_LOCK_STYLE_MASK))) { in nfs_file_lock_conflict()
3611 if (willsplit && (nflp1->nfl_type != nflp2->nfl_type) && in nfs_file_lock_conflict()
3612 (nflp1->nfl_start > nflp2->nfl_start) && in nfs_file_lock_conflict()
3613 (nflp1->nfl_end < nflp2->nfl_end)) { in nfs_file_lock_conflict()
3619 if ((nflp1->nfl_start > nflp2->nfl_end) || (nflp1->nfl_end < nflp2->nfl_start)) { in nfs_file_lock_conflict()
3623 if ((nflp1->nfl_type != F_WRLCK) && (nflp2->nfl_type != F_WRLCK)) { in nfs_file_lock_conflict()