Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
Dnfs4_fs.h462 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
/kernel/linux/linux-5.10/include/trace/events/
Dfilelock.h207 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/
Dlocks.c1557 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/
Dsmb2misc.c486 __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()
Dcifsfs.c1001 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/
Dinode.c1063 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()
Dmds_client.c257 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 …]
Dmds_client.h91 struct ceph_mds_reply_lease *lease; member
/kernel/linux/linux-5.10/include/rdma/
Dib_sa.h374 u32 lease; member
/kernel/linux/linux-5.10/Documentation/filesystems/
Dceph.rst145 cached metadata only when a lease or capability ensures it is
Dlocking.rst421 so fl_release_private called on a lease should not block.
566 the lease within the individual filesystem to record the result of the
Dvfs.rst1098 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/
Ddrm-uapi.rst225 - Attempting to create a DRM lease on a disappeared DRM device will
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsa_query.c523 { SERVICE_REC_FIELD(lease),
/kernel/linux/linux-5.10/include/linux/
Dfs.h1290 struct file_lock **lease, void **priv) in vfs_setlease() argument
/kernel/linux/linux-5.10/Documentation/admin-guide/cifs/
Dusage.rst655 to explicitly request a lease, but can check whether a file
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt3158 to a lease timeout on the server. Please note that
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch15033 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);