Home
last modified time | relevance | path

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

1234567

/linux/security/keys/
H A Dgc.c14 * Delay between key revocation/expiry in seconds
72 void key_set_expiry(struct key *key, time64_t expiry) in key_set_expiry() argument
74 key->expiry = expiry; in key_set_expiry()
75 if (expiry != TIME64_MAX) { in key_set_expiry()
77 expiry += key_gc_delay; in key_set_expiry()
78 key_schedule_gc(expiry); in key_set_expiry()
191 time64_t new_timer, limit, expiry; in key_garbage_collector() local
236 expiry = key->expiry; in key_garbage_collector()
237 if (expiry != TIME64_MAX) { in key_garbage_collector()
239 expiry += key_gc_delay; in key_garbage_collector()
[all …]
H A 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()
H A Dproc.c159 time64_t now, expiry; in proc_keys_show() local
200 expiry = READ_ONCE(key->expiry); in proc_keys_show()
201 if (expiry == TIME64_MAX) { in proc_keys_show()
203 } else if (now >= expiry) { in proc_keys_show()
206 timo = expiry - now; in proc_keys_show()
H A Dinternal.h170 void key_set_expiry(struct key *key, time64_t expiry);
219 time64_t expiry = key->expiry; in key_is_dead() local
221 if (expiry != TIME64_MAX) { in key_is_dead()
223 expiry += key_gc_delay; in key_is_dead()
224 if (expiry <= limit) in key_is_dead()
/linux/net/rxrpc/
H A 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 …]
/linux/fs/smb/client/
H A Ddns_resolve.c27 * @expiry: Where to return the expiry time for the dns record.
32 dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip() argument
69 NULL, &ip, 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/block/
H A 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/Documentation/filesystems/
H A 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
H A 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/kernel/time/
H A Dposix-cpu-timers.c119 * Update expiry time from increment, and increase overrun count,
151 /* Check whether all cache entries contain U64_MAX, i.e. eternal expiry time */
267 * Called from sys_getitimer() to calculate the expiry time of an active
307 * The POSIX timer interface allows for absolute time expiry in thread_group_start_cputime()
399 * If posix timer expiry is handled in task work context then in posix_cpu_timer_create()
402 * lock class key otherwise regular posix timer expiry would record in posix_cpu_timer_create()
666 /* Retrieve the current expiry time before disarming the timer */ in posix_cpu_timer_set()
686 /* Retrieve the previous expiry value if requested. */ in posix_cpu_timer_set()
693 /* Retry if the timer expiry is running concurrently */ in posix_cpu_timer_set()
699 /* Convert relative expiry time to absolute */ in posix_cpu_timer_set()
[all …]
H A Dtimer_migration.c39 * The groups hold a timer queue of events sorted by expiry time. These
249 * child going idle in top level group, the expiry of the next group event
311 * // hand back first expiry when GRP1:0 is idle
320 * // hand back first expiry when GRP1:0 is idle
331 * Required event and timerqueue update after a remote expiry:
480 * @nextexp: Next CPU event expiry information which is handed into
483 * @firstexp: Contains the first event expiry information when
487 * expiry case, firstexp is stored in the per CPU tmigr_cpu
584 * Return the next event (with the expiry equal or before @now)
706 * @data->firstexp is set to expiry of first gobal event of the (top level of
[all …]
H A Dtimer_migration.h33 * activation, deactivation, check for remote expiry,...)
40 * @next_expiry: Base monotonic expiry time of the next event of the
42 * remote expiry is required; it is always reliable
93 * hierarchy is completely idle and remote expiry was done;
H A Dtimer.c73 * The array level of a newly armed timer depends on the relative expiry
74 * time. The farther the expiry time is away the higher the array level and
78 * expiry of the timers, this implementation removes the need for recascading
80 * implementation of the kernel already violated the 'exact' expiry by adding
81 * slack to the expiry time to provide batched expiration. The granularity
86 * timeout timers (networking, disk I/O ...) are canceled before expiry. If
90 * The only exception to this are networking timers with a small expiry
94 * We don't have cascading anymore. timers with a expiry time above the
215 * timer expiry callback execution and when trying to
227 * of a timer; during expiry, it is 1 offset ahead of
[all …]
H A Dhrtimer.c609 * Update the soft expiry time. clock_settime() might have in hrtimer_update_next_event()
618 * and program the hardware with the soft expiry time. in hrtimer_update_next_event()
816 * expiry time which is less than base->offset. Set it to 0. in hrtimer_reprogram()
1020 * hrtimer_forward() - forward the timer expiry
1025 * Forward the timer expiry so it will expire in the future.
1028 * This only updates the timer expiry value and does not requeue the timer.
1076 * The timer is inserted in expiry order. Insertion into the
1276 * @tim: expiry time
1293 * expiry mode because unmarked timers are moved to softirq expiry. in hrtimer_start_range_ns()
1414 * Mark the base as contended and grab the expiry lock, which is in hrtimer_cancel_wait_running()
[all …]
/linux/include/linux/
H A Dhrtimer_types.h21 * the absolute expiry time in the hrtimers internal
26 * @_softexpires: the absolute earliest expiry time of the hrtimer.
27 * The time which was given as expiry time when the timer
29 * @function: timer expiry callback function
H A Dposix-timers_types.h50 * @expiry_active: Timer expiry is active. Used for
52 * task trying to handle expiry concurrently
63 * posix_cputimers_work - Container for task work based posix CPU timer expiry
65 * @mutex: Mutex held around expiry in context of this task work
/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_preemption_timer_test.c127 * Ensure the exit from L2 is due to preemption timer expiry in l1_guest_code()
201 * If this stage 2 then we should verify the vmx pt expiry in main()
210 pr_info("Stage %d: L1 PT expiry TSC (%lu) , L1 TSC deadline (%lu)\n", in main()
213 pr_info("Stage %d: L2 PT expiry TSC (%lu) , L2 TSC deadline (%lu)\n", in main()
217 "Stage %d: L1 PT expiry TSC (%lu) < L1 TSC deadline (%lu)", in main()
221 "Stage %d: L2 PT expiry TSC (%lu) > L2 TSC deadline (%lu)", in main()
/linux/include/net/
H A Dmctp.h133 * - through an expiry timeout, on a per-socket timer
151 * expiry data below.
167 /* expiry timeout; valid (above) cleared on expiry */
168 unsigned long expiry; member
/linux/drivers/net/ethernet/sfc/
H A Dptp.c161 * @expiry: Time after which the packet should be delivered irrespective of
167 unsigned long expiry; member
177 * @expiry: Time which the packet arrived
184 unsigned long expiry; member
213 * @expiry: time when the filter expires, in jiffies
221 unsigned long expiry; member
1188 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1254 unsigned long expiry) in efx_ptp_insert_filter() argument
1262 rxfilter->expiry = expiry; in efx_ptp_insert_filter()
1278 rxfilter->expiry = expiry; in efx_ptp_insert_filter()
[all …]
/linux/include/trace/events/
H A Drpcgss.h597 unsigned long expiry,
604 TP_ARGS(window_size, expiry, now, timeout, len, data),
607 __field(unsigned long, expiry)
616 __entry->expiry = expiry;
624 TP_printk("win_size=%u expiry=%lu now=%lu timeout=%u acceptor=%.*s",
625 __entry->window_size, __entry->expiry, __entry->now,
/linux/Documentation/networking/
H A 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/fs/autofs/
H A Dexpire.c57 /* Update the expiry counter if fs is busy */ in autofs_mount_busy()
143 * Direct mounts have similar expiry semantics to tree mounts.
158 /* If it's busy update the expiry counters */ in autofs_direct_busy()
201 * 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/net/sunrpc/
H A Dsvcauth_unix.c176 …map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, time64_t expiry);
197 time64_t expiry; in ip_map_parse() local
229 err = get_expiry(&mesg, &expiry); in ip_map_parse()
249 expiry); in ip_map_parse()
309 struct unix_domain *udom, time64_t expiry) in __ip_map_update() argument
318 ip.h.expiry_time = expiry; in __ip_map_update()
490 /* uid expiry Ngid gid0 gid1 ... gidN-1 */ in unix_gid_parse()
497 time64_t expiry; in unix_gid_parse() local
510 err = get_expiry(&mesg, &expiry); in unix_gid_parse()
540 ug.h.expiry_time = expiry; in unix_gid_parse()
/linux/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c75 unsigned long expiry; member
554 if (!pg->expiry) { in alua_rtpg()
560 pg->expiry = round_jiffies_up(jiffies + transition_tmo); in alua_rtpg()
631 pg->expiry != 0 && time_before(jiffies, pg->expiry)) { in alua_rtpg()
642 pg->expiry = 0; in alua_rtpg()
657 pg->expiry = 0; in alua_rtpg()
673 pg->expiry = jiffies + pg->transition_tmo * HZ; in alua_rtpg()
737 if (time_before(jiffies, pg->expiry)) { in alua_rtpg()
747 pg->expiry = 0; in alua_rtpg()
764 pg->expiry = 0; in alua_rtpg()
[all …]
/linux/include/keys/
H A Drxrpc-type.h26 u32 expiry; /* time at which ticket expires */ member
52 u32 expiry; /* time_t */ member

1234567