Searched refs:lease (Results 1 – 8 of 8) sorted by relevance
/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() 144 unsigned long lease, in nfs4_set_lease_period() argument 148 clp->cl_lease_time = lease; in nfs4_set_lease_period() 153 rpc_set_connect_timeout(clp->cl_rpcclient, lease, lease >> 1); in nfs4_set_lease_period()
|
D | nfs4_fs.h | 443 unsigned long lease,
|
/fs/ |
D | locks.c | 1531 static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker) in leases_conflict() argument 1535 if ((breaker->fl_flags & FL_LAYOUT) != (lease->fl_flags & FL_LAYOUT)) { in leases_conflict() 1539 if ((breaker->fl_flags & FL_DELEG) && (lease->fl_flags & FL_LEASE)) { in leases_conflict() 1544 rc = locks_conflict(breaker, lease); in leases_conflict() 1546 trace_leases_conflict(rc, lease, breaker); in leases_conflict() 1808 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local 1815 lease = *flp; in generic_add_lease() 1816 trace_generic_add_lease(inode, lease); in generic_add_lease() 1844 error = check_conflicting_open(filp, arg, lease->fl_flags); in generic_add_lease() 1859 fl->fl_owner == lease->fl_owner) { in generic_add_lease() [all …]
|
/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 | 979 cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv) in cifs_setlease() argument 995 return generic_setlease(file, arg, lease, priv); in cifs_setlease() 1006 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
|
/fs/ceph/ |
D | inode.c | 1043 struct ceph_mds_reply_lease *lease, in __update_dentry_lease() argument 1049 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease() 1078 di->lease_seq = le32_to_cpu(lease->seq); in __update_dentry_lease() 1087 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument 1093 __update_dentry_lease(dir, dentry, lease, session, from_time, in update_dentry_lease() 1104 struct ceph_mds_reply_lease *lease, in update_dentry_lease_careful() argument 1138 __update_dentry_lease(dir, dentry, lease, session, in update_dentry_lease_careful() 1728 rde->lease, req->r_session, in ceph_readdir_prepopulate()
|
D | mds_client.c | 255 struct ceph_mds_reply_lease **lease, in parse_reply_info_lease() argument 272 ceph_decode_need(p, end, sizeof(**lease), bad); in parse_reply_info_lease() 273 *lease = *p; in parse_reply_info_lease() 274 *p += sizeof(**lease); in parse_reply_info_lease() 373 err = parse_reply_info_lease(p, end, &rde->lease, features); in parse_reply_info_readdir() 3976 struct ceph_mds_lease *lease; in ceph_mdsc_lease_send_msg() local 3978 int len = sizeof(*lease) + sizeof(u32) + NAME_MAX; in ceph_mdsc_lease_send_msg() 3986 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg() 3987 lease->action = action; in ceph_mdsc_lease_send_msg() 3988 lease->seq = cpu_to_le32(seq); in ceph_mdsc_lease_send_msg() [all …]
|
D | mds_client.h | 80 struct ceph_mds_reply_lease *lease; member
|