Home
last modified time | relevance | path

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

/fs/lockd/
Dsvclock.c577 struct nlm_lock *conflock, struct nlm_cookie *cookie) in nlmsvc_testlock() argument
616 conflock->caller = "somehost"; /* FIXME */ in nlmsvc_testlock()
617 conflock->len = strlen(conflock->caller); in nlmsvc_testlock()
618 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()
619 conflock->svid = lock->fl.fl_pid; in nlmsvc_testlock()
620 conflock->fl.fl_type = lock->fl.fl_type; in nlmsvc_testlock()
621 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock()
622 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock()
/fs/
Dlocks.c1132 struct file_lock *conflock) in posix_lock_inode() argument
1172 if (conflock) in posix_lock_inode()
1173 locks_copy_conflock(conflock, fl); in posix_lock_inode()
1370 struct file_lock *conflock) in posix_lock_file() argument
1372 return posix_lock_inode(locks_inode(filp), fl, conflock); in posix_lock_file()
/fs/nfsd/
Dnfs4state.c6695 struct file_lock *conflock = NULL; in nfsd4_lock() local
6820 conflock = locks_alloc_lock(); in nfsd4_lock()
6821 if (!conflock) { in nfsd4_lock()
6835 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock()
6849 nfs4_set_lock_denied(conflock, &lock->lk_denied); in nfsd4_lock()
6893 if (conflock) in nfsd4_lock()
6894 locks_free_lock(conflock); in nfsd4_lock()