/linux-6.12.1/fs/smb/server/ |
D | oplock.c | 95 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 …]
|
D | oplock.h | 42 struct lease { struct 69 struct lease *o_lease; argument 106 void create_lease_buf(u8 *rbuf, struct lease *lease);
|
D | Kconfig | 41 Secure negotiate, Pre-authentication integrity, oplock/lease,
|
/linux-6.12.1/fs/nfs/ |
D | nfs4renewd.c | 61 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()
|
D | nfs4file.c | 442 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()
|
D | nfs4_fs.h | 333 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/ |
D | client-identifier.rst | 21 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/ |
D | filelock.h | 207 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/ |
D | locks.c | 1493 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/ |
D | msm-apq8096-fails.txt | 7 kms_lease@lease-uevent,Fail
|
D | msm-apq8016-fails.txt | 10 kms_lease@lease-uevent,Fail
|
D | meson-g12b-fails.txt | 9 kms_lease@lease-uevent,Fail
|
D | mediatek-mt8183-fails.txt | 20 kms_lease@lease-uevent,Fail
|
D | i915-kbl-fails.txt | 14 kms_lease@lease-uevent,Fail
|
D | msm-sdm845-fails.txt | 28 kms_lease@lease-uevent,Fail
|
D | mediatek-mt8173-fails.txt | 32 kms_lease@lease-uevent,Fail
|
D | amdgpu-stoney-fails.txt | 36 kms_lease@lease-uevent,Fail
|
D | i915-tgl-fails.txt | 24 kms_lease@lease-uevent,Fail
|
D | msm-sc7180-trogdor-lazor-limozeen-fails.txt | 37 kms_lease@lease-uevent,Fail
|
D | msm-sc7180-trogdor-kingoftown-fails.txt | 37 kms_lease@lease-uevent,Fail
|
D | vkms-none-fails.txt | 44 kms_lease@lease-uevent,Fail
|
D | i915-apl-fails.txt | 27 kms_lease@lease-uevent,Fail
|
D | i915-whl-fails.txt | 37 kms_lease@lease-uevent,Fail
|
/linux-6.12.1/fs/smb/client/ |
D | smb2misc.c | 488 __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/ |
D | filelock.h | 378 struct file_lease **lease, void **priv) in kernel_setlease() argument 384 struct file_lease **lease, void **priv) in vfs_setlease() argument
|