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

123

/linux-master/fs/nfsd/
H A Dstate.h701 struct file_lock nbl_lock;
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...]
/linux-master/fs/smb/server/
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)
H A Dsmb2pdu.c7052 struct file_lock *smb_flock_init(struct file *f)
7054 struct file_lock *fl;
7073 static int smb2_set_flock_flags(struct file_lock *flock, int flags)
7113 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock,
7140 struct file_lock *flock = (struct file_lock *)argv[0];
7146 static inline bool lock_defer_pending(struct file_lock *fl)
7164 struct file_lock *flock = NULL;
7474 struct file_lock *rlock = NULL;
H A Dvfs_cache.h33 struct file_lock *fl;
H A Dsmb2pdu.h454 struct file_lock *smb_flock_init(struct file *f);
/linux-master/fs/smb/client/
H A Dcifsproto.h188 struct file_lock *flock, const unsigned int xid);
525 struct file_lock *, const __u16 lock_type,
H A Dcifsglob.h493 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
2191 static inline u64 cifs_flock_len(const struct file_lock *fl)
H A Dfile.c1397 __u8 type, struct file_lock *flock)
1493 cifs_posix_lock_test(struct file *file, struct file_lock *flock)
1518 * 3) FILE_LOCK_DEFERRED, if we will wait for some other file_lock;
1522 cifs_posix_lock_set(struct file *file, struct file_lock *flock)
1640 struct file_lock *flock;
1758 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock,
1806 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type,
1897 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock,
2011 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type,
2105 int cifs_flock(struct file *file, int cmd, struct file_lock *f
[all...]
H A Dcifssmb.c1968 struct file_lock *pLockData, const __u16 lock_type,
/linux-master/fs/fuse/
H A Dfile.c2595 struct file_lock *fl)
2627 const struct file_lock *fl, int opcode, pid_t pid,
2650 static int fuse_getlk(struct file *file, struct file_lock *fl)
2670 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock)
2696 static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl)
2719 static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl)
/linux-master/fs/9p/
H A Dvfs_file.c104 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl)
118 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl)
223 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl)
288 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl)
319 struct file_lock *fl)
/linux-master/include/linux/
H A Dfs.h1065 struct file_lock;
2026 int (*lock) (struct file *, int, struct file_lock *);
2029 int (*flock) (struct file *, int, struct file_lock *);
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/security/
H A Dsecurity.c2878 return call_int_hook(file_lock, file, cmd);
/linux-master/fs/nfs/
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 Dnfs4trace.h706 const struct file_lock *request,
764 const struct file_lock *request, \
775 const struct file_lock *request,
H A Dnfs4state.c958 static void nfs4_fl_copy_lock(struct file_lock *dst, struct file_lock *src)
966 static void nfs4_fl_release_lock(struct file_lock *fl)
976 int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl)
1516 struct file_lock *fl;
H A Dnfs4proc.c2275 static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct nfs4_state *state, const nfs4_stateid *stateid, struct file_lock *fl, int err)
6767 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request)
6809 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request)
6867 struct file_lock fl;
6872 static struct nfs4_unlockdata *nfs4_alloc_unlockdata(struct file_lock *fl,
6989 static struct rpc_task *nfs4_do_unlck(struct file_lock *fl,
7033 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request)
7090 struct file_lock fl;
7097 static struct nfs4_lockdata *nfs4_alloc_lockdata(struct file_lock *fl,
7272 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *f
[all...]
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 Dinternal.h428 int nfs_lock(struct file *, int, struct file_lock *);
429 int nfs_flock(struct file *, int, struct file_lock *);
H A Ddelegation.c148 struct file_lock *fl;
/linux-master/security/smack/
H A Dsmack_lsm.c5068 LSM_HOOK_INIT(file_lock, smack_file_lock),
/linux-master/security/selinux/
H A Dhooks.c7213 LSM_HOOK_INIT(file_lock, selinux_file_lock),
/linux-master/security/apparmor/
H A Dlsm.c1465 LSM_HOOK_INIT(file_lock, apparmor_file_lock),

Completed in 529 milliseconds

123