Searched refs:conflock (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/fs/lockd/ |
H A D | svclock.c | 507 struct nlm_lock *conflock, struct nlm_cookie *cookie) nlmsvc_testlock() 542 conflock->caller = "somehost"; /* FIXME */ nlmsvc_testlock() 543 conflock->len = strlen(conflock->caller); nlmsvc_testlock() 544 conflock->oh.len = 0; /* don't return OH info */ nlmsvc_testlock() 545 conflock->svid = lock->fl.fl_pid; nlmsvc_testlock() 546 conflock->fl.fl_type = lock->fl.fl_type; nlmsvc_testlock() 547 conflock->fl.fl_start = lock->fl.fl_start; nlmsvc_testlock() 548 conflock->fl.fl_end = lock->fl.fl_end; nlmsvc_testlock() 505 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, struct nlm_host *host, struct nlm_lock *lock, struct nlm_lock *conflock, struct nlm_cookie *cookie) nlmsvc_testlock() argument
|
/linux-4.1.27/fs/ |
H A D | locks.c | 933 static int __posix_lock_file(struct inode *inode, struct file_lock *request, struct file_lock *conflock) __posix_lock_file() argument 972 if (conflock) __posix_lock_file() 973 locks_copy_conflock(conflock, fl); __posix_lock_file() 1148 * @conflock: Place to return a copy of the conflicting lock, if found. 1159 struct file_lock *conflock) posix_lock_file() 1161 return __posix_lock_file(file_inode(filp), fl, conflock); posix_lock_file() 1158 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) posix_lock_file() argument
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfs4state.c | 5446 struct file_lock *conflock = NULL; nfsd4_lock() local 5562 conflock = locks_alloc_lock(); nfsd4_lock() 5563 if (!conflock) { nfsd4_lock() 5569 err = vfs_lock_file(filp, F_SETLK, file_lock, conflock); nfsd4_lock() 5577 case (EAGAIN): /* conflock holds conflicting lock */ nfsd4_lock() 5580 nfs4_set_lock_denied(conflock, &lock->lk_denied); nfsd4_lock() 5616 if (conflock) nfsd4_lock() 5617 locks_free_lock(conflock); nfsd4_lock()
|
/linux-4.1.27/include/linux/ |
H A D | fs.h | 1126 struct file_lock *conflock) posix_lock_file() 1125 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) posix_lock_file() argument
|
Completed in 286 milliseconds