Home
last modified time | relevance | path

Searched refs:file_lock (Results 1 – 12 of 12) sorted by relevance

/include/linux/
A Dfilelock.h29 struct file_lock;
33 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
112 struct file_lock { struct
198 void locks_copy_lock(struct file_lock *, struct file_lock *);
199 void locks_copy_conflock(struct file_lock *, struct file_lock *);
204 int posix_lock_file(struct file *, struct file_lock *, struct file_lock *);
207 int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *);
308 static inline void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock()
313 static inline void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
334 struct file_lock *conflock) in posix_lock_file()
[all …]
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);
A Dfdtable.h51 spinlock_t file_lock ____cacheline_aligned_in_smp;
64 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
90 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked()
A Dnfs_xdr.h574 struct file_lock * fl;
596 struct file_lock * fl;
610 struct file_lock * fl;
616 struct file_lock * denied; /* LOCK, LOCKT failed */
1833 int (*lock)(struct file *, int, struct file_lock *);
1834 int (*lock_check_bounds)(const struct file_lock *);
A Dlsm_hook_defs.h203 LSM_HOOK(int, 0, file_lock, struct file *file, unsigned int cmd)
A Dfs.h1169 struct file_lock;
2174 int (*lock) (struct file *, int, struct file_lock *);
2177 int (*flock) (struct file *, int, struct file_lock *);
/include/linux/lockd/
A Dlockd.h131 struct file_lock *b_lock; /* local file lock */
217 struct file_lock *fl);
224 int nlmclnt_reclaim(struct nlm_host *, struct file_lock *,
276 int lock_to_openmode(struct file_lock *);
290 void nlmsvc_locks_init_private(struct file_lock *, struct nlm_host *, pid_t);
375 static inline int nlm_compare_locks(const struct file_lock *fl1, in nlm_compare_locks()
376 const struct file_lock *fl2) in nlm_compare_locks()
A Dbind.h81 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
A Dxdr4.h25 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len);
A Dxdr.h47 struct file_lock fl;
/include/trace/events/
A Dfilelock.h63 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
68 __field(struct file_lock *, fl)
104 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
108 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
112 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
116 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
A Dafs.h1331 TP_PROTO(struct afs_vnode *vnode, struct file_lock *fl,
1361 TP_PROTO(struct afs_vnode *vnode, struct file_lock *fl,

Completed in 59 milliseconds