Lines Matching refs:tmr
455 struct k_itimer *tmr; in alloc_posix_timer() local
456 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
457 if (!tmr) in alloc_posix_timer()
458 return tmr; in alloc_posix_timer()
459 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
460 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
463 clear_siginfo(&tmr->sigq->info); in alloc_posix_timer()
464 return tmr; in alloc_posix_timer()
469 struct k_itimer *tmr = container_of(head, struct k_itimer, it.rcu); in k_itimer_rcu_free() local
471 kmem_cache_free(posix_timers_cache, tmr); in k_itimer_rcu_free()
476 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
481 hlist_del_rcu(&tmr->t_hash); in release_posix_timer()
484 put_pid(tmr->it_pid); in release_posix_timer()
485 sigqueue_free(tmr->sigq); in release_posix_timer()
486 call_rcu(&tmr->it.rcu, k_itimer_rcu_free); in release_posix_timer()
1033 struct k_itimer *tmr; in exit_itimers() local
1036 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); in exit_itimers()
1037 itimer_delete(tmr); in exit_itimers()