Searched refs:conflock (Results 1 – 3 of 3) sorted by relevance
588 struct nlm_lock *conflock, struct nlm_cookie *cookie) in nlmsvc_testlock() argument625 conflock->caller = "somehost"; /* FIXME */ in nlmsvc_testlock()626 conflock->len = strlen(conflock->caller); in nlmsvc_testlock()627 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()628 conflock->svid = lock->fl.fl_pid; in nlmsvc_testlock()629 conflock->fl.fl_type = lock->fl.fl_type; in nlmsvc_testlock()630 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock()631 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock()
1079 struct file_lock *conflock) in posix_lock_inode() argument1133 if (conflock) in posix_lock_inode()1134 locks_copy_conflock(conflock, fl); in posix_lock_inode()1331 struct file_lock *conflock) in posix_lock_file() argument1333 return posix_lock_inode(locks_inode(filp), fl, conflock); in posix_lock_file()
7334 struct file_lock *conflock = NULL; in nfsd4_lock() local7468 conflock = locks_alloc_lock(); in nfsd4_lock()7469 if (!conflock) { in nfsd4_lock()7484 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock()7499 nfs4_set_lock_denied(conflock, &lock->lk_denied); in nfsd4_lock()7548 if (conflock) in nfsd4_lock()7549 locks_free_lock(conflock); in nfsd4_lock()