Home
last modified time | relevance | path

Searched refs:tmr (Results 1 – 2 of 2) sorted by relevance

/kernel/time/
Dposix-timers.c457 struct k_itimer *tmr; in alloc_posix_timer() local
458 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
459 if (!tmr) in alloc_posix_timer()
460 return tmr; in alloc_posix_timer()
461 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
462 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
465 clear_siginfo(&tmr->sigq->info); in alloc_posix_timer()
466 return tmr; in alloc_posix_timer()
471 struct k_itimer *tmr = container_of(head, struct k_itimer, rcu); in k_itimer_rcu_free() local
473 kmem_cache_free(posix_timers_cache, tmr); in k_itimer_rcu_free()
[all …]
/kernel/
Dsignal.c660 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal() local
662 if (!hrtimer_is_queued(tmr) && in dequeue_signal()
664 hrtimer_forward(tmr, tmr->base->get_time(), in dequeue_signal()
666 hrtimer_restart(tmr); in dequeue_signal()