Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/smb/server/
Doplock.c95 struct lease *lease; in alloc_lease() local
97 lease = kmalloc(sizeof(struct lease), GFP_KERNEL); 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 …]
Doplock.h42 struct lease { struct
69 struct lease *o_lease; argument
106 void create_lease_buf(u8 *rbuf, struct lease *lease);
DKconfig41 Secure negotiate, Pre-authentication integrity, oplock/lease,
/linux-6.12.1/fs/nfs/
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()
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()
Dnfs4_fs.h333 struct file_lease **lease, void **priv);
467 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
/linux-6.12.1/Documentation/filesystems/nfs/
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-6.12.1/include/trace/events/
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-6.12.1/fs/
Dlocks.c1493 struct file_lease *lease = file_lease(lc); in leases_conflict() local
1496 if (lease->fl_lmops->lm_breaker_owns_lease in leases_conflict()
1497 && lease->fl_lmops->lm_breaker_owns_lease(lease)) in leases_conflict()
1510 trace_leases_conflict(rc, lease, breaker); in leases_conflict()
1776 struct file_lease *fl, *my_fl = NULL, *lease; in generic_add_lease() local
1783 lease = *flp; in generic_add_lease()
1784 trace_generic_add_lease(inode, lease); in generic_add_lease()
1809 error = check_conflicting_open(filp, arg, lease->c.flc_flags); in generic_add_lease()
1824 fl->c.flc_owner == lease->c.flc_owner) { in generic_add_lease()
1844 lease = my_fl; in generic_add_lease()
[all …]
/linux-6.12.1/drivers/gpu/drm/ci/xfails/
Dmsm-apq8096-fails.txt7 kms_lease@lease-uevent,Fail
Dmsm-apq8016-fails.txt10 kms_lease@lease-uevent,Fail
Dmeson-g12b-fails.txt9 kms_lease@lease-uevent,Fail
Dmediatek-mt8183-fails.txt20 kms_lease@lease-uevent,Fail
Di915-kbl-fails.txt14 kms_lease@lease-uevent,Fail
Dmsm-sdm845-fails.txt28 kms_lease@lease-uevent,Fail
Dmediatek-mt8173-fails.txt32 kms_lease@lease-uevent,Fail
Damdgpu-stoney-fails.txt36 kms_lease@lease-uevent,Fail
Di915-tgl-fails.txt24 kms_lease@lease-uevent,Fail
Dmsm-sc7180-trogdor-lazor-limozeen-fails.txt37 kms_lease@lease-uevent,Fail
Dmsm-sc7180-trogdor-kingoftown-fails.txt37 kms_lease@lease-uevent,Fail
Dvkms-none-fails.txt44 kms_lease@lease-uevent,Fail
Di915-apl-fails.txt27 kms_lease@lease-uevent,Fail
Di915-whl-fails.txt37 kms_lease@lease-uevent,Fail
/linux-6.12.1/fs/smb/client/
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-6.12.1/include/linux/
Dfilelock.h378 struct file_lease **lease, void **priv) in kernel_setlease() argument
384 struct file_lease **lease, void **priv) in vfs_setlease() argument

12