/linux-master/fs/lockd/ |
H A D | clntlock.c | 88 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct file_lock *fl) 163 const struct file_lock *fl = &lock->fl; 174 struct file_lock *fl_blocked = block->b_lock; 232 struct file_lock *fl, *next;
|
H A D | clnt4xdr.c | 68 const struct file_lock *fl = &lock->fl; 259 struct file_lock *fl = &lock->fl;
|
/linux-master/fs/dlm/ |
H A D | plock.c | 28 struct file_lock flc; 29 int (*callback)(struct file_lock *fl, int result); 123 int cmd, struct file_lock *fl) 242 struct file_lock *fl; 243 struct file_lock *flc; 244 int (*notify)(struct file_lock *fl, int result) = NULL; 289 struct file_lock *fl) 360 struct file_lock *fl) 423 struct file_lock *fl)
|
/linux-master/fs/ceph/ |
H A D | locks.c | 34 static void ceph_fl_copy_lock(struct file_lock *dst, struct file_lock *src) 45 static void ceph_fl_release_lock(struct file_lock *fl) 51 * If inode is NULL it should be a request file_lock, 77 int cmd, u8 wait, struct file_lock *fl) 89 * handling request reply and adding file_lock struct to 228 static int try_unlock_file(struct file *file, struct file_lock *fl) 247 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) 314 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) 380 struct file_lock *loc [all...] |
H A D | super.h | 1353 extern int ceph_lock(struct file *file, int cmd, struct file_lock *fl); 1354 extern int ceph_flock(struct file *file, int cmd, struct file_lock *fl);
|
/linux-master/fs/afs/ |
H A D | flock.c | 17 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl); 18 static void afs_fl_release_private(struct file_lock *fl); 92 struct file_lock *p, *_p; 113 struct file_lock *p, *_p, *next = NULL; 159 struct file_lock *p; 165 struct file_lock, fl_u.afs.link); 451 static int afs_do_setlk(struct file *file, struct file_lock *fl) 701 static int afs_do_unlk(struct file *file, struct file_lock *fl) 722 static int afs_do_getlk(struct file *file, struct file_lock *f [all...] |
/linux-master/io_uring/ |
H A D | openclose.c | 236 spin_lock(&files->file_lock); 239 spin_unlock(&files->file_lock); 245 spin_unlock(&files->file_lock); 250 spin_unlock(&files->file_lock);
|
/linux-master/fs/ocfs2/ |
H A D | stackglue.c | 292 struct file *file, int cmd, struct file_lock *fl)
|
H A D | stackglue.h | 23 struct file_lock; 210 struct file_lock *fl); 282 struct file *file, int cmd, struct file_lock *fl);
|
H A D | ocfs1_fs_compat.h | 64 __u8 file_lock; member in struct:ocfs1_disk_lock
|
H A D | locks.h | 13 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 14 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
/linux-master/drivers/misc/genwqe/ |
H A D | card_dev.c | 37 spin_lock_irqsave(&cd->file_lock, flags); 39 spin_unlock_irqrestore(&cd->file_lock, flags); 48 spin_lock_irqsave(&cd->file_lock, flags); 50 spin_unlock_irqrestore(&cd->file_lock, flags); 57 spin_lock_irqsave(&cd->file_lock, flags); 59 spin_unlock_irqrestore(&cd->file_lock, flags); 264 spin_lock_irqsave(&cd->file_lock, flags); 270 spin_unlock_irqrestore(&cd->file_lock, flags); 280 spin_lock_irqsave(&cd->file_lock, flags); 285 spin_unlock_irqrestore(&cd->file_lock, flag [all...] |
H A D | card_base.h | 260 * @file_lock: Lock to protect access to file_list 315 spinlock_t file_lock; /* lock for open files */ member in struct:genwqe_dev
|
H A D | card_base.c | 160 spin_lock_init(&cd->file_lock);
|
/linux-master/include/linux/ |
H A D | fdtable.h | 62 spinlock_t file_lock ____cacheline_aligned_in_smp; 75 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock)) 101 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock),
|
H A D | dlm_plock.h | 11 int cmd, struct file_lock *fl); 13 struct file_lock *fl); 15 struct file_lock *fl); 17 struct file_lock *fl);
|
/linux-master/fs/ |
H A D | file.c | 167 * The files->file_lock should be held on entry, and will be held on exit. 170 __releases(files->file_lock) 171 __acquires(files->file_lock) 175 spin_unlock(&files->file_lock); 184 spin_lock(&files->file_lock); 212 * The files->file_lock should be held on entry, and will be held on exit. 215 __releases(files->file_lock) 216 __acquires(files->file_lock) 233 spin_unlock(&files->file_lock); 236 spin_lock(&files->file_lock); [all...] |
/linux-master/fs/smb/server/ |
H A D | vfs.h | 140 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock); 141 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout); 142 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock);
|
/linux-master/fs/nfs/ |
H A D | proc.c | 659 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) 668 static int nfs_lock_check_bounds(const struct file_lock *fl)
|
H A D | delegation.h | 72 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid);
|
/linux-master/drivers/fsi/ |
H A D | fsi-sbefifo.c | 136 struct mutex file_lock; member in struct:sbefifo_user 806 mutex_init(&user->file_lock); 829 mutex_lock(&user->file_lock); 864 mutex_unlock(&user->file_lock); 883 mutex_lock(&user->file_lock); 925 mutex_unlock(&user->file_lock); 991 mutex_lock(&user->file_lock); 1000 mutex_unlock(&user->file_lock);
|
/linux-master/include/linux/lockd/ |
H A D | bind.h | 81 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
|
H A D | xdr4.h | 25 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len);
|
/linux-master/fs/orangefs/ |
H A D | file.c | 536 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl)
|