Lines Matching refs:tmr
542 struct k_itimer *tmr; in alloc_posix_timer() local
543 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
544 if (!tmr) in alloc_posix_timer()
545 return tmr; in alloc_posix_timer()
546 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
547 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
550 memset(&tmr->sigq->info, 0, sizeof(siginfo_t)); in alloc_posix_timer()
551 return tmr; in alloc_posix_timer()
556 struct k_itimer *tmr = container_of(head, struct k_itimer, it.rcu); in k_itimer_rcu_free() local
558 kmem_cache_free(posix_timers_cache, tmr); in k_itimer_rcu_free()
563 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
568 hlist_del_rcu(&tmr->t_hash); in release_posix_timer()
571 put_pid(tmr->it_pid); in release_posix_timer()
572 sigqueue_free(tmr->sigq); in release_posix_timer()
573 call_rcu(&tmr->it.rcu, k_itimer_rcu_free); in release_posix_timer()
997 struct k_itimer *tmr; in exit_itimers() local
1000 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); in exit_itimers()
1001 itimer_delete(tmr); in exit_itimers()