Searched refs:lease (Results 1 – 8 of 8) sorted by relevance
/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 | 411 unsigned long lease,
|
/fs/ |
D | locks.c | 1415 static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker) in leases_conflict() argument 1417 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) in leases_conflict() 1419 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) in leases_conflict() 1421 return locks_conflict(breaker, lease); in leases_conflict() 1673 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local 1681 lease = *flp; in generic_add_lease() 1682 trace_generic_add_lease(inode, lease); in generic_add_lease() 1710 error = check_conflicting_open(dentry, arg, lease->fl_flags); in generic_add_lease() 1725 fl->fl_owner == lease->fl_owner) { in generic_add_lease() 1745 lease = my_fl; in generic_add_lease() [all …]
|
/fs/cifs/ |
D | smb2misc.c | 442 __le32 lease = 0; in smb2_get_lease_state() local 445 lease |= SMB2_LEASE_WRITE_CACHING; in smb2_get_lease_state() 447 lease |= SMB2_LEASE_HANDLE_CACHING; in smb2_get_lease_state() 449 lease |= SMB2_LEASE_READ_CACHING; in smb2_get_lease_state() 450 return lease; in smb2_get_lease_state()
|
D | cifsfs.c | 860 cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv) in cifs_setlease() argument 876 return generic_setlease(file, arg, lease, priv); in cifs_setlease() 887 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
|
/fs/ceph/ |
D | mds_client.c | 215 rde->lease = *p; in parse_reply_info_dir() 3446 struct ceph_mds_lease *lease; in ceph_mdsc_lease_send_msg() local 3447 int len = sizeof(*lease) + sizeof(u32); in ceph_mdsc_lease_send_msg() 3458 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg() 3459 lease->action = action; in ceph_mdsc_lease_send_msg() 3460 lease->ino = cpu_to_le64(ceph_vino(inode).ino); in ceph_mdsc_lease_send_msg() 3461 lease->first = lease->last = cpu_to_le64(ceph_vino(inode).snap); in ceph_mdsc_lease_send_msg() 3462 lease->seq = cpu_to_le32(seq); in ceph_mdsc_lease_send_msg() 3463 put_unaligned_le32(dnamelen, lease + 1); in ceph_mdsc_lease_send_msg() 3464 memcpy((void *)(lease + 1) + 4, dentry->d_name.name, dnamelen); in ceph_mdsc_lease_send_msg()
|
D | mds_client.h | 57 struct ceph_mds_reply_lease *lease; member
|
D | inode.c | 1012 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument 1019 long unsigned duration = le32_to_cpu(lease->duration_ms); in update_dentry_lease() 1069 di->lease_seq = le32_to_cpu(lease->seq); in update_dentry_lease() 1642 update_dentry_lease(dn, rde->lease, req->r_session, in ceph_readdir_prepopulate()
|