Searched refs:now (Results 1 – 5 of 5) sorted by relevance
103 struct timespec now = current_kernel_time(); in key_validate() local104 if (now.tv_sec >= key->expiry) in key_validate()
59 time_t now = current_kernel_time().tv_sec; in key_schedule_gc() local61 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()
541 struct timespec now; in key_reject_and_link() local563 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() local690 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() local989 now = current_kernel_time(); in key_revoke()990 time = now.tv_sec; in key_revoke()
188 struct timespec now; in proc_keys_show() local218 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()
331 struct timespec now; in keyring_search_aux() local355 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()