Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dfilelock.h30 struct file_lease;
48 bool (*lm_break)(struct file_lease *);
49 int (*lm_change)(struct file_lease *, int, struct list_head *);
50 void (*lm_setup)(struct file_lease *, void **);
51 bool (*lm_breaker_owns_lease)(struct file_lease *);
133 struct file_lease { struct
202 void locks_init_lease(struct file_lease *);
203 void locks_free_lease(struct file_lease *fl);
204 struct file_lease *locks_alloc_lease(void);
207 int generic_setlease(struct file *, int, struct file_lease **, void **priv);
[all …]
Dfs.h1105 struct file_lease;
2089 int (*setlease)(struct file *, int, struct file_lease **, void **);
3408 extern int simple_nosetlease(struct file *, int, struct file_lease **, void **);
/linux-6.12.1/include/trace/events/
Dfilelock.h120 TP_PROTO(struct inode *inode, struct file_lease *fl),
125 __field(struct file_lease *, fl)
156 DEFINE_EVENT(filelock_lease, break_lease_noblock, TP_PROTO(struct inode *inode, struct file_lease *…
159 DEFINE_EVENT(filelock_lease, break_lease_block, TP_PROTO(struct inode *inode, struct file_lease *fl…
162 DEFINE_EVENT(filelock_lease, break_lease_unblock, TP_PROTO(struct inode *inode, struct file_lease *…
165 DEFINE_EVENT(filelock_lease, generic_delete_lease, TP_PROTO(struct inode *inode, struct file_lease
168 DEFINE_EVENT(filelock_lease, time_out_leases, TP_PROTO(struct inode *inode, struct file_lease *fl),
172 TP_PROTO(struct inode *inode, struct file_lease *fl),
207 TP_PROTO(bool conflict, struct file_lease *lease, struct file_lease *breaker),
/linux-6.12.1/fs/
Dlocks.c77 static struct file_lease *file_lease(struct file_lock_core *flc) in file_lease() function
79 return container_of(flc, struct file_lease, c); in file_lease()
82 static bool lease_breaking(struct file_lease *fl) in lease_breaking()
87 static int target_leasetype(struct file_lease *fl) in target_leasetype()
285 struct file_lease *locks_alloc_lease(void) in locks_alloc_lease()
287 struct file_lease *fl = kmem_cache_zalloc(filelease_cache, GFP_KERNEL); in locks_alloc_lease()
358 void locks_free_lease(struct file_lease *fl) in locks_free_lease()
373 locks_free_lease(file_lease(flc)); in locks_dispose_list()
386 void locks_init_lease(struct file_lease *fl) in locks_init_lease()
556 lease_break_callback(struct file_lease *fl) in lease_break_callback()
[all …]
Dlibfs.c1673 simple_nosetlease(struct file *filp, int arg, struct file_lease **flp, in simple_nosetlease()
/linux-6.12.1/fs/nfsd/
Dnfs4layouts.c200 struct file_lease *fl; in nfsd4_layout_setlease()
747 nfsd4_layout_lm_break(struct file_lease *fl) in nfsd4_layout_lm_break()
760 nfsd4_layout_lm_change(struct file_lease *onlist, int arg, in nfsd4_layout_lm_change()
Dfilecache.c699 struct file_lease *fl = data; in nfsd_file_lease_notifier_call()
Dnfs4state.c5271 nfsd_break_deleg_cb(struct file_lease *fl) in nfsd_break_deleg_cb()
5307 static bool nfsd_breaker_owns_lease(struct file_lease *fl) in nfsd_breaker_owns_lease()
5321 nfsd_change_deleg_cb(struct file_lease *onlist, int arg, in nfsd_change_deleg_cb()
5672 static struct file_lease *nfs4_alloc_init_lease(struct nfs4_delegation *dp, in nfs4_alloc_init_lease()
5675 struct file_lease *fl; in nfs4_alloc_init_lease()
5803 struct file_lease *fl; in nfs4_set_delegation()
8889 struct file_lease *fl; in nfsd4_deleg_getattr_conflict()
/linux-6.12.1/fs/nfs/
Dnfs4file.c442 static int nfs4_setlease(struct file *file, int arg, struct file_lease **lease, in nfs4_setlease()
Dnfs4_fs.h333 struct file_lease **lease, void **priv);
Dnfs4proc.c7760 static int nfs4_add_lease(struct file *file, int arg, struct file_lease **lease, in nfs4_add_lease()
7778 int nfs4_proc_setlease(struct file *file, int arg, struct file_lease **lease, in nfs4_proc_setlease()
/linux-6.12.1/fs/smb/client/
Dcifsfs.c1051 cifs_setlease(struct file *file, int arg, struct file_lease **lease, void **priv) in cifs_setlease()