Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A Doplock.c93 struct lease *lease; in alloc_lease() local
115 struct lease *lease; in free_lease() local
229 struct lease *lease = opinfo->o_lease; in opinfo_write_to_read() local
241 lease->state = lease->new_state; in opinfo_write_to_read()
253 struct lease *lease = opinfo->o_lease; in opinfo_read_handle_to_read() local
255 lease->state = lease->new_state; in opinfo_read_handle_to_read()
268 struct lease *lease = opinfo->o_lease; in opinfo_write_to_none() local
279 lease->state = lease->new_state; in opinfo_write_to_none()
291 struct lease *lease = opinfo->o_lease; in opinfo_read_to_none() local
301 lease->state = lease->new_state; in opinfo_read_to_none()
[all …]
A Doplock.h47 struct lease { struct
73 struct lease *o_lease; argument
110 void create_lease_buf(u8 *rbuf, struct lease *lease);
A DKconfig40 Secure negotiate, Pre-authentication integrity, oplock/lease,
A Dsmb2pdu.c7969 static int check_lease_state(struct lease *lease, __le32 req_state) in check_lease_state() argument
7971 if ((lease->new_state == in check_lease_state()
7974 lease->new_state = req_state; in check_lease_state()
7978 if (lease->new_state == req_state) in check_lease_state()
8000 struct lease *lease; in smb21_lease_break_ack() local
8011 lease = opinfo->o_lease; in smb21_lease_break_ack()
8024 req->LeaseState, lease->new_state); in smb21_lease_break_ack()
8042 le32_to_cpu(lease->state), in smb21_lease_break_ack()
8049 le32_to_cpu(lease->state), in smb21_lease_break_ack()
8084 le32_to_cpu(lease->state), in smb21_lease_break_ack()
[all …]
/linux/fs/nfs/
A 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()
A Dnfs4file.c436 static int nfs4_setlease(struct file *file, long arg, struct file_lock **lease, in nfs4_setlease() argument
439 return nfs4_proc_setlease(file, arg, lease, priv); in nfs4_setlease()
A Dnfs4_fs.h325 struct file_lock **lease, void **priv);
460 extern void nfs4_set_lease_period(struct nfs_client *clp, unsigned long lease);
A Dnfs4proc.c7403 static int nfs4_add_lease(struct file *file, long arg, struct file_lock **lease, in nfs4_add_lease() argument
7413 ret = generic_setlease(file, arg, lease, priv); in nfs4_add_lease()
7421 int nfs4_proc_setlease(struct file *file, long arg, struct file_lock **lease, in nfs4_proc_setlease() argument
7427 return nfs4_add_lease(file, arg, lease, priv); in nfs4_proc_setlease()
/linux/include/trace/events/
A 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,
/linux/fs/
A Dlocks.c1355 && lease->fl_lmops->lm_breaker_owns_lease(lease)) in leases_conflict()
1366 rc = locks_conflict(breaker, lease); in leases_conflict()
1641 lease = *flp; in generic_add_lease()
1642 trace_generic_add_lease(inode, lease); in generic_add_lease()
1705 lease = my_fl; in generic_add_lease()
1706 error = lease->fl_lmops->lm_change(lease, arg, &dispose); in generic_add_lease()
1729 locks_unlink_lock_ctx(lease); in generic_add_lease()
1734 if (lease->fl_lmops->lm_setup) in generic_add_lease()
1735 lease->fl_lmops->lm_setup(lease, priv); in generic_add_lease()
1899 if (lease) in vfs_setlease()
[all …]
/linux/fs/cifs/
A Dsmb2misc.c478 __le32 lease = 0; in smb2_get_lease_state() local
481 lease |= SMB2_LEASE_WRITE_CACHING; in smb2_get_lease_state()
483 lease |= SMB2_LEASE_HANDLE_CACHING; in smb2_get_lease_state()
485 lease |= SMB2_LEASE_READ_CACHING; in smb2_get_lease_state()
486 return lease; in smb2_get_lease_state()
A Dcifsfs.c1021 cifs_setlease(struct file *file, long arg, struct file_lock **lease, void **priv) in cifs_setlease() argument
1037 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
1048 return generic_setlease(file, arg, lease, priv); in cifs_setlease()
/linux/fs/ceph/
A Dinode.c1089 struct ceph_mds_reply_lease *lease, in __update_dentry_lease() argument
1095 unsigned mask = le16_to_cpu(lease->mask); in __update_dentry_lease()
1096 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease()
1130 di->lease_seq = le32_to_cpu(lease->seq); in __update_dentry_lease()
1139 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument
1145 __update_dentry_lease(dir, dentry, lease, session, from_time, in update_dentry_lease()
1155 struct ceph_mds_reply_lease *lease, in update_dentry_lease_careful() argument
1189 __update_dentry_lease(dir, dentry, lease, session, in update_dentry_lease_careful()
1787 rde->lease, req->r_session, in ceph_readdir_prepopulate()
A Dmds_client.c265 struct ceph_mds_reply_lease **lease, in parse_reply_info_lease() argument
282 ceph_decode_need(p, end, sizeof(**lease), bad); in parse_reply_info_lease()
283 *lease = *p; in parse_reply_info_lease()
284 *p += sizeof(**lease); in parse_reply_info_lease()
4379 struct ceph_mds_lease *lease; in ceph_mdsc_lease_send_msg() local
4389 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg()
4390 lease->action = action; in ceph_mdsc_lease_send_msg()
4391 lease->seq = cpu_to_le32(seq); in ceph_mdsc_lease_send_msg()
4395 lease->ino = cpu_to_le64(ceph_ino(dir)); in ceph_mdsc_lease_send_msg()
4396 lease->first = lease->last = cpu_to_le64(ceph_snap(dir)); in ceph_mdsc_lease_send_msg()
[all …]
A Dmds_client.h98 struct ceph_mds_reply_lease *lease; member
/linux/Documentation/filesystems/cifs/
A Dksmbd.rst75 SMB2 leases(v1 lease) Supported.
76 Directory leases(v2 lease) Planned for future.
/linux/Documentation/filesystems/
A Dceph.rst145 cached metadata only when a lease or capability ensures it is
A Dlocking.rst430 so fl_release_private called on a lease should not block.
576 the lease within the individual filesystem to record the result of the
A Dvfs.rst1117 called by the VFS to set or release a file lock lease. setlease
1119 the lease in the inode after setting it.
/linux/Documentation/gpu/
A Ddrm-uapi.rst234 - Attempting to create a DRM lease on a disappeared DRM device will
/linux/include/linux/
A Dfs.h1329 struct file_lock **lease, void **priv) in vfs_setlease() argument
/linux/Documentation/admin-guide/cifs/
A Dusage.rst655 to explicitly request a lease, but can check whether a file
/linux/Documentation/admin-guide/
A Dkernel-parameters.txt3243 to a lease timeout on the server. Please note that

Completed in 101 milliseconds