Searched refs:vfs_lock_file (Results 1 – 5 of 5) sorted by relevance
/fs/lockd/ |
D | svclock.c | 538 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_lock() 663 error = vfs_lock_file(file->f_file[O_RDONLY], F_SETLK, in nlmsvc_unlock() 666 error = vfs_lock_file(file->f_file[O_WRONLY], F_SETLK, in nlmsvc_unlock() 845 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_grant_blocked()
|
D | svcsubs.c | 192 if (lock.fl_file && vfs_lock_file(lock.fl_file, F_SETLK, &lock, NULL)) in nlm_unlock_files() 195 if (lock.fl_file && vfs_lock_file(lock.fl_file, F_SETLK, &lock, NULL)) in nlm_unlock_files()
|
/fs/ |
D | locks.c | 2297 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file() function 2304 EXPORT_SYMBOL_GPL(vfs_lock_file); 2316 error = vfs_lock_file(filp, cmd, fl, NULL); in do_lock_file_wait() 2580 error = vfs_lock_file(filp, F_SETLK, &lock, NULL); in locks_remove_posix()
|
/fs/nfsd/ |
D | nfs4state.c | 7484 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock() 7706 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, NULL); in nfsd4_locku()
|
/fs/smb/server/ |
D | smb2pdu.c | 7071 rc = vfs_lock_file(filp, smb_lock->cmd, flock, NULL); in smb2_lock() 7184 rc = vfs_lock_file(filp, F_SETLK, rlock, NULL); in smb2_lock()
|