Lines Matching refs:lease
18 * Update a client's lease grant for this perm record
48 * Get current time, and add in the (skewed) lease duration
55 * If we are in an election, we cannot grant the lease.
67 * Send the LEASE_GRANT message with the current lease grant
68 * no matter if we've actually extended the lease or not.
84 * Return 0 if this client has no outstanding lease granted.
101 * Get current time and compare against our granted lease.
111 * Allocate the lease table on a master. Called with rep mutex
126 int *lease, ret;
135 &lease)) == 0) {
139 rep->lease_off = R_OFFSET(infop, lease);
182 * Get current time, and add in the (skewed) lease duration
194 * lease grant is a later start time than the current one.
302 * Count this lease as valid if:
304 * - The lease has not expired.
336 * because the lease grant messages may have raced with
455 * Return the amount of time remaining on a granted lease.
474 * If the lease has never been granted, we must wait a full
475 * lease timeout because we could be freshly rebooted after
476 * a crash and a lease could be granted from a previous