Searched refs:file_lock (Results 51 - 74 of 74) sorted by last modified time

123

/linux-master/fs/lockd/
H A Dclntlock.c88 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 Dclnt4xdr.c68 const struct file_lock *fl = &lock->fl;
259 struct file_lock *fl = &lock->fl;
/linux-master/fs/dlm/
H A Dplock.c28 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 Dlocks.c34 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 Dsuper.h1353 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 Dflock.c17 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 Dopenclose.c236 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 Dstackglue.c292 struct file *file, int cmd, struct file_lock *fl)
H A Dstackglue.h23 struct file_lock;
210 struct file_lock *fl);
282 struct file *file, int cmd, struct file_lock *fl);
H A Docfs1_fs_compat.h64 __u8 file_lock; member in struct:ocfs1_disk_lock
H A Dlocks.h13 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 Dcard_dev.c37 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 Dcard_base.h260 * @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 Dcard_base.c160 spin_lock_init(&cd->file_lock);
/linux-master/include/linux/
H A Dfdtable.h62 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 Ddlm_plock.h11 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 Dfile.c167 * 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 Dvfs.h140 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 Dproc.c659 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 Ddelegation.h72 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid *stateid);
/linux-master/drivers/fsi/
H A Dfsi-sbefifo.c136 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 Dbind.h81 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
H A Dxdr4.h25 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len);
/linux-master/fs/orangefs/
H A Dfile.c536 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl)

Completed in 355 milliseconds

123