Searched refs:vfs_lock_file (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/lockd/ |
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()
|
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()
|
/linux-6.1.9/fs/ |
D | locks.c | 2296 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file() function 2303 EXPORT_SYMBOL_GPL(vfs_lock_file); 2315 error = vfs_lock_file(filp, cmd, fl, NULL); in do_lock_file_wait() 2579 error = vfs_lock_file(filp, F_SETLK, &lock, NULL); in locks_remove_posix()
|
/linux-6.1.9/include/linux/ |
D | fs.h | 1171 extern int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *); 1277 static inline int vfs_lock_file(struct file *filp, unsigned int cmd, in vfs_lock_file() function
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4state.c | 7458 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock() 7680 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, NULL); in nfsd4_locku()
|
/linux-6.1.9/fs/ksmbd/ |
D | smb2pdu.c | 7013 rc = vfs_lock_file(filp, smb_lock->cmd, flock, NULL); in smb2_lock() 7135 rc = vfs_lock_file(filp, 0, rlock, NULL); in smb2_lock()
|