Home
last modified time | relevance | path

Searched refs:now (Results 1 – 5 of 5) sorted by relevance

/security/keys/
Dpermission.c103 struct timespec now = current_kernel_time(); in key_validate() local
104 if (now.tv_sec >= key->expiry) in key_validate()
Dgc.c59 time_t now = current_kernel_time().tv_sec; in key_schedule_gc() local
61 kenter("%ld", gc_at - now); in key_schedule_gc()
63 if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) { in key_schedule_gc()
69 expires = jiffies + (gc_at - now) * HZ; in key_schedule_gc()
Dkey.c541 struct timespec now; in key_reject_and_link() local
563 now = current_kernel_time(); in key_reject_and_link()
564 key->expiry = now.tv_sec + timeout; in key_reject_and_link()
683 struct timespec now; in key_set_timeout() local
690 now = current_kernel_time(); in key_set_timeout()
691 expiry = now.tv_sec + timeout; in key_set_timeout()
973 struct timespec now; in key_revoke() local
989 now = current_kernel_time(); in key_revoke()
990 time = now.tv_sec; in key_revoke()
Dproc.c188 struct timespec now; in proc_keys_show() local
218 now = current_kernel_time(); in proc_keys_show()
225 } else if (now.tv_sec >= key->expiry) { in proc_keys_show()
228 timo = key->expiry - now.tv_sec; in proc_keys_show()
Dkeyring.c331 struct timespec now; in keyring_search_aux() local
355 now = current_kernel_time(); in keyring_search_aux()
372 if (key->expiry && now.tv_sec >= key->expiry) in keyring_search_aux()
386 (keyring->expiry && now.tv_sec >= keyring->expiry)) in keyring_search_aux()
417 if (key->expiry && now.tv_sec >= key->expiry) in keyring_search_aux()
491 key->last_used_at = now.tv_sec; in keyring_search_aux()
492 keyring->last_used_at = now.tv_sec; in keyring_search_aux()
494 stack[--sp].keyring->last_used_at = now.tv_sec; in keyring_search_aux()