| /linux/security/keys/ |
| H A D | gc.c | 14 * 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() 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() [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() 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() 1148 /* set the death time to no more than the expiry time */ in key_revoke()
|
| H A D | user_defined.c | 112 key->expiry = prep->expiry; in user_update()
|
| /linux/net/rxrpc/ |
| H A D | key.c | 58 time64_t expiry; in rxrpc_preparse_xdr_rxkad() local 94 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad() 101 _debug("EXPY: %x", token->kad->expiry); in rxrpc_preparse_xdr_rxkad() 125 expiry = rxrpc_u32_to_time64(token->kad->expiry); in rxrpc_preparse_xdr_rxkad() 126 if (expiry < prep->expiry) in rxrpc_preparse_xdr_rxkad() 127 prep->expiry = expiry; in rxrpc_preparse_xdr_rxkad() 171 time64_t expiry; in rxrpc_preparse_xdr_yfs_rxgk() local 234 expiry = rxrpc_s64_to_time64(token->rxgk->endtime); in rxrpc_preparse_xdr_yfs_rxgk() 235 if (expiry < 0) in rxrpc_preparse_xdr_yfs_rxgk() 237 if (expiry < prep->expiry) in rxrpc_preparse_xdr_yfs_rxgk() [all …]
|
| H A D | conn_client.c | 19 * There are two idle client connection expiry durations. If the total number 749 unsigned long expiry, conn_expires_at, now; in rxrpc_discard_expired_client_conns() local 767 * expedite discard by reducing the expiry timeout. We must, in rxrpc_discard_expired_client_conns() 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()
|
| /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/Documentation/filesystems/ |
| H A D | automount-support.rst | 39 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
|
| /linux/include/linux/ |
| H A D | posix-timers_types.h | 50 * @expiry_active: Timer expiry is active. Used for 52 * task trying to handle expiry concurrently 63 * posix_cputimers_work - Container for task work based posix CPU timer expiry 65 * @mutex: Mutex held around expiry in context of this task work
|
| H A D | posix-timers.h | 54 * @elist: List head for the expiry list 57 * @handling: Pointer to the task which handles expiry
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | vmx_preemption_timer_test.c | 127 * Ensure the exit from L2 is due to preemption timer expiry in l1_guest_code() 201 * If this stage 2 then we should verify the vmx pt expiry in main() 210 pr_info("Stage %d: L1 PT expiry TSC (%lu) , L1 TSC deadline (%lu)\n", in main() 213 pr_info("Stage %d: L2 PT expiry TSC (%lu) , L2 TSC deadline (%lu)\n", in main() 217 "Stage %d: L1 PT expiry TSC (%lu) < L1 TSC deadline (%lu)", in main() 221 "Stage %d: L2 PT expiry TSC (%lu) > L2 TSC deadline (%lu)", in main()
|
| /linux/kernel/time/ |
| H A D | timer_migration.c | 40 * The groups hold a timer queue of events sorted by expiry time. These 250 * child going idle in top level group, the expiry of the next group event 312 * // hand back first expiry when GRP1:0 is idle 321 * // hand back first expiry when GRP1:0 is idle 332 * Required event and timerqueue update after a remote expiry: 519 * @nextexp: Next CPU event expiry information which is handed into 522 * @firstexp: Contains the first event expiry information when 526 * expiry case, firstexp is stored in the per CPU tmigr_cpu 626 * Return the next event (with the expiry equal or before @now) 748 * @data->firstexp is set to expiry o [all...] |
| H A D | hrtimer.c | 586 /* Find the base with the earliest expiry */ 658 * Update the soft expiry time. clock_settime() might have in hrtimer_update_next_event() 667 * and program the hardware with the soft expiry time. in hrtimer_update_next_event() 855 * expiry time which is less than base->offset. Set it to 0. in hrtimer_reprogram() 1043 * hrtimer_forward() - forward the timer expiry 1048 * Forward the timer expiry so it will expire in the future. 1051 * This only updates the timer expiry value and does not requeue the timer. 1099 * The timer is inserted in expiry order. Insertion into the 1209 * Update in place has to retrieve the expiry times of the neighbour nodes 1221 /* If the new expiry goe in hrtimer_can_update_in_place() [all...] |
| H A D | tick-sched.h | 42 * @last_tick: Store the last tick expiry time when the tick 52 * @next_timer: Expiry time of next expiring timer for debugging purpose only
|
| /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; 624 TP_printk("win_size=%u expiry=%lu now=%lu timeout=%u acceptor=%.*s", 625 __entry->window_size, __entry->expiry, __entry->now,
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ptp.c | 161 * @expiry: Time after which the packet should be delivered irrespective of 167 unsigned long expiry; member 177 * @expiry: Time which the packet arrived 184 unsigned long expiry; member 213 * @expiry: time when the filter expires, in jiffies 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() [all …]
|
| /linux/fs/autofs/ |
| H A D | expire.c | 57 /* Update the expiry counter if fs is busy */ in autofs_mount_busy() 143 * Direct mounts have similar expiry semantics to tree mounts. 158 /* If it's busy update the expiry counters */ in autofs_direct_busy() 201 * If the fs is busy update the expiry counter. in autofs_tree_busy() 535 /* Perform an expiry operation */ 564 /* avoid rapid-fire expire attempts if expiry fails */ in autofs_expire_run() 596 /* avoid rapid-fire expire attempts if expiry fails */ in autofs_do_expire_multi()
|
| /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() 490 /* uid expiry Ngid gid0 gid1 ... gidN-1 */ in unix_gid_parse() 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/fs/afs/ |
| H A D | cell.c | 473 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/Documentation/filesystems/nfs/ |
| H A D | rpc-cache.rst | 50 expiry and update times for use in cache management. 157 - an expiry time 162 expiry time should be set on that item.
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 228 /* context token expiry major minor context token */ in rsi_parse() 233 time64_t expiry; in rsi_parse() local 259 /* expiry */ in rsi_parse() 260 status = get_expiry(&mesg, &expiry); in rsi_parse() 295 rsii.h.expiry_time = expiry; in rsi_parse() 467 /* contexthandle expiry [ uid gid N <n gids> mechname ...mechdata... ] */ in rsc_parse() 472 time64_t expiry; in rsc_parse() local 485 /* expiry */ in rsc_parse() 486 status = get_expiry(&mesg, &expiry); in rsc_parse() 573 rsci.h.expiry_time = expiry; in rsc_parse() [all …]
|
| /linux/net/mctp/ |
| H A D | af_mctp.c | 671 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/drivers/s390/net/ |
| H A D | fsm.h | 250 * @param arg Generic argument, provided to expiry function. 262 * @param arg Generic argument, provided to expiry function.
|