Home
last modified time | relevance | path

Searched refs:lease (Results 1 – 25 of 39) sorted by relevance

12

/linux/fs/smb/server/
H A Doplock.c95 struct lease *lease; in alloc_lease() local
97 lease = kmalloc(sizeof(struct lease), KSMBD_DEFAULT_GFP); in alloc_lease()
98 if (!lease) in alloc_lease()
101 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
102 lease->state = lctx->req_state; in alloc_lease()
103 lease->new_state = 0; in alloc_lease()
104 lease->flags = lctx->flags; in alloc_lease()
105 lease->duration = lctx->duration; in alloc_lease()
106 lease->is_dir = lctx->is_dir; in alloc_lease()
107 memcpy(lease->parent_lease_key, lctx->parent_lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
[all …]
H A Doplock.h42 struct lease { struct
69 struct lease *o_lease; argument
106 void create_lease_buf(u8 *rbuf, struct lease *lease);
H A DKconfig41 Secure negotiate, Pre-authentication integrity, oplock/lease,
/linux/fs/nfs/
H A Dnfs4renewd.c61 long lease; in nfs4_renew_state() local
71 lease = clp->cl_lease_time; in nfs4_renew_state()
75 if (time_after(now, last + lease/3)) in nfs4_renew_state()
143 unsigned long lease) in nfs4_set_lease_period() argument
146 clp->cl_lease_time = lease; in nfs4_set_lease_period()
150 rpc_set_connect_timeout(clp->cl_rpcclient, lease, lease >> 1); in nfs4_set_lease_period()
H A Dnfs4file.c442 static int nfs4_setlease(struct file *file, int arg, struct file_lease **lease, in nfs4_setlease() argument
445 return nfs4_proc_setlease(file, arg, lease, priv); in nfs4_setlease()
H A Dnfs4_fs.h333 struct file_lease **lease, void **priv);
467 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
/linux/Documentation/filesystems/nfs/
H A Dclient-identifier.rst21 The NFSv4 protocol uses "lease-based file locking". Leases help
25 Simply put, an NFSv4 server creates a lease for each NFSv4 client.
27 the lease for that client.
30 While a lease remains valid, the server holding that lease
33 If a client stops renewing its lease (for example, if it crashes),
51 they can associate the client with its lease. Each client's
65 principal to authorize subsequent lease modification operations
87 Protecting NFSv4 lease state
91 assign a unique lease to each client. Under this scheme, there are
93 referred to as "lease stealing".
[all …]
/linux/include/trace/events/
H A Dfilelock.h207 TP_PROTO(bool conflict, struct file_lease *lease, struct file_lease *breaker),
209 TP_ARGS(conflict, lease, breaker),
212 __field(void *, lease)
222 __entry->lease = lease;
223 __entry->l_fl_flags = lease->c.flc_flags;
224 __entry->l_fl_type = lease->c.flc_type;
233 __entry->lease,
/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-apq8096-fails.txt2 kms_lease@lease-uevent,Fail
H A Dmsm-apq8016-fails.txt5 kms_lease@lease-uevent,Fail
H A Dmeson-g12b-fails.txt8 kms_lease@lease-uevent,Fail
H A Dmediatek-mt8183-fails.txt15 kms_lease@lease-uevent,Fail
H A Dmsm-sc7180-trogdor-kingoftown-fails.txt13 kms_lease@lease-uevent,Fail
H A Dmsm-sc7180-trogdor-lazor-limozeen-fails.txt13 kms_lease@lease-uevent,Fail
H A Di915-kbl-fails.txt14 kms_lease@lease-uevent,Fail
H A Dmediatek-mt8173-fails.txt25 kms_lease@lease-uevent,Fail
H A Dmsm-sdm845-fails.txt24 kms_lease@lease-uevent,Fail
H A Dvkms-none-fails.txt23 kms_lease@lease-uevent,Fail
H A Damdgpu-stoney-fails.txt36 kms_lease@lease-uevent,Fail
H A Di915-tgl-fails.txt37 kms_lease@lease-uevent,Fail
H A Di915-whl-fails.txt38 kms_lease@lease-uevent,Fail
H A Di915-amly-fails.txt37 kms_lease@lease-uevent,Fail
/linux/fs/smb/client/
H A Dsmb2misc.c488 __le32 lease = 0; in smb2_get_lease_state() local
491 lease |= SMB2_LEASE_WRITE_CACHING_LE; in smb2_get_lease_state()
493 lease |= SMB2_LEASE_HANDLE_CACHING_LE; in smb2_get_lease_state()
495 lease |= SMB2_LEASE_READ_CACHING_LE; in smb2_get_lease_state()
496 return lease; in smb2_get_lease_state()
/linux/include/linux/
H A Dfilelock.h383 struct file_lease **lease, void **priv) in kernel_setlease() argument
389 struct file_lease **lease, void **priv) in vfs_setlease() argument
/linux/Documentation/filesystems/smb/
H A Dksmbd.rst75 SMB2 leases(v1 lease) Supported.
76 Directory leases(v2 lease) Supported.

12