/linux/security/keys/ |
H A D | gc.c | 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() 240 if (expiry > limit && expiry < new_timer) { in key_garbage_collector() 242 key_serial(key), key->expiry - limit); in key_garbage_collector() [all …]
|
H A D | permission.c | 105 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 D | proc.c | 159 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 D | internal.h | 170 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 D | key.c | 297 key->expiry = TIME64_MAX; in key_alloc() 468 if (prep->expiry != TIME64_MAX) in __key_instantiate_and_link() 469 key_set_expiry(key, prep->expiry); in __key_instantiate_and_link() 513 prep.expiry = TIME64_MAX; in key_instantiate_and_link() 735 time64_t expiry = TIME64_MAX; in key_set_timeout() local 741 expiry = ktime_get_real_seconds() + timeout; in key_set_timeout() 742 key_set_expiry(key, expiry); in key_set_timeout() 852 prep.expiry = TIME64_MAX; in __key_create_or_update() 1094 prep.expiry = TIME64_MAX; in key_update()
|
H A D | user_defined.c | 112 key->expiry = prep->expiry; in user_update()
|
/linux/block/ |
H A D | blk-timeout.c | 131 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 D | key.c | 57 time64_t expiry; in rxrpc_preparse_xdr_rxkad() local 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 355 token->kad->expiry = v1->expiry; in rxrpc_preparse() 368 expiry = rxrpc_u32_to_time64(token->kad->expiry); in rxrpc_preparse() 369 if (expiry < prep->expiry) in rxrpc_preparse() 370 prep->expiry = expiry; in rxrpc_preparse() 480 time64_t expiry, in rxrpc_get_server_data_key() argument [all …]
|
H A D | conn_client.c | 743 unsigned long expiry, conn_expires_at, now; in rxrpc_discard_expired_client_conns() local 765 expiry = rxrpc_conn_idle_client_expiry; in rxrpc_discard_expired_client_conns() 767 expiry = rxrpc_conn_idle_client_fast_expiry; in rxrpc_discard_expired_client_conns() 769 expiry = rxrpc_closed_conn_expiry * HZ; in rxrpc_discard_expired_client_conns() 771 conn_expires_at = conn->idle_timestamp + expiry; in rxrpc_discard_expired_client_conns()
|
/linux/fs/smb/client/ |
H A D | dns_resolve.c | 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() 76 expiry ? (*expiry) : 0); in dns_resolve_server_name_to_ip()
|
H A D | dns_resolve.h | 17 int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
|
/linux/include/keys/ |
H A D | rxrpc-type.h | 26 u32 expiry; /* time at which ticket expires */ member 52 u32 expiry; /* time_t */ member
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 167 unsigned long expiry; member 184 unsigned long expiry; member 221 unsigned long expiry; member 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 1306 unsigned long expiry) in efx_ptp_insert_ipv6_filter() argument 1396 unsigned long expiry; in efx_ptp_insert_unicast_filter() local 1408 addr, PTP_EVENT_PORT, expiry); in efx_ptp_insert_unicast_filter() [all …]
|
/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 75 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 D | automount-support.rst | 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 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 D | autofs.rst | 129 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/include/trace/events/ |
H A D | rpcgss.h | 597 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 D | cell.c | 398 time64_t now, expiry = 0; in afs_update_cell() local 403 vllist = afs_dns_query(cell, &expiry); in afs_update_cell() 439 if (expiry < now + min_ttl) in afs_update_cell() 440 expiry = now + min_ttl; in afs_update_cell() 441 else if (expiry > now + max_ttl) in afs_update_cell() 442 expiry = now + max_ttl; in afs_update_cell() 451 cell->dns_expiry = expiry; in afs_update_cell() 463 cell->dns_expiry = expiry; in afs_update_cell()
|
/linux/net/sunrpc/ |
H A D | svcauth_unix.c | 176 …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/Documentation/networking/ |
H A D | xfrm_sync.rst | 70 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/net/dns_resolver/ |
H A D | dns_key.c | 128 if (prep->expiry == TIME64_MAX) in dns_resolver_preparse() 129 prep->expiry = ktime_get_real_seconds() + 1; in dns_resolver_preparse()
|
H A D | dns_query.c | 160 *_expiry = rkey->expiry; in dns_query()
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | nuvoton,npcm-wdt.txt | 5 expiry.
|
/linux/net/mctp/ |
H A D | af_mctp.c | 593 if (!time_after_eq(key->expiry, jiffies)) { in mctp_sk_expire_keys() 600 if (time_before(key->expiry, next_expiry)) in mctp_sk_expire_keys() 601 next_expiry = key->expiry; in mctp_sk_expire_keys() 603 next_expiry = key->expiry; in mctp_sk_expire_keys()
|
/linux/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 233 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() 1226 time64_t expiry; in gss_proxy_save_rsc() local 1270 &expiry, GFP_KERNEL); in gss_proxy_save_rsc() 1275 expiry -= boot.tv_sec; in gss_proxy_save_rsc() 1278 rsci.h.expiry_time = expiry; in gss_proxy_save_rsc()
|