/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/fs/smb/client/ |
H A D | cifsfs.h | 103 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 D | smb2file.c | 189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock,
|
H A D | smb2proto.h | 119 struct file_lock *flock, const unsigned int xid);
|
/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
|
/linux-master/fs/smb/server/ |
H A D | vfs_cache.h | 33 struct file_lock *fl;
|
H A D | smb2pdu.h | 454 struct file_lock *smb_flock_init(struct file *f);
|
H A D | vfs.c | 332 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 D | xdr.c | 74 struct file_lock *fl = &lock->fl; 106 const struct file_lock *fl = &lock->fl;
|
H A D | svclock.c | 150 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 D | clntxdr.c | 64 const struct file_lock *fl = &lock->fl; 254 struct file_lock *fl = &lock->fl;
|
H A D | clnt4xdr.c | 68 const struct file_lock *fl = &lock->fl; 259 struct file_lock *fl = &lock->fl;
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 7482 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 D | state.h | 701 struct file_lock nbl_lock;
|
/linux-master/fs/nfs/ |
H A D | file.c | 719 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 D | nfs4_fs.h | 223 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 D | write.c | 1297 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 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 | internal.h | 428 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 D | nfs_xdr.h | 558 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 D | fd.c | 39 spin_lock(&files->file_lock); 51 spin_unlock(&files->file_lock);
|
/linux-master/fs/gfs2/ |
H A D | file.c | 1437 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 D | file.c | 536 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl)
|
/linux-master/fs/ocfs2/ |
H A D | stackglue.c | 292 struct file *file, int cmd, struct file_lock *fl)
|