/Linux-v4.19/fs/nfs/ |
D | nfs4renewd.c | 61 long lease; in nfs4_renew_state() local 72 lease = clp->cl_lease_time; in nfs4_renew_state() 76 if (time_after(now, last + lease/3)) in nfs4_renew_state() 147 unsigned long lease, in nfs4_set_lease_period() argument 151 clp->cl_lease_time = lease; in nfs4_set_lease_period() 156 rpc_set_connect_timeout(clp->cl_rpcclient, lease, lease >> 1); in nfs4_set_lease_period()
|
D | nfs4_fs.h | 445 unsigned long lease,
|
/Linux-v4.19/fs/ |
D | locks.c | 1407 static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker) in leases_conflict() argument 1409 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) in leases_conflict() 1411 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) in leases_conflict() 1413 return locks_conflict(breaker, lease); in leases_conflict() 1662 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local 1670 lease = *flp; in generic_add_lease() 1671 trace_generic_add_lease(inode, lease); in generic_add_lease() 1699 error = check_conflicting_open(dentry, arg, lease->fl_flags); in generic_add_lease() 1714 fl->fl_owner == lease->fl_owner) { in generic_add_lease() 1734 lease = my_fl; in generic_add_lease() [all …]
|
/Linux-v4.19/fs/cifs/ |
D | smb2misc.c | 479 __le32 lease = 0; in smb2_get_lease_state() local 482 lease |= SMB2_LEASE_WRITE_CACHING; in smb2_get_lease_state() 484 lease |= SMB2_LEASE_HANDLE_CACHING; in smb2_get_lease_state() 486 lease |= SMB2_LEASE_READ_CACHING; in smb2_get_lease_state() 487 return lease; in smb2_get_lease_state()
|
D | cifsfs.c | 897 cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv) in cifs_setlease() argument 913 return generic_setlease(file, arg, lease, priv); in cifs_setlease() 924 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
|
/Linux-v4.19/fs/ceph/ |
D | mds_client.c | 235 rde->lease = *p; in parse_reply_info_dir() 3497 struct ceph_mds_lease *lease; in ceph_mdsc_lease_send_msg() local 3498 int len = sizeof(*lease) + sizeof(u32); in ceph_mdsc_lease_send_msg() 3509 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg() 3510 lease->action = action; in ceph_mdsc_lease_send_msg() 3511 lease->ino = cpu_to_le64(ceph_vino(inode).ino); in ceph_mdsc_lease_send_msg() 3512 lease->first = lease->last = cpu_to_le64(ceph_vino(inode).snap); in ceph_mdsc_lease_send_msg() 3513 lease->seq = cpu_to_le32(seq); in ceph_mdsc_lease_send_msg() 3514 put_unaligned_le32(dnamelen, lease + 1); in ceph_mdsc_lease_send_msg() 3515 memcpy((void *)(lease + 1) + 4, dentry->d_name.name, dnamelen); in ceph_mdsc_lease_send_msg()
|
D | mds_client.h | 71 struct ceph_mds_reply_lease *lease; member
|
D | inode.c | 1030 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument 1037 long unsigned duration = le32_to_cpu(lease->duration_ms); in update_dentry_lease() 1087 di->lease_seq = le32_to_cpu(lease->seq); in update_dentry_lease() 1689 update_dentry_lease(dn, rde->lease, req->r_session, in ceph_readdir_prepopulate()
|
/Linux-v4.19/include/rdma/ |
D | ib_sa.h | 401 u32 lease; member
|
/Linux-v4.19/Documentation/filesystems/ |
D | ceph.txt | 139 cached metadata only when a lease or capability ensures it is
|
D | Locking | 358 so fl_release_private called on a lease should not block. 502 the lease within the individual filesystem to record the result of the
|
D | vfs.txt | 955 setlease: called by the VFS to set or release a file lock lease. setlease 957 the lease in the inode after setting it.
|
/Linux-v4.19/drivers/infiniband/core/ |
D | sa_query.c | 524 { SERVICE_REC_FIELD(lease),
|
/Linux-v4.19/include/linux/ |
D | fs.h | 1237 struct file_lock **lease, void **priv) in vfs_setlease() argument
|
/Linux-v4.19/Documentation/filesystems/cifs/ |
D | README | 562 to explicitly request a lease, but can check whether a file
|
/Linux-v4.19/Documentation/admin-guide/ |
D | kernel-parameters.txt | 2661 to a lease timeout on the server. Please note that
|