| /linux/fs/smb/server/ |
| H A D | oplock.c | 49 static bool lease_has_parent_key(struct lease *lease) in lease_has_parent_key() argument 51 return lease->flags & SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET_LE; in lease_has_parent_key() 54 static bool lease_break_in_progress(struct lease *lease) in lease_break_in_progress() argument 59 spin_lock(&lease->lock); in lease_break_in_progress() 60 list_for_each_entry(opinfo, &lease->open_list, lease_entry) { in lease_break_in_progress() 66 spin_unlock(&lease->lock); in lease_break_in_progress() 107 static void lease_get(struct lease *lease) in lease_get() argument 109 atomic_inc(&lease->refcount); in lease_get() 112 static void lease_put(struct lease *lease) in lease_put() argument 114 if (lease && atomic_dec_and_test(&lease->refcount)) in lease_put() [all …]
|
| H A D | oplock.h | 43 struct lease { struct 77 struct lease *o_lease; argument 117 /* Lease related functions */ 118 void create_lease_buf(u8 *rbuf, struct lease *lease); 121 void lease_update_oplock_levels(struct lease *lease);
|
| H A D | smb2misc.c | 49 /* use 44 for lease break */ 488 /* 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_queues.c | 51 hw_rxq = __netif_get_rx_queue(dev, idx)->lease; in netdev_queue_get_dma_dev() 85 NL_SET_ERR_MSG(extack, "Lease device is a virtual device"); in netdev_can_lease_queue() 89 NL_SET_ERR_MSG(extack, "Lease device has been removed from the system"); in netdev_can_lease_queue() 93 NL_SET_ERR_MSG(extack, "Lease device does not support queue management operations"); in netdev_can_lease_queue()
|
| H A D | netdev-genl.c | 464 hw_rxq = rxq->lease; in netdev_nl_queue_fill_mp() 1158 lease_rxq = READ_ONCE(__netif_get_rx_queue(dev, i)->lease); in netdev_find_netmem_tx_dev() 1399 if (rxq->lease && rxq->lease->dev != dev_lease) { in netdev_nl_queue_create_doit()
|
| /linux/fs/smb/client/ |
| H A D | smb2misc.c | 84 /* BB FIXME can also be 44 for lease break */ 229 /* special case for SMB2.1 lease break message */ in smb2_check_message() 517 __le32 lease = 0; in smb2_get_lease_state() local 520 lease |= SMB2_LEASE_WRITE_CACHING_LE; in smb2_get_lease_state() 522 lease |= SMB2_LEASE_HANDLE_CACHING_LE; in smb2_get_lease_state() 524 lease |= SMB2_LEASE_READ_CACHING_LE; in smb2_get_lease_state() 525 return lease; in smb2_get_lease_state() 545 cifs_dbg(FYI, "Lease release rc %d\n", rc); in cifs_ses_oplock_break() 588 cifs_dbg(FYI, "lease key match, lease break 0x%x\n", in smb2_tcon_has_lease() 628 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 | cifsglob.h | 532 /* get lease key of the inode */ 534 /* set lease key of the inode */ 536 /* generate new lease key */ 557 /* create lease context buffer for CREATE request */ 559 /* parse lease context buffer and return oplock/epoch info */ 1420 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ 1458 __u16 oplock_epoch; /* epoch from the lease break */ 1459 __u32 oplock_level; /* oplock/lease level from the lease break */ 1563 unsigned int oplock; /* oplock/lease level we have */ 1564 __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/Documentation/netlink/specs/ |
| H A D | netdev.yaml | 358 name: lease 360 A queue from a virtual device can have a lease which refers to 365 nested-attributes: lease 565 name: lease 569 doc: The netdev ifindex to lease the queue from. 575 doc: The netdev queue to lease from. 749 - lease 874 - lease
|
| /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/tools/testing/selftests/drivers/net/hw/ |
| H A D | devmem_lib.py | 83 """Channels, rings, RSS, queue lease for netkit devmem.""" 87 "may lease a queue away and make later probes fail.") 125 "lease": {
|
| /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 | netns.h | 92 * used in reboot/reset lease grace period processing 110 * for lease renewal.
|
| H A D | nfs4layouts.c | 701 /* Client gets 2 lease periods to return it */ in nfsd4_cb_layout_done() 759 * Enforce break lease timeout to prevent NFSD in nfsd4_layout_lm_break() 777 * desired lease. 779 * @arg: type of lease that we're trying to acquire 808 /* unlock the lease so that tasks waiting on it can proceed */ in nfsd4_layout_fence_worker()
|
| H A D | state.h | 264 * o 1 reference as long as a recall rpc is in progress (taken when the lease 478 * | | Lease/lock/share | | 505 * 0. If they are not renewed within a lease period, they become eligible for 537 time64_t cl_time; /* time of last lease renewal */ 613 * 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 | 1217 * Schedule a lease recovery attempt 1225 dprintk("%s: scheduling lease recovery for server %s\n", __func__, in nfs4_schedule_lease_recovery() 1268 * nfs4_schedule_lease_moved_recovery - start lease-moved recovery 1275 dprintk("%s: scheduling lease-moved recovery for client ID %llx on %s\n", in nfs4_schedule_lease_moved_recovery() 1930 /* Is the client already known to have an expired lease? */ in nfs4_check_lease() 1959 /* Lease confirmation error: retry after purging the lease */ in nfs4_handle_reclaim_lease_error() 2197 dprintk("%s: lease moved reported on \"%s\"\n", __func__, in nfs4_handle_lease_moved() 2568 section = "lease expired"; in nfs4_state_manager() 2597 section = "check lease"; in nfs4_state_manager() 2612 section = "lease moved"; in nfs4_state_manager()
|
| H A D | nfs4session.c | 638 * DS lease to be equal to the MDS lease. in nfs4_init_ds_session() 640 * A v4.0 DS has no session, so seed the lease every time. in nfs4_init_ds_session()
|
| H A D | nfs4file.c | 432 static int nfs4_setlease(struct file *file, int arg, struct file_lease **lease, in nfs4_setlease() argument 435 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
|
| /linux/fs/ceph/ |
| H A D | metric.h | 101 /* metric dentry lease header */
|