Home
last modified time | relevance | path

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

12

/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()
191 time64_t new_timer, limit, expiry; in key_garbage_collector() local
238 expiry = key->expiry; in key_garbage_collector()
239 if (expiry != TIME64_MAX) { in key_garbage_collector()
241 expiry += key_gc_delay; in key_garbage_collector()
242 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 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()
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 Dkey.c297 key->expiry = TIME64_MAX; in key_alloc()
469 if (prep->expiry != TIME64_MAX) in __key_instantiate_and_link()
470 key_set_expiry(key, prep->expiry); in __key_instantiate_and_link()
514 prep.expiry = TIME64_MAX; in key_instantiate_and_link()
738 time64_t expiry = TIME64_MAX; in key_set_timeout() local
744 expiry = ktime_get_real_seconds() + timeout; in key_set_timeout()
745 key_set_expiry(key, expiry); in key_set_timeout()
855 prep.expiry = TIME64_MAX; in __key_create_or_update()
1097 prep.expiry = TIME64_MAX; in key_update()
H A Duser_defined.c112 key->expiry = prep->expiry; in user_update()
H A Dkeyring.c591 time64_t expiry = READ_ONCE(key->expiry); in keyring_search_iterator() local
600 if (expiry && ctx->now >= expiry) { in keyring_search_iterator()
/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/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()
170 time64_t expiry; in rxrpc_preparse_xdr_yfs_rxgk() local
229 expiry = rxrpc_s64_to_time64(token->rxgk->endtime); in rxrpc_preparse_xdr_yfs_rxgk()
230 if (expiry < 0) in rxrpc_preparse_xdr_yfs_rxgk()
232 if (expiry < prep->expiry) in rxrpc_preparse_xdr_yfs_rxgk()
[all …]
H A Dconn_client.c749 unsigned long expiry, conn_expires_at, now; in rxrpc_discard_expired_client_conns() local
771 expiry = rxrpc_conn_idle_client_expiry; in rxrpc_discard_expired_client_conns()
773 expiry = rxrpc_conn_idle_client_fast_expiry; in rxrpc_discard_expired_client_conns()
775 expiry = rxrpc_closed_conn_expiry * HZ; in rxrpc_discard_expired_client_conns()
777 conn_expires_at = conn->idle_timestamp + expiry; in rxrpc_discard_expired_client_conns()
H A Drxgk_common.h20 unsigned long expiry; /* Expiration time of this key */ member
/linux/drivers/net/ethernet/sfc/
H A Dptp.c167 unsigned long expiry; member
184 unsigned long expiry; member
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()
1294 unsigned long expiry) in efx_ptp_insert_ipv4_filter() argument
1300 return efx_ptp_insert_filter(efx, filter_list, &spec, expiry); in efx_ptp_insert_ipv4_filter()
1306 unsigned long expiry) in efx_ptp_insert_ipv6_filter() argument
[all …]
/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/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
/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,
/linux/fs/afs/
H A Dcell.c473 time64_t now, expiry = 0; in afs_update_cell() local
478 vllist = afs_dns_query(cell, &expiry); in afs_update_cell()
514 if (expiry < now + min_ttl) in afs_update_cell()
515 expiry = now + min_ttl; in afs_update_cell()
516 else if (expiry > now + max_ttl) in afs_update_cell()
517 expiry = now + max_ttl; in afs_update_cell()
526 cell->dns_expiry = expiry; in afs_update_cell()
538 cell->dns_expiry = expiry; in afs_update_cell()
/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()
/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()
H A Ddns_query.c158 *_expiry = rkey->expiry; in dns_query()
/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c233 time64_t expiry; in rsi_parse() local
260 status = get_expiry(&mesg, &expiry); in rsi_parse()
295 rsii.h.expiry_time = expiry; in rsi_parse()
472 time64_t expiry; in rsc_parse() local
486 status = get_expiry(&mesg, &expiry); in rsc_parse()
573 rsci.h.expiry_time = expiry; in rsc_parse()
1227 time64_t expiry; in gss_proxy_save_rsc() local
1271 &expiry, GFP_KERNEL); in gss_proxy_save_rsc()
1276 expiry -= boot.tv_sec; in gss_proxy_save_rsc()
1279 rsci.h.expiry_time = expiry; in gss_proxy_save_rsc()
/linux/net/mctp/
H A Daf_mctp.c671 if (!time_after_eq(key->expiry, jiffies)) { in mctp_sk_expire_keys()
678 if (time_before(key->expiry, next_expiry)) in mctp_sk_expire_keys()
679 next_expiry = key->expiry; in mctp_sk_expire_keys()
681 next_expiry = key->expiry; in mctp_sk_expire_keys()
778 * keys), stop any pending expiry events. the timer cannot be re-queued in mctp_sk_unhash()
/linux/include/linux/
H A Dkey-type.h38 time64_t expiry; /* Expiry time of key */ member
/linux/include/net/
H A Dmctp.h171 unsigned long expiry; member
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c170 unsigned long expiry; member
187 unsigned long expiry; member
1168 if (time_after(jiffies, evt->expiry)) { in efx_ptp_drop_time_expired_events()
1240 } else if (time_after(jiffies, match->expiry)) { in efx_ptp_process_events()
1625 match->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); in efx_ptp_rx()
1869 evt->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); in ptp_event_rx()
/linux/Documentation/filesystems/nfs/
H A Drpc-cache.rst50 expiry and update times for use in cache management.
157 - an expiry time
162 expiry time should be set on that item.

12