Home
last modified time | relevance | path

Searched full:expiry (Results 1 – 25 of 138) sorted by relevance

123456

/Linux-v5.15/fs/cifs/
Ddns_resolve.c26 * @expiry: Where to return the expiry time for the dns record.
34 dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip() argument
69 NULL, ip_addr, expiry, false); in dns_resolve_server_name_to_ip()
74 cifs_dbg(FYI, "%s: resolved: %*.*s to %s expiry %llu\n", in dns_resolve_server_name_to_ip()
76 expiry ? (*expiry) : 0); in dns_resolve_server_name_to_ip()
/Linux-v5.15/block/
Dblk-timeout.c131 unsigned long expiry; in blk_add_timer() local
142 expiry = jiffies + req->timeout; in blk_add_timer()
143 WRITE_ONCE(req->deadline, expiry); in blk_add_timer()
150 expiry = blk_rq_timeout(blk_round_jiffies(expiry)); in blk_add_timer()
153 time_before(expiry, q->timeout.expires)) { in blk_add_timer()
154 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer()
164 mod_timer(&q->timeout, expiry); in blk_add_timer()
/Linux-v5.15/net/rxrpc/
Dkey.c57 time64_t expiry; in rxrpc_preparse_xdr_rxkad() local
93 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad()
100 _debug("EXPY: %x", token->kad->expiry); in rxrpc_preparse_xdr_rxkad()
124 expiry = rxrpc_u32_to_time64(token->kad->expiry); in rxrpc_preparse_xdr_rxkad()
125 if (expiry < prep->expiry) in rxrpc_preparse_xdr_rxkad()
126 prep->expiry = expiry; in rxrpc_preparse_xdr_rxkad()
270 * 8 4 key expiry time (time_t)
281 time64_t expiry; in rxrpc_preparse() local
324 _debug("EXPY: %x", v1->expiry); in rxrpc_preparse()
355 token->kad->expiry = v1->expiry; in rxrpc_preparse()
[all …]
Dcall_event.c50 unsigned long expiry = rxrpc_soft_ack_delay; in __rxrpc_propose_ACK() local
83 if (rxrpc_requested_ack_delay < expiry) in __rxrpc_propose_ACK()
84 expiry = rxrpc_requested_ack_delay; in __rxrpc_propose_ACK()
90 if (rxrpc_soft_ack_delay < expiry) in __rxrpc_propose_ACK()
91 expiry = rxrpc_soft_ack_delay; in __rxrpc_propose_ACK()
95 if (rxrpc_idle_ack_delay < expiry) in __rxrpc_propose_ACK()
96 expiry = rxrpc_idle_ack_delay; in __rxrpc_propose_ACK()
106 } else if (immediate || expiry == 0) { in __rxrpc_propose_ACK()
117 ack_at = expiry; in __rxrpc_propose_ACK()
/Linux-v5.15/Documentation/filesystems/
Dautomount-support.rst39 Automatic Mountpoint Expiry
57 vfsmount thereon for potential expiry on the next call.
59 If a vfsmount was already flagged for expiry, and if its usage count is 1
79 Userspace Driven Expiry
82 As an alternative, it is possible for userspace to request expiry of any
91 If the mountpoint was not already marked for expiry at that time, an EAGAIN
Dautofs.rst129 expiry (automatic unmounting of the mounted filesystem) to
162 - -EINTR if a signal arrived while waiting for expiry to
183 reason that it might not be is if an expiry of the mount is
197 autofs will return `-ECHILD` if an expiry of the filesystem has been
201 Mountpoint expiry
211 over expiry.
213 The VFS also supports "expiry" of mounts using the MNT_EXPIRE flag to
234 unmounted. So it is generally safest to use the autofs expiry
279 There are two ways to ask autofs to consider expiry. The first is to
292 will block until the daemon acknowledges the expiry notification.
[all …]
/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c129 * Ensure the exit from L2 is due to preemption timer expiry in l1_guest_code()
211 * If this stage 2 then we should verify the vmx pt expiry in main()
220 pr_info("Stage %d: L1 PT expiry TSC (%lu) , L1 TSC deadline (%lu)\n", in main()
223 pr_info("Stage %d: L2 PT expiry TSC (%lu) , L2 TSC deadline (%lu)\n", in main()
227 "Stage %d: L1 PT expiry TSC (%lu) < L1 TSC deadline (%lu)", in main()
231 "Stage %d: L2 PT expiry TSC (%lu) > L2 TSC deadline (%lu)", in main()
/Linux-v5.15/security/keys/
Dpermission.c105 time64_t expiry = READ_ONCE(key->expiry); in key_validate() local
116 if (expiry) { in key_validate()
117 if (ktime_get_real_seconds() >= expiry) in key_validate()
Dproc.c159 time64_t now, expiry; in proc_keys_show() local
200 expiry = READ_ONCE(key->expiry); in proc_keys_show()
201 if (expiry == 0) { in proc_keys_show()
203 } else if (now >= expiry) { in proc_keys_show()
206 timo = expiry - now; in proc_keys_show()
Dkey.c466 if (prep->expiry != TIME64_MAX) { in __key_instantiate_and_link()
467 key->expiry = prep->expiry; in __key_instantiate_and_link()
468 key_schedule_gc(prep->expiry + key_gc_delay); in __key_instantiate_and_link()
513 prep.expiry = TIME64_MAX; in key_instantiate_and_link()
609 key->expiry = ktime_get_real_seconds() + timeout; in key_reject_and_link()
610 key_schedule_gc(key->expiry + key_gc_delay); in key_reject_and_link()
725 time64_t expiry = 0; in key_set_timeout() local
731 expiry = ktime_get_real_seconds() + timeout; in key_set_timeout()
733 key->expiry = expiry; in key_set_timeout()
734 key_schedule_gc(key->expiry + key_gc_delay); in key_set_timeout()
[all …]
Dgc.c14 * Delay between key revocation/expiry in seconds
237 if (key->expiry > limit && key->expiry < new_timer) { in key_garbage_collector()
239 key_serial(key), key->expiry - limit); in key_garbage_collector()
240 new_timer = key->expiry; in key_garbage_collector()
/Linux-v5.15/include/linux/
Dhrtimer.h100 * the absolute expiry time in the hrtimers internal
105 * @_softexpires: the absolute earliest expiry time of the hrtimer.
106 * The time which was given as expiry time when the timer
108 * @function: timer expiry callback function
203 * hrtimer enqueue; it is the total first expiry time (hard
410 * @tim: expiry time
488 * hrtimer_forward_now - forward the timer expiry so it expires after now
492 * Forward the timer expiry so it will expire after the current time
500 * Note: This only updates the timer expiry value and does not requeue
Dposix-timers.h67 * @elist: List head for the expiry list
124 * @expiry_active: Timer expiry is active. Used for
126 * task trying to handle expiry concurrently
137 * posix_cputimers_work - Container for task work based posix CPU timer expiry
/Linux-v5.15/kernel/time/
Dposix-cpu-timers.c112 * Update expiry time from increment, and increase overrun count,
144 /* Check whether all cache entries contain U64_MAX, i.e. eternal expiry time */
261 * Called from sys_getitimer() to calculate the expiry time of an active
301 * The POSIX timer interface allows for absolute time expiry in thread_group_start_cputime()
393 * If posix timer expiry is handled in task work context then in posix_cpu_timer_create()
396 * lock class key otherwise regular posix timer expiry would record in posix_cpu_timer_create()
660 * Disarm any old timer after extracting its expiry time. in posix_cpu_timer_set()
676 * timer, we need a sample to balance the thread expiry in posix_cpu_timer_set()
725 * Install the new expiry time (or zero). in posix_cpu_timer_set()
803 * Sample the clock to take the difference with the expiry time. in posix_cpu_timer_get()
[all …]
Dhrtimer.c606 * Update the soft expiry time. clock_settime() might have in hrtimer_update_next_event()
615 * and program the hardware with the soft expiry time. in hrtimer_update_next_event()
818 * expiry time which is less than base->offset. Set it to 0. in hrtimer_reprogram()
1021 * hrtimer_forward - forward the timer expiry
1026 * Forward the timer expiry so it will expire in the future.
1034 * Note: This only updates the timer expiry value and does not requeue
1075 * The timer is inserted in expiry order. Insertion into the
1274 * @tim: expiry time
1289 * expiry mode because unmarked timers are moved to softirq expiry. in hrtimer_start_range_ns()
1408 * Mark the base as contended and grab the expiry lock, which is in hrtimer_cancel_wait_running()
[all …]
Dtimer.c71 * The array level of a newly armed timer depends on the relative expiry
72 * time. The farther the expiry time is away the higher the array level and
76 * expiry of the timers, this implementation removes the need for recascading
78 * implementation of the kernel already violated the 'exact' expiry by adding
79 * slack to the expiry time to provide batched expiration. The granularity
84 * timeout timers (networking, disk I/O ...) are canceled before expiry. If
88 * The only exception to this are networking timers with a small expiry
92 * We don't have cascading anymore. timers with a expiry time above the
490 * Helper function to calculate the array index for a given expiry
499 * early. Early expiry can happen due to: in calc_index()
[all …]
Dtick-sched.h35 * @last_tick: Store the last tick expiry time when the tick
50 * @next_timer: Expiry time of next expiring timer for debugging purpose only
/Linux-v5.15/net/sunrpc/
Dsvcauth_unix.c174 …map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, time64_t expiry);
195 time64_t expiry; in ip_map_parse() local
227 expiry = get_expiry(&mesg); in ip_map_parse()
228 if (expiry ==0) in ip_map_parse()
247 expiry); in ip_map_parse()
307 struct unix_domain *udom, time64_t expiry) in __ip_map_update() argument
316 ip.h.expiry_time = expiry; in __ip_map_update()
479 /* uid expiry Ngid gid0 gid1 ... gidN-1 */ in unix_gid_parse()
486 time64_t expiry; in unix_gid_parse() local
499 expiry = get_expiry(&mesg); in unix_gid_parse()
[all …]
/Linux-v5.15/Documentation/networking/
Dxfrm_sync.rst70 XFRM_AE_ETHR=8, /* expiry timer threshold */
72 XFRM_AE_CE=32, /* Event cause is timer expiry */
104 d) expiry timer (XFRMA_ETIMER_THRESH)
185 The first packet arrival after a timer expiry will trigger a timeout
/Linux-v5.15/include/trace/events/
Drpcgss.h569 unsigned long expiry,
576 TP_ARGS(window_size, expiry, now, timeout, len, data),
579 __field(unsigned long, expiry)
588 __entry->expiry = expiry;
596 TP_printk("win_size=%u expiry=%lu now=%lu timeout=%u acceptor=%.*s",
597 __entry->window_size, __entry->expiry, __entry->now,
/Linux-v5.15/fs/autofs/
Dexpire.c57 /* Update the expiry counter if fs is busy */ in autofs_mount_busy()
146 * Direct mounts have similar expiry semantics to tree mounts.
161 /* If it's busy update the expiry counters */ in autofs_direct_busy()
204 * If the fs is busy update the expiry counter. in autofs_tree_busy()
535 /* Perform an expiry operation */
564 /* avoid rapid-fire expire attempts if expiry fails */ in autofs_expire_run()
596 /* avoid rapid-fire expire attempts if expiry fails */ in autofs_do_expire_multi()
/Linux-v5.15/drivers/scsi/device_handler/
Dscsi_dh_alua.c75 unsigned long expiry; member
533 if (!pg->expiry) { in alua_rtpg()
539 pg->expiry = round_jiffies_up(jiffies + transition_tmo); in alua_rtpg()
610 pg->expiry != 0 && time_before(jiffies, pg->expiry)) { in alua_rtpg()
621 pg->expiry = 0; in alua_rtpg()
636 pg->expiry = 0; in alua_rtpg()
652 pg->expiry = jiffies + pg->transition_tmo * HZ; in alua_rtpg()
716 if (time_before(jiffies, pg->expiry)) { in alua_rtpg()
726 pg->expiry = 0; in alua_rtpg()
743 pg->expiry = 0; in alua_rtpg()
[all …]
/Linux-v5.15/include/keys/
Drxrpc-type.h26 u32 expiry; /* time at which ticket expires */ member
52 u32 expiry; /* time_t */ member
/Linux-v5.15/fs/afs/
Dcell.c399 time64_t now, expiry = 0; in afs_update_cell() local
404 vllist = afs_dns_query(cell, &expiry); in afs_update_cell()
438 if (expiry < now + min_ttl) in afs_update_cell()
439 expiry = now + min_ttl; in afs_update_cell()
440 else if (expiry > now + max_ttl) in afs_update_cell()
441 expiry = now + max_ttl; in afs_update_cell()
450 cell->dns_expiry = expiry; in afs_update_cell()
462 cell->dns_expiry = expiry; in afs_update_cell()
/Linux-v5.15/net/sunrpc/auth_gss/
Dsvcauth_gss.c204 /* context token expiry major minor context token */ in rsi_parse()
209 time64_t expiry; in rsi_parse() local
235 /* expiry */ in rsi_parse()
236 expiry = get_expiry(&mesg); in rsi_parse()
238 if (expiry == 0) in rsi_parse()
271 rsii.h.expiry_time = expiry; in rsi_parse()
443 /* contexthandle expiry [ uid gid N <n gids> mechname ...mechdata... ] */ in rsc_parse()
448 time64_t expiry; in rsc_parse() local
461 /* expiry */ in rsc_parse()
462 expiry = get_expiry(&mesg); in rsc_parse()
[all …]

123456