Lines Matching refs:tmr
457 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()
478 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
483 hlist_del_rcu(&tmr->t_hash); in release_posix_timer()
486 put_pid(tmr->it_pid); in release_posix_timer()
487 sigqueue_free(tmr->sigq); in release_posix_timer()
488 call_rcu(&tmr->rcu, k_itimer_rcu_free); in release_posix_timer()
1090 struct k_itimer *tmr; in exit_itimers() local
1102 tmr = list_first_entry(&timers, struct k_itimer, list); in exit_itimers()
1103 itimer_delete(tmr); in exit_itimers()