Searched refs:new_timer (Results 1 – 3 of 3) sorted by relevance
119 time_t new_timer = LONG_MAX, limit, now; in key_garbage_collector() local148 new_timer = key_gc_new_timer; in key_garbage_collector()176 if (key->expiry > limit && key->expiry < new_timer) { in key_garbage_collector()179 new_timer = key->expiry; in key_garbage_collector()196 key_gc_new_timer = new_timer; in key_garbage_collector()207 key_gc_new_timer = new_timer; in key_garbage_collector()215 new_timer = now + 1; in key_garbage_collector()216 key_schedule_gc(new_timer); in key_garbage_collector()217 } else if (new_timer < LONG_MAX) { in key_garbage_collector()218 new_timer += key_gc_delay; in key_garbage_collector()[all …]
139 static int common_timer_create(struct k_itimer *new_timer);520 static int common_timer_create(struct k_itimer *new_timer) in common_timer_create() argument522 hrtimer_init(&new_timer->it.real.timer, new_timer->it_clock, 0); in common_timer_create()533 struct k_itimer *new_timer; in SYSCALL_DEFINE3() local543 new_timer = alloc_posix_timer(); in SYSCALL_DEFINE3()544 if (unlikely(!new_timer)) in SYSCALL_DEFINE3()547 spin_lock_init(&new_timer->it_lock); in SYSCALL_DEFINE3()554 error = idr_get_new(&posix_timers_id, new_timer, &new_timer_id); in SYSCALL_DEFINE3()568 new_timer->it_id = (timer_t) new_timer_id; in SYSCALL_DEFINE3()569 new_timer->it_clock = which_clock; in SYSCALL_DEFINE3()[all …]
384 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create() argument387 const pid_t pid = CPUCLOCK_PID(new_timer->it_clock); in posix_cpu_timer_create()390 if (CPUCLOCK_WHICH(new_timer->it_clock) >= CPUCLOCK_MAX) in posix_cpu_timer_create()393 INIT_LIST_HEAD(&new_timer->it.cpu.entry); in posix_cpu_timer_create()396 if (CPUCLOCK_PERTHREAD(new_timer->it_clock)) { in posix_cpu_timer_create()413 new_timer->it.cpu.task = p; in posix_cpu_timer_create()