Searched refs:file_lock (Results 26 - 50 of 74) sorted by relevance

123

/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/fs/smb/client/
H A Dcifsfs.h103 extern int cifs_flock(struct file *pfile, int cmd, struct file_lock *plock);
104 extern int cifs_lock(struct file *, int, struct file_lock *);
H A Dsmb2file.c189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock,
H A Dsmb2proto.h119 struct file_lock *flock, const unsigned int xid);
/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
/linux-master/fs/smb/server/
H A Dvfs_cache.h33 struct file_lock *fl;
H A Dsmb2pdu.h454 struct file_lock *smb_flock_init(struct file *f);
H A Dvfs.c332 struct file_lock *flock;
1851 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock)
1856 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout)
1863 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock)
/linux-master/fs/lockd/
H A Dxdr.c74 struct file_lock *fl = &lock->fl;
106 const struct file_lock *fl = &lock->fl;
H A Dsvclock.c150 struct file_lock *fl;
410 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host,
726 struct file_lock *fl = &block->b_call->a_args.lock.fl;
755 static int nlmsvc_grant_deferred(struct file_lock *fl, int result)
794 nlmsvc_notify_blocked(struct file_lock *fl)
981 struct file_lock *fl;
H A Dclntxdr.c64 const struct file_lock *fl = &lock->fl;
254 struct file_lock *fl = &lock->fl;
H A Dclnt4xdr.c68 const struct file_lock *fl = &lock->fl;
259 struct file_lock *fl = &lock->fl;
/linux-master/fs/nfsd/
H A Dnfs4state.c7482 nfs4_transform_lock_offset(struct file_lock *lock)
7510 nfsd4_lm_lock_expirable(struct file_lock *cfl)
7532 nfsd4_lm_notify(struct file_lock *fl)
7566 nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny)
7849 struct file_lock *file_lock = NULL; local
7850 struct file_lock *conflock = NULL;
7978 file_lock = &nbl->nbl_lock;
7979 file_lock->c.flc_type = type;
7980 file_lock
8118 struct file_lock *file_lock = NULL; local
8202 struct file_lock *file_lock = NULL; local
[all...]
H A Dstate.h701 struct file_lock nbl_lock;
/linux-master/fs/nfs/
H A Dfile.c719 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
748 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
784 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local)
828 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl)
866 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl)
H A Dnfs4_fs.h223 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
516 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
H A Dwrite.c1297 is_whole_file_wrlock(struct file_lock *fl)
1316 struct file_lock *fl;
1333 fl = list_first_entry(&flctx->flc_posix, struct file_lock,
1338 fl = list_first_entry(&flctx->flc_flock, struct file_lock,
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 Dinternal.h428 int nfs_lock(struct file *, int, struct file_lock *);
429 int nfs_flock(struct file *, int, struct file_lock *);
/linux-master/include/linux/
H A Dnfs_xdr.h558 struct file_lock * fl;
580 struct file_lock * fl;
594 struct file_lock * fl;
600 struct file_lock * denied; /* LOCK, LOCKT failed */
1801 int (*lock)(struct file *, int, struct file_lock *);
1802 int (*lock_check_bounds)(const struct file_lock *);
/linux-master/fs/proc/
H A Dfd.c39 spin_lock(&files->file_lock);
51 spin_unlock(&files->file_lock);
/linux-master/fs/gfs2/
H A Dfile.c1437 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl)
1475 static int do_flock(struct file *file, int cmd, struct file_lock *fl)
1494 struct file_lock request;
1535 static void do_unflock(struct file *file, struct file_lock *fl)
1558 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
/linux-master/fs/orangefs/
H A Dfile.c536 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl)
/linux-master/fs/ocfs2/
H A Dstackglue.c292 struct file *file, int cmd, struct file_lock *fl)

Completed in 359 milliseconds

123