Home
last modified time | relevance | path

Searched refs:expiry (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/linux/security/keys/
H A Dgc.c72 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()
248 if (expiry > limit && expiry < new_timer) { 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.h177 void key_set_expiry(struct key *key, time64_t expiry);
226 time64_t expiry = key->expiry; in key_is_dead() local
228 if (expiry != TIME64_MAX) { in key_is_dead()
230 expiry += key_gc_delay; in key_is_dead()
231 if (expiry <= limit) in key_is_dead()
H A Dkey.c297 key->expiry = TIME64_MAX; in key_alloc()
467 if (prep->expiry != TIME64_MAX) in __key_instantiate_and_link()
468 key_set_expiry(key, prep->expiry); in __key_instantiate_and_link()
512 prep.expiry = TIME64_MAX; in key_instantiate_and_link()
723 time64_t expiry = TIME64_MAX; in key_set_timeout() local
729 expiry = ktime_get_real_seconds() + timeout; in key_set_timeout()
730 key_set_expiry(key, expiry); in key_set_timeout()
840 prep.expiry = TIME64_MAX; in __key_create_or_update()
1083 prep.expiry = TIME64_MAX; in key_update()
H A Duser_defined.c112 key->expiry = prep->expiry; in user_update()
/openbmc/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()
/openbmc/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()
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()
368 expiry = rxrpc_u32_to_time64(token->kad->expiry); in rxrpc_preparse()
[all …]
H A Dcall_event.c43 unsigned long expiry = rxrpc_soft_ack_delay; in rxrpc_propose_delay_ACK() local
46 if (rxrpc_soft_ack_delay < expiry) in rxrpc_propose_delay_ACK()
47 expiry = rxrpc_soft_ack_delay; in rxrpc_propose_delay_ACK()
51 ack_at = expiry; in rxrpc_propose_delay_ACK()
H A Dconn_client.c737 unsigned long expiry, conn_expires_at, now; in rxrpc_discard_expired_client_conns() local
759 expiry = rxrpc_conn_idle_client_expiry; in rxrpc_discard_expired_client_conns()
761 expiry = rxrpc_conn_idle_client_fast_expiry; in rxrpc_discard_expired_client_conns()
763 expiry = rxrpc_closed_conn_expiry * HZ; in rxrpc_discard_expired_client_conns()
765 conn_expires_at = conn->idle_timestamp + expiry; in rxrpc_discard_expired_client_conns()
/openbmc/linux/fs/smb/client/
H A Ddns_resolve.c32 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()
76 expiry ? (*expiry) : 0); in dns_resolve_server_name_to_ip()
H A Ddns_resolve.h17 int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
/openbmc/linux/include/keys/
H A Drxrpc-type.h26 u32 expiry; /* time at which ticket expires */ member
52 u32 expiry; /* time_t */ member
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dptp.c161 unsigned long expiry; member
178 unsigned long expiry; member
215 unsigned long expiry; member
1182 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1248 unsigned long expiry) in efx_ptp_insert_filter() argument
1256 rxfilter->expiry = expiry; in efx_ptp_insert_filter()
1272 rxfilter->expiry = expiry; in efx_ptp_insert_filter()
1288 unsigned long expiry) in efx_ptp_insert_ipv4_filter() argument
1294 return efx_ptp_insert_filter(efx, filter_list, &spec, expiry); in efx_ptp_insert_ipv4_filter()
1300 unsigned long expiry) in efx_ptp_insert_ipv6_filter() argument
[all …]
/openbmc/u-boot/arch/xtensa/lib/
H A Dtime.c27 unsigned expiry = get_ccount() + cycles; in delay_cycles() local
28 while ((signed)(expiry - get_ccount()) > 0) in delay_cycles()
/openbmc/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 …]
/openbmc/linux/Documentation/filesystems/
H A Dautomount-support.rst57 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
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 …]
/openbmc/linux/fs/afs/
H A Dcell.c400 time64_t now, expiry = 0; in afs_update_cell() local
405 vllist = afs_dns_query(cell, &expiry); in afs_update_cell()
441 if (expiry < now + min_ttl) in afs_update_cell()
442 expiry = now + min_ttl; in afs_update_cell()
443 else if (expiry > now + max_ttl) in afs_update_cell()
444 expiry = now + max_ttl; in afs_update_cell()
453 cell->dns_expiry = expiry; in afs_update_cell()
465 cell->dns_expiry = expiry; in afs_update_cell()
/openbmc/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()
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()
/openbmc/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;
625 __entry->window_size, __entry->expiry, __entry->now,
/openbmc/qemu/hw/timer/
H A Dsse-timer.c139 uint64_t expiry = sse_counter_tick_to_time(s->counter, nexttick); in sse_set_timer() local
141 if (expiry <= INT64_MAX) { in sse_set_timer()
142 timer_mod_ns(&s->timer, expiry); in sse_set_timer()
/openbmc/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
/openbmc/linux/net/mctp/
H A Daf_mctp.c513 if (!time_after_eq(key->expiry, jiffies)) { in mctp_sk_expire_keys()
520 if (time_before(key->expiry, next_expiry)) in mctp_sk_expire_keys()
521 next_expiry = key->expiry; in mctp_sk_expire_keys()
523 next_expiry = key->expiry; in mctp_sk_expire_keys()
/openbmc/linux/net/dns_resolver/
H A Ddns_key.c128 if (prep->expiry == TIME64_MAX) in dns_resolver_preparse()
129 prep->expiry = ktime_get_real_seconds() + 1; in dns_resolver_preparse()

123