Searched refs:file_lease (Results 1 - 11 of 11) sorted by relevance

/linux-master/include/linux/
H A 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 **, voi
[all...]
H A Dfs.h1066 struct file_lease;
2033 int (*setlease)(struct file *, int, struct file_lease **, void **);
3313 extern int simple_nosetlease(struct file *, int, struct file_lease **, void **);
/linux-master/include/trace/events/
H A 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 *fl),
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 *fl),
165 DEFINE_EVENT(filelock_lease, generic_delete_lease, TP_PROTO(struct inode *inode, struct file_lease *fl),
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 *breake
[all...]
/linux-master/fs/
H A Dlocks.c77 static struct file_lease *file_lease(struct file_lock_core *flc) function
79 return container_of(flc, struct file_lease, c);
82 static bool lease_breaking(struct file_lease *fl)
87 static int target_leasetype(struct file_lease *fl)
285 struct file_lease *locks_alloc_lease(void)
287 struct file_lease *fl = kmem_cache_zalloc(filelease_cache, GFP_KERNEL);
358 void locks_free_lease(struct file_lease *fl)
373 locks_free_lease(file_lease(flc));
386 void locks_init_lease(struct file_lease *f
[all...]
H A Dlibfs.c1618 simple_nosetlease(struct file *filp, int arg, struct file_lease **flp,
/linux-master/fs/nfsd/
H A Dnfs4layouts.c200 struct file_lease *fl;
746 nfsd4_layout_lm_break(struct file_lease *fl)
759 nfsd4_layout_lm_change(struct file_lease *onlist, int arg,
H A Dnfs4state.c5203 nfsd_break_deleg_cb(struct file_lease *fl)
5239 static bool nfsd_breaker_owns_lease(struct file_lease *fl)
5256 nfsd_change_deleg_cb(struct file_lease *onlist, int arg,
5615 static struct file_lease *nfs4_alloc_init_lease(struct nfs4_delegation *dp,
5618 struct file_lease *fl;
5746 struct file_lease *fl;
8816 struct file_lease *fl;
/linux-master/fs/nfs/
H A Dnfs4file.c442 static int nfs4_setlease(struct file *file, int arg, struct file_lease **lease,
H A Dnfs4_fs.h332 struct file_lease **lease, void **priv);
H A Dnfs4proc.c7602 static int nfs4_add_lease(struct file *file, int arg, struct file_lease **lease,
7620 int nfs4_proc_setlease(struct file *file, int arg, struct file_lease **lease,
/linux-master/fs/smb/client/
H A Dcifsfs.c1090 cifs_setlease(struct file *file, int arg, struct file_lease **lease, void **priv)

Completed in 245 milliseconds