Searched refs:vfs_lock_file (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/lockd/ |
D | svclock.c | 567 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_lock() 688 error = vfs_lock_file(lock->fl.c.flc_file, F_SETLK, in nlmsvc_unlock() 692 error |= vfs_lock_file(lock->fl.c.flc_file, F_SETLK, in nlmsvc_unlock() 872 error = vfs_lock_file(file->f_file[mode], F_SETLK, &lock->fl, NULL); in nlmsvc_grant_blocked() 999 error = vfs_lock_file(fl->c.flc_file, F_SETLK, fl, NULL); in nlmsvc_grant_reply()
|
D | svcsubs.c | 192 if (lock.c.flc_file && vfs_lock_file(lock.c.flc_file, F_SETLK, &lock, NULL)) in nlm_unlock_files() 195 if (lock.c.flc_file && vfs_lock_file(lock.c.flc_file, F_SETLK, &lock, NULL)) in nlm_unlock_files()
|
/linux-6.12.1/include/linux/ |
D | filelock.h | 197 int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *); 339 static inline int vfs_lock_file(struct file *filp, unsigned int cmd, in vfs_lock_file() function
|
/linux-6.12.1/fs/ |
D | locks.c | 2354 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file() function 2362 EXPORT_SYMBOL_GPL(vfs_lock_file); 2374 error = vfs_lock_file(filp, cmd, fl, NULL); in do_lock_file_wait() 2636 error = vfs_lock_file(filp, F_SETLK, &lock, NULL); in locks_remove_posix()
|
/linux-6.12.1/Documentation/filesystems/nfs/ |
D | exporting.rst | 247 fs/locks.c and comment for the function vfs_lock_file().
|
/linux-6.12.1/fs/smb/server/ |
D | smb2pdu.c | 7397 rc = vfs_lock_file(filp, smb_lock->cmd, flock, NULL); in smb2_lock() 7510 rc = vfs_lock_file(filp, F_SETLK, rlock, NULL); in smb2_lock()
|
/linux-6.12.1/fs/nfsd/ |
D | nfs4state.c | 8083 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock() 8321 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, NULL); in nfsd4_locku()
|