Home
last modified time | relevance | path

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

12

/linux-6.6.21/security/keys/
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 …]
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()
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()
Dkey.c297 key->expiry = TIME64_MAX; in key_alloc()
467 key_set_expiry(key, prep->expiry); in __key_instantiate_and_link()
511 prep.expiry = TIME64_MAX; in key_instantiate_and_link()
722 time64_t expiry = TIME64_MAX; in key_set_timeout() local
728 expiry = ktime_get_real_seconds() + timeout; in key_set_timeout()
729 key_set_expiry(key, expiry); in key_set_timeout()
839 prep.expiry = TIME64_MAX; in __key_create_or_update()
1082 prep.expiry = TIME64_MAX; in key_update()
Duser_defined.c112 key->expiry = prep->expiry; in user_update()
/linux-6.6.21/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()
/linux-6.6.21/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()
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 …]
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()
Dconn_client.c733 unsigned long expiry, conn_expires_at, now; in rxrpc_discard_expired_client_conns() local
755 expiry = rxrpc_conn_idle_client_expiry; in rxrpc_discard_expired_client_conns()
757 expiry = rxrpc_conn_idle_client_fast_expiry; in rxrpc_discard_expired_client_conns()
759 expiry = rxrpc_closed_conn_expiry * HZ; in rxrpc_discard_expired_client_conns()
761 conn_expires_at = conn->idle_timestamp + expiry; in rxrpc_discard_expired_client_conns()
/linux-6.6.21/fs/smb/client/
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()
Ddns_resolve.h17 int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
/linux-6.6.21/include/keys/
Drxrpc-type.h26 u32 expiry; /* time at which ticket expires */ member
52 u32 expiry; /* time_t */ member
/linux-6.6.21/drivers/net/ethernet/sfc/
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 …]
/linux-6.6.21/drivers/scsi/device_handler/
Dscsi_dh_alua.c75 unsigned long expiry; member
541 if (!pg->expiry) { in alua_rtpg()
547 pg->expiry = round_jiffies_up(jiffies + transition_tmo); in alua_rtpg()
618 pg->expiry != 0 && time_before(jiffies, pg->expiry)) { in alua_rtpg()
629 pg->expiry = 0; in alua_rtpg()
644 pg->expiry = 0; in alua_rtpg()
660 pg->expiry = jiffies + pg->transition_tmo * HZ; in alua_rtpg()
724 if (time_before(jiffies, pg->expiry)) { in alua_rtpg()
734 pg->expiry = 0; in alua_rtpg()
751 pg->expiry = 0; in alua_rtpg()
[all …]
/linux-6.6.21/Documentation/filesystems/
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
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-6.6.21/fs/afs/
Dcell.c399 time64_t now, expiry = 0; in afs_update_cell() local
404 vllist = afs_dns_query(cell, &expiry); in afs_update_cell()
440 if (expiry < now + min_ttl) in afs_update_cell()
441 expiry = now + min_ttl; in afs_update_cell()
442 else if (expiry > now + max_ttl) in afs_update_cell()
443 expiry = now + max_ttl; in afs_update_cell()
452 cell->dns_expiry = expiry; in afs_update_cell()
464 cell->dns_expiry = expiry; in afs_update_cell()
/linux-6.6.21/include/trace/events/
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-6.6.21/net/sunrpc/
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-6.6.21/Documentation/networking/
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-6.6.21/net/dns_resolver/
Ddns_key.c128 if (prep->expiry == TIME64_MAX) in dns_resolver_preparse()
129 prep->expiry = ktime_get_real_seconds() + 1; in dns_resolver_preparse()
/linux-6.6.21/net/mctp/
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()
/linux-6.6.21/Documentation/devicetree/bindings/watchdog/
Dnuvoton,npcm-wdt.txt5 expiry.
/linux-6.6.21/net/sunrpc/auth_gss/
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()
1242 time64_t expiry; in gss_proxy_save_rsc() local
1286 &expiry, GFP_KERNEL); in gss_proxy_save_rsc()
1291 expiry -= boot.tv_sec; in gss_proxy_save_rsc()
1294 rsci.h.expiry_time = expiry; in gss_proxy_save_rsc()

12