Searched refs:new_timer (Results 1 – 4 of 4) sorted by relevance
493 hrtimer_init(&new_timer->it.real.timer, new_timer->it_clock, 0); in common_timer_create()502 struct k_itimer *new_timer; in do_timer_create() local511 new_timer = alloc_posix_timer(); in do_timer_create()512 if (unlikely(!new_timer)) in do_timer_create()515 spin_lock_init(&new_timer->it_lock); in do_timer_create()524 new_timer->it_clock = which_clock; in do_timer_create()525 new_timer->kclock = kc; in do_timer_create()526 new_timer->it_overrun = -1LL; in do_timer_create()532 if (!new_timer->it_pid) { in do_timer_create()543 new_timer->sigq->info.si_value.sival_int = new_timer->it_id; in do_timer_create()[all …]
380 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create() argument386 pid = pid_for_clock(new_timer->it_clock, false); in posix_cpu_timer_create()401 lockdep_set_class(&new_timer->it_lock, &posix_cpu_timers_key); in posix_cpu_timer_create()403 new_timer->kclock = &clock_posix_cpu; in posix_cpu_timer_create()404 timerqueue_init(&new_timer->it.cpu.node); in posix_cpu_timer_create()405 new_timer->it.cpu.pid = get_pid(pid); in posix_cpu_timer_create()
703 static int alarm_timer_create(struct k_itimer *new_timer) in alarm_timer_create() argument713 type = clock2alarm(new_timer->it_clock); in alarm_timer_create()714 alarm_init(&new_timer->it.alarm.alarmtimer, type, alarm_handle_timer); in alarm_timer_create()
187 time64_t new_timer, limit; in key_garbage_collector() local207 new_timer = TIME64_MAX; in key_garbage_collector()237 if (key->expiry > limit && key->expiry < new_timer) { in key_garbage_collector()240 new_timer = key->expiry; in key_garbage_collector()279 if (gc_state & KEY_GC_SET_TIMER && new_timer != (time64_t)TIME64_MAX) { in key_garbage_collector()280 new_timer += key_gc_delay; in key_garbage_collector()281 key_schedule_gc(new_timer); in key_garbage_collector()
Completed in 17 milliseconds