Home
last modified time | relevance | path

Searched refs:new_timer (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/time/
Dposix-timers.c437 static int common_timer_create(struct k_itimer *new_timer) in common_timer_create() argument
439 hrtimer_init(&new_timer->it.real.timer, new_timer->it_clock, 0); in common_timer_create()
448 struct k_itimer *new_timer; in do_timer_create() local
456 new_timer = alloc_posix_timer(); in do_timer_create()
457 if (unlikely(!new_timer)) in do_timer_create()
460 spin_lock_init(&new_timer->it_lock); in do_timer_create()
467 new_timer_id = posix_timer_add(new_timer); in do_timer_create()
469 posix_timer_free(new_timer); in do_timer_create()
473 new_timer->it_id = (timer_t) new_timer_id; in do_timer_create()
474 new_timer->it_clock = which_clock; in do_timer_create()
[all …]
Dposix-cpu-timers.c386 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create() argument
392 pid = pid_for_clock(new_timer->it_clock, false); in posix_cpu_timer_create()
407 lockdep_set_class(&new_timer->it_lock, &posix_cpu_timers_key); in posix_cpu_timer_create()
409 new_timer->kclock = &clock_posix_cpu; in posix_cpu_timer_create()
410 timerqueue_init(&new_timer->it.cpu.node); in posix_cpu_timer_create()
411 new_timer->it.cpu.pid = get_pid(pid); in posix_cpu_timer_create()
Dalarmtimer.c727 static int alarm_timer_create(struct k_itimer *new_timer) in alarm_timer_create() argument
737 type = clock2alarm(new_timer->it_clock); in alarm_timer_create()
738 alarm_init(&new_timer->it.alarm.alarmtimer, type, alarm_handle_timer); in alarm_timer_create()
/linux-6.6.21/security/keys/
Dgc.c199 time64_t new_timer, limit, expiry; in key_garbage_collector() local
215 new_timer = TIME64_MAX; in key_garbage_collector()
248 if (expiry > limit && expiry < new_timer) { in key_garbage_collector()
251 new_timer = key->expiry; in key_garbage_collector()
290 if (new_timer != TIME64_MAX) { in key_garbage_collector()
291 new_timer += key_gc_delay; in key_garbage_collector()
292 key_schedule_gc(new_timer); in key_garbage_collector()