/kernel/linux/linux-5.10/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 | nfs4_fs.h | 462 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | filelock.h | 207 TP_PROTO(bool conflict, struct file_lock *lease, struct file_lock *breaker), 209 TP_ARGS(conflict, lease, breaker), 212 __field(void *, lease) 222 __entry->lease = lease; 223 __entry->l_fl_flags = lease->fl_flags; 224 __entry->l_fl_type = lease->fl_type; 233 __entry->lease,
|
/kernel/linux/linux-5.10/fs/ |
D | locks.c | 1557 static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker) in leases_conflict() argument 1561 if (lease->fl_lmops->lm_breaker_owns_lease in leases_conflict() 1562 && lease->fl_lmops->lm_breaker_owns_lease(lease)) in leases_conflict() 1564 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) { in leases_conflict() 1568 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) { in leases_conflict() 1573 rc = locks_conflict(breaker, lease); in leases_conflict() 1575 trace_leases_conflict(rc, lease, breaker); in leases_conflict() 1838 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local 1845 lease = *flp; in generic_add_lease() 1846 trace_generic_add_lease(inode, lease); in generic_add_lease() [all …]
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | smb2misc.c | 486 __le32 lease = 0; in smb2_get_lease_state() local 489 lease |= SMB2_LEASE_WRITE_CACHING; in smb2_get_lease_state() 491 lease |= SMB2_LEASE_HANDLE_CACHING; in smb2_get_lease_state() 493 lease |= SMB2_LEASE_READ_CACHING; in smb2_get_lease_state() 494 return lease; in smb2_get_lease_state()
|
D | cifsfs.c | 1001 cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv) in cifs_setlease() argument 1017 return generic_setlease(file, arg, lease, priv); in cifs_setlease() 1028 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | inode.c | 1063 struct ceph_mds_reply_lease *lease, in __update_dentry_lease() argument 1069 unsigned mask = le16_to_cpu(lease->mask); in __update_dentry_lease() 1070 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease() 1104 di->lease_seq = le32_to_cpu(lease->seq); in __update_dentry_lease() 1113 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument 1119 __update_dentry_lease(dir, dentry, lease, session, from_time, in update_dentry_lease() 1129 struct ceph_mds_reply_lease *lease, in update_dentry_lease_careful() argument 1163 __update_dentry_lease(dir, dentry, lease, session, in update_dentry_lease_careful() 1770 rde->lease, req->r_session, in ceph_readdir_prepopulate()
|
D | mds_client.c | 257 struct ceph_mds_reply_lease **lease, in parse_reply_info_lease() argument 274 ceph_decode_need(p, end, sizeof(**lease), bad); in parse_reply_info_lease() 275 *lease = *p; in parse_reply_info_lease() 276 *p += sizeof(**lease); in parse_reply_info_lease() 375 err = parse_reply_info_lease(p, end, &rde->lease, features); in parse_reply_info_readdir() 4373 struct ceph_mds_lease *lease; in ceph_mdsc_lease_send_msg() local 4375 int len = sizeof(*lease) + sizeof(u32) + NAME_MAX; in ceph_mdsc_lease_send_msg() 4383 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg() 4384 lease->action = action; in ceph_mdsc_lease_send_msg() 4385 lease->seq = cpu_to_le32(seq); in ceph_mdsc_lease_send_msg() [all …]
|
D | mds_client.h | 91 struct ceph_mds_reply_lease *lease; member
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_sa.h | 374 u32 lease; member
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | ceph.rst | 145 cached metadata only when a lease or capability ensures it is
|
D | locking.rst | 421 so fl_release_private called on a lease should not block. 566 the lease within the individual filesystem to record the result of the
|
D | vfs.rst | 1098 called by the VFS to set or release a file lock lease. setlease 1100 the lease in the inode after setting it.
|
/kernel/linux/linux-5.10/Documentation/gpu/ |
D | drm-uapi.rst | 225 - Attempting to create a DRM lease on a disappeared DRM device will
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | sa_query.c | 523 { SERVICE_REC_FIELD(lease),
|
/kernel/linux/linux-5.10/include/linux/ |
D | fs.h | 1290 struct file_lock **lease, void **priv) in vfs_setlease() argument
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cifs/ |
D | usage.rst | 655 to explicitly request a lease, but can check whether a file
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | kernel-parameters.txt | 3158 to a lease timeout on the server. Please note that
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 15033 DRM_DEBUG_LEASE("no objects in lease\n"); 15061 DRM_DEBUG_LEASE("lease object lookup failed: %i\n", ret); 15067 /* Allocate a file descriptor for the lease */ 15076 DRM_DEBUG_LEASE("Creating lease\n"); 15133 DRM_DEBUG_LEASE("get lease for %d\n", lessee->lessee_id);
|