Home
last modified time | relevance | path

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

/kernel/
Dposix-timers.c451 struct k_itimer *tmr; in alloc_posix_timer() local
452 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
453 if (!tmr) in alloc_posix_timer()
454 return tmr; in alloc_posix_timer()
455 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
456 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
459 memset(&tmr->sigq->info, 0, sizeof(siginfo_t)); in alloc_posix_timer()
460 return tmr; in alloc_posix_timer()
465 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
470 idr_remove(&posix_timers_id, tmr->it_id); in release_posix_timer()
[all …]
Dsignal.c447 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal() local
449 if (!hrtimer_is_queued(tmr) && in dequeue_signal()
451 hrtimer_forward(tmr, tmr->base->get_time(), in dequeue_signal()
453 hrtimer_restart(tmr); in dequeue_signal()