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

123

/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 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 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 Dcifssmb.c1968 struct file_lock *pLockData, const __u16 lock_type,
/linux-master/fs/nfs/
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 Dnfs4trace.h706 const struct file_lock *request,
764 const struct file_lock *request, \
775 const struct file_lock *request,
H A Dnfs3proc.c959 nfs3_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
H A Ddelegation.c148 struct file_lock *fl;
H A Dnfs4xdr.c1306 static inline int nfs4_lock_type(struct file_lock *fl, int block)
1313 static inline uint64_t nfs4_lock_length(struct file_lock *fl)
5038 static int decode_lock_denied (struct xdr_stream *xdr, struct file_lock *fl)
/linux-master/fs/ceph/
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 Dinternal.h1127 extern int afs_lock(struct file *, int, struct file_lock *);
1128 extern int afs_flock(struct file *, int, struct file_lock *);
/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/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 Dlsm_hook_defs.h195 LSM_HOOK(int, 0, file_lock, struct file *file, unsigned int cmd)
/linux-master/include/trace/events/
H A Dafs.h1142 TP_PROTO(struct afs_vnode *vnode, struct file_lock *fl,
1172 TP_PROTO(struct afs_vnode *vnode, struct file_lock *fl,
/linux-master/drivers/misc/genwqe/
H A Dcard_base.c160 spin_lock_init(&cd->file_lock);
/linux-master/fs/nfsd/
H A Dfilecache.c667 struct file_lock *fl = data;
/linux-master/fs/ocfs2/
H A Dstack_user.c733 struct file_lock *fl)
/linux-master/fs/smb/server/
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;
/linux-master/security/apparmor/
H A Dlsm.c1465 LSM_HOOK_INIT(file_lock, apparmor_file_lock),
/linux-master/security/
H A Dsecurity.c2878 return call_int_hook(file_lock, file, cmd);
/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),

Completed in 433 milliseconds

123