| /linux/fs/smb/server/ |
| H A D | oplock.c | 100 struct lease *lease; in alloc_lease() local 102 lease = kmalloc_obj(struct lease, KSMBD_DEFAULT_GFP); in alloc_lease() 103 if (!lease) in alloc_lease() 106 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 107 lease->state = lctx->req_state; in alloc_lease() 108 lease->new_state = 0; in alloc_lease() 109 lease->flags = lctx->flags; in alloc_lease() 110 lease in alloc_lease() 123 struct lease *lease; free_lease() local 251 struct lease *lease = opinfo->o_lease; opinfo_write_to_read() local 275 struct lease *lease = opinfo->o_lease; opinfo_read_handle_to_read() local 290 struct lease *lease = opinfo->o_lease; opinfo_write_to_none() local 313 struct lease *lease = opinfo->o_lease; opinfo_read_to_none() local 335 struct lease *lease = opinfo->o_lease; lease_read_to_write() local 360 struct lease *lease = opinfo->o_lease; lease_none_upgrade() local 425 struct lease *lease = opinfo_new->o_lease; grant_write_oplock() local 448 struct lease *lease = opinfo_new->o_lease; grant_read_oplock() local 470 struct lease *lease = opinfo_new->o_lease; grant_none_oplock() local 512 struct lease *lease; same_client_has_lease() local 821 struct lease *lease = opinfo->o_lease; smb2_lease_break_noti() local 888 struct lease *lease = brk_opinfo->o_lease; oplock_break() local 1468 create_lease_buf(u8 * rbuf,struct lease * lease) create_lease_buf() argument [all...] |
| H A D | oplock.h | 42 struct lease { struct 69 struct lease *o_lease; argument 104 /* Lease related functions */ 105 void create_lease_buf(u8 *rbuf, struct lease *lease);
|
| H A D | smb2pdu.c | 3507 * Compare parent lease using parent key. If there is no in smb2_open() 3508 * a lease that has same parent key, Send lease break in smb2_open() 3515 "lease req for(%s) req oplock state 0x%x, lease state 0x%x\n", in smb2_open() 3658 /* If lease is request send lease context response */ in smb2_open() 3662 ksmbd_debug(SMB, "lease granted on(%s) lease state 0x%x\n", in smb2_open() 8758 static int check_lease_state(struct lease *leas in smb21_lease_break_ack() 8736 check_lease_state(struct lease * lease,__le32 req_state) check_lease_state() argument 8767 struct lease *lease; smb21_lease_break_ack() local [all...] |
| H A D | Kconfig | 41 Secure negotiate, Pre-authentication integrity, oplock/lease,
|
| H A D | smb2misc.c | 49 /* use 44 for lease break */ 406 /* special case for SMB2.1 lease break message */ in ksmbd_smb2_check_message()
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | client-identifier.rst | 21 The NFSv4 protocol uses "lease-based file locking". Leases help 25 Simply put, an NFSv4 server creates a lease for each NFSv4 client. 27 the lease for that client. 30 While a lease remains valid, the server holding that lease 33 If a client stops renewing its lease (for example, if it crashes), 51 they can associate the client with its lease. Each client's 65 principal to authorize subsequent lease modification operations 87 Protecting NFSv4 lease state 91 assign a unique lease to each client. Under this scheme, there are 93 referred to as "lease stealing". [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_lease.c | 26 * may create additional DRM masters and 'lease' resources which it controls 28 * leased resources until the owner revokes the lease, or the new DRM master 44 * - A 'lease' is a contract between the lessor and lessee that identifies 47 * not permitted to lease the same object to multiple lessees. 58 * Since each lessee may lease objects from a single lessor, display resource 63 * the owner at the top of the lease tree (i.e. the &struct drm_master for which 316 /* Evacuate the lease */ in _drm_lease_revoke() 405 DRM_DEBUG_KMS("invalid object for lease\n"); in fill_object_idr() 413 drm_dbg_lease(dev, "lease validation failed\n"); in fill_object_idr() 417 /* add their IDs to the lease request - taking into account in fill_object_idr() [all …]
|
| H A D | drm_sysfs.c | 425 char *event_string = "LEASE=1"; in drm_sysfs_lease_event() 428 drm_dbg_lease(dev, "generating lease event\n"); in drm_sysfs_lease_event()
|
| /linux/net/core/ |
| H A D | netdev_rx_queue.c | 21 WRITE_ONCE(rxq_src->lease, rxq_dst); in netdev_rx_queue_lease() 22 WRITE_ONCE(rxq_dst->lease, rxq_src); in netdev_rx_queue_lease() 33 WRITE_ONCE(rxq_src->lease, NULL); in netdev_rx_queue_unlease() 34 WRITE_ONCE(rxq_dst->lease, NULL); in netdev_rx_queue_unlease() 42 return READ_ONCE(__netif_get_rx_queue(dev, rxq_idx)->lease); in netif_rxq_is_leased() 48 * lease traversal direction. 72 if (rxq->lease) { in __netif_get_rx_queue_lease() 75 rxq = rxq->lease; in __netif_get_rx_queue_lease() 330 /* Clean up memory provider state when a queue lease is torn down. If 331 * a memory provider was installed on the physical queue via the lease, [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb2misc.c | 81 /* BB FIXME can also be 44 for lease break */ 224 /* special case for SMB2.1 lease break message */ in smb2_check_message() 481 __le32 lease = 0; in smb2_get_lease_state() local 484 lease |= SMB2_LEASE_WRITE_CACHING_LE; in smb2_get_lease_state() 486 lease |= SMB2_LEASE_HANDLE_CACHING_LE; in smb2_get_lease_state() 488 lease |= SMB2_LEASE_READ_CACHING_LE; in smb2_get_lease_state() 489 return lease; in smb2_get_lease_state() 509 cifs_dbg(FYI, "Lease release rc %d\n", rc); in cifs_ses_oplock_break() 552 cifs_dbg(FYI, "lease key match, lease break 0x%x\n", in smb2_tcon_has_lease() 592 cifs_dbg(FYI, "lease key match, lease break 0x%x\n", in smb2_tcon_find_pending_open_lease() [all …]
|
| H A D | cached_dir.c | 36 * If it doesn't have a lease it is either not yet in find_or_create_cached_dir() 38 * being deleted due to a lease break. in find_or_create_cached_dir() 62 * Set @cfid->has_lease to true during construction so that the lease in find_or_create_cached_dir() 64 * lease break right after the request is sent or while @cfid is still in find_or_create_cached_dir() 193 * Return cached fid if it is valid (has a lease and has a time). in open_cached_dir() 257 * acquired a lease. in open_cached_dir() 401 * lease. Release one here, and the second below. in open_cached_dir() 625 * The lease was never cancelled from the server, in invalidate_all_cached_dirs() 687 * We found a lease remove it from the list in cached_dir_lease_break() 787 * Our lease has not yet been cancelled from the in cfids_laundromat_worker() [all …]
|
| H A D | smb2inode.c | 262 /* if there is an existing lease, reuse it */ in smb2_compound_op() 266 * lease keys are associated with the filepath. We are maintaining lease keys in smb2_compound_op() 268 * that the lease for a file be reused for an operation on its hardlink or in smb2_compound_op() 270 * As a workaround, send request using an existing lease key and if the server in smb2_compound_op() 272 * again without the lease. in smb2_compound_op() 1163 /* Retry compound request without lease */ in smb2_unlink() 1171 * If dentry (hence, inode) is NULL, lease break is going to in smb2_unlink() 1235 cifs_dbg(FYI, "invalid lease key, resending request without lease"); in smb2_rename_path() 1306 cifs_dbg(FYI, "invalid lease key, resending request without lease"); in smb2_set_path_size() 1548 cifs_dbg(FYI, "invalid lease key, resending request without lease\n"); in smb2_rename_pending_delete()
|
| H A D | cifsglob.h | 531 /* get lease key of the inode */ 533 /* set lease key of the inode */ 535 /* generate new lease key */ 556 /* create lease context buffer for CREATE request */ 558 /* parse lease context buffer and return oplock/epoch info */ 1416 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ 1454 __u16 oplock_epoch; /* epoch from the lease break */ 1455 __u32 oplock_level; /* oplock/lease level from the lease break */ 1559 unsigned int oplock; /* oplock/lease level we have */ 1560 __u16 epoch; /* used to track lease state changes */ [all …]
|
| /linux/include/drm/ |
| H A D | drm_auth.h | 70 * Lease grantor, only set if this &struct drm_master represents a 71 * lessee holding a lease of objects from @lessor. Full owners of the 119 * removed all together when the lease is revoked.
|
| /linux/include/linux/ceph/ |
| H A D | ceph_fs.h | 504 __le16 num_releases; /* # include cap/lease release records */ 520 __le16 num_releases; /* # include cap/lease release records */ 534 /* cap/lease release record */ 539 __le32 dname_seq; /* if releasing a dentry lease, a */ 599 __le16 mask; /* lease type(s) */ 600 __le32 duration_ms; /* lease duration */ 828 /* lease msg header */ 831 __le16 mask; /* which lease */
|
| /linux/fs/ceph/ |
| H A D | dir.c | 754 * care to issue a lease on the negative dentry). 1544 * Move dentry to tail of mdsc->dentry_leases list when lease is updated. 1579 * When dir lease is used, add dentry to tail of mdsc->dentry_dir_leases 1594 /* don't remove dentry from dentry lease list in __ceph_dentry_dir_lease_touch() 1595 * if its lease is valid */ in __ceph_dentry_dir_lease_touch() 1681 /* move it into tail of dir lease list */ in __dentry_leases_walk() 1687 /* stale lease */ in __dentry_leases_walk() 1691 * it to lease list, or in __dentry_leases_walk() 1762 /* Move dentry to tail of dir lease list if we don't want in __dir_lease_check() 1770 /* invalidate dir lease */ in __dir_lease_check() [all …]
|
| H A D | inode.c | 1417 struct ceph_mds_reply_lease *lease, in __update_dentry_lease() argument 1424 unsigned mask = le16_to_cpu(lease->mask); in __update_dentry_lease() 1425 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease() 1448 return; /* we already have a newer lease. */ in __update_dentry_lease() 1458 di->lease_seq = le32_to_cpu(lease->seq); in __update_dentry_lease() 1467 struct ceph_mds_reply_lease *lease, in update_dentry_lease() argument 1473 __update_dentry_lease(dir, dentry, lease, session, from_time, in update_dentry_lease() 1480 * update dentry lease without having parent inode locked 1483 struct ceph_mds_reply_lease *lease, in update_dentry_lease_careful() argument 1517 __update_dentry_lease(dir, dentry, lease, session, in update_dentry_lease_careful() [all …]
|
| H A D | metric.h | 101 /* metric dentry lease header */
|
| H A D | mds_client.h | 132 struct ceph_mds_reply_lease *lease; member 364 used to measure lease durations */
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| H A D | meson-g12b-fails.txt | 8 kms_lease@lease-uevent,Fail
|
| /linux/fs/nfsd/ |
| H A D | state.h | 200 * o 1 reference as long as a recall rpc is in progress (taken when the lease 404 * | | Lease/lock/share | | 431 * 0. If they are not renewed within a lease period, they become eligible for 463 time64_t cl_time; /* time of last lease renewal */ 539 * upon lease reset, or from upcall to state_daemon (to read in state
|
| /linux/Documentation/filesystems/smb/ |
| H A D | ksmbd.rst | 75 SMB2 leases(v1 lease) Supported. 76 Directory leases(v2 lease) Supported.
|
| /linux/fs/nfs/ |
| H A D | nfs4state.c | 1191 * Schedule a lease recovery attempt 1199 dprintk("%s: scheduling lease recovery for server %s\n", __func__, in nfs4_schedule_lease_recovery() 1242 * nfs4_schedule_lease_moved_recovery - start lease-moved recovery 1249 dprintk("%s: scheduling lease-moved recovery for client ID %llx on %s\n", in nfs4_schedule_lease_moved_recovery() 1904 /* Is the client already known to have an expired lease? */ in nfs4_check_lease() 1933 /* Lease confirmation error: retry after purging the lease */ in nfs4_handle_reclaim_lease_error() 2171 dprintk("%s: lease moved reported on \"%s\"\n", __func__, in nfs4_handle_lease_moved() 2542 section = "lease expired"; in nfs4_state_manager() 2571 section = "check lease"; in nfs4_state_manager() 2586 section = "lease moved"; in nfs4_state_manager()
|
| H A D | nfs4file.c | 430 static int nfs4_setlease(struct file *file, int arg, struct file_lease **lease, in nfs4_setlease() argument 433 return nfs4_proc_setlease(file, arg, lease, priv); in nfs4_setlease()
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | bond_passive_lacp.sh | 93 # send lacpdu pkts in a few seconds. sleep at lease 5s to make sure
|