Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/security/keys/
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()
199 time64_t new_timer, limit, expiry; in key_garbage_collector() local
244 expiry = key->expiry; in key_garbage_collector()
245 if (expiry != TIME64_MAX) { in key_garbage_collector()
247 expiry += key_gc_delay; in key_garbage_collector()
[all …]
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 == TIME64_MAX) { in proc_keys_show()
203 } else if (now >= expiry) { in proc_keys_show()
206 timo = expiry - now; in proc_keys_show()
/kernel/linux/linux-6.6/security/keys/
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()
199 time64_t new_timer, limit, expiry; in key_garbage_collector() local
244 expiry = key->expiry; in key_garbage_collector()
245 if (expiry != TIME64_MAX) { in key_garbage_collector()
247 expiry += key_gc_delay; in key_garbage_collector()
[all …]
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 == TIME64_MAX) { in proc_keys_show()
203 } else if (now >= expiry) { in proc_keys_show()
206 timo = expiry - now; in proc_keys_show()
/kernel/linux/linux-6.6/fs/smb/client/
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()
/kernel/linux/linux-5.10/drivers/ide/
Dtc86c001.c62 * IDE core than to temporarily replace a higher level driver's timer expiry
68 ide_expiry_t *expiry = ide_get_hwifdata(hwif); in tc86c001_timer_expiry() local
71 /* Restore a higher level driver's expiry handler first. */ in tc86c001_timer_expiry()
72 hwif->expiry = expiry; in tc86c001_timer_expiry()
98 * If not, a higher level driver's expiry handler should in tc86c001_timer_expiry()
104 /* Chain to the restored expiry handler if DMA wasn't active. */ in tc86c001_timer_expiry()
105 if (likely(expiry != NULL)) in tc86c001_timer_expiry()
106 return expiry(drive); in tc86c001_timer_expiry()
127 /* Install our timeout expiry hook, saving the current handler... */ in tc86c001_dma_start()
128 ide_set_hwifdata(hwif, hwif->expiry); in tc86c001_dma_start()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/net/rxrpc/
Dkey.c93 time64_t expiry; in rxrpc_preparse_xdr_rxkad() local
129 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad()
136 _debug("EXPY: %x", token->kad->expiry); in rxrpc_preparse_xdr_rxkad()
160 expiry = rxrpc_u32_to_time64(token->kad->expiry); in rxrpc_preparse_xdr_rxkad()
161 if (expiry < prep->expiry) in rxrpc_preparse_xdr_rxkad()
162 prep->expiry = expiry; in rxrpc_preparse_xdr_rxkad()
436 time64_t expiry; in rxrpc_preparse_xdr_rxk5() local
537 expiry = rxrpc_u32_to_time64(token->k5->endtime); in rxrpc_preparse_xdr_rxk5()
538 if (expiry < prep->expiry) in rxrpc_preparse_xdr_rxk5()
539 prep->expiry = expiry; in rxrpc_preparse_xdr_rxk5()
[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()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c128 * Ensure the exit from L2 is due to preemption timer expiry in l1_guest_code()
202 * If this stage 2 then we should verify the vmx pt expiry in main()
211 pr_info("Stage %d: L1 PT expiry TSC (%lu) , L1 TSC deadline (%lu)\n", in main()
214 pr_info("Stage %d: L2 PT expiry TSC (%lu) , L2 TSC deadline (%lu)\n", in main()
218 "Stage %d: L1 PT expiry TSC (%lu) < L1 TSC deadline (%lu)", in main()
222 "Stage %d: L2 PT expiry TSC (%lu) > L2 TSC deadline (%lu)", in main()
/kernel/linux/linux-5.10/include/linux/
Dposix-timers.h68 * @elist: List head for the expiry list
70 * @handling: Pointer to the task which handles expiry
120 * @expiry_active: Timer expiry is active. Used for
122 * task trying to handle expiry concurrently
133 * posix_cputimers_work - Container for task work based posix CPU timer expiry
135 * @mutex: Mutex held around expiry in context of this task work
Dhrtimer.h103 * the absolute expiry time in the hrtimers internal
108 * @_softexpires: the absolute earliest expiry time of the hrtimer.
109 * The time which was given as expiry time when the timer
111 * @function: timer expiry callback function
206 * hrtimer enqueue; it is the total first expiry time (hard
418 * @tim: expiry time
492 * hrtimer_forward_now - forward the timer expiry so it expires after now
496 * Forward the timer expiry so it will expire after the current time
504 * Note: This only updates the timer expiry value and does not requeue
/kernel/linux/linux-5.10/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()
212 * If this stage 2 then we should verify the vmx pt expiry in main()
221 pr_info("Stage %d: L1 PT expiry TSC (%lu) , L1 TSC deadline (%lu)\n", in main()
224 pr_info("Stage %d: L2 PT expiry TSC (%lu) , L2 TSC deadline (%lu)\n", in main()
228 "Stage %d: L1 PT expiry TSC (%lu) < L1 TSC deadline (%lu)", in main()
232 "Stage %d: L2 PT expiry TSC (%lu) > L2 TSC deadline (%lu)", in main()
/kernel/linux/linux-6.6/include/linux/
Dposix-timers.h67 * @elist: List head for the expiry list
69 * @handling: Pointer to the task which handles expiry
126 * @expiry_active: Timer expiry is active. Used for
128 * task trying to handle expiry concurrently
139 * posix_cputimers_work - Container for task work based posix CPU timer expiry
141 * @mutex: Mutex held around expiry in context of this task work
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
204 * hrtimer enqueue; it is the total first expiry time (hard
412 * @tim: expiry time
490 * hrtimer_forward_now - forward the timer expiry so it expires after now
494 * Forward the timer expiry so it will expire after the current time
502 * Note: This only updates the timer expiry value and does not requeue
/kernel/linux/linux-5.10/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
299 * The POSIX timer interface allows for absolute time expiry in thread_group_start_cputime()
391 * If posix timer expiry is handled in task work context then in posix_cpu_timer_create()
394 * lock class key otherwise regular posix timer expiry would record in posix_cpu_timer_create()
615 * Disarm any old timer after extracting its expiry time. in posix_cpu_timer_set()
631 * timer, we need a sample to balance the thread expiry in posix_cpu_timer_set()
680 * Install the new expiry time (or zero). in posix_cpu_timer_set()
745 * Sample the clock to take the difference with the expiry time. in posix_cpu_timer_get()
[all …]
/kernel/linux/linux-6.6/kernel/time/
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 * Disarm any old timer after extracting its expiry time. in posix_cpu_timer_set()
682 * timer, we need a sample to balance the thread expiry in posix_cpu_timer_set()
731 * Install the new expiry time (or zero). in posix_cpu_timer_set()
809 * Sample the clock to take the difference with the expiry time. in posix_cpu_timer_get()
[all …]

12345678910>>...13