Lines Matching refs:tmr
431 struct k_itimer *tmr; in alloc_posix_timer() local
432 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
433 if (!tmr) in alloc_posix_timer()
434 return tmr; in alloc_posix_timer()
435 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
436 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
439 clear_siginfo(&tmr->sigq->info); in alloc_posix_timer()
440 return tmr; in alloc_posix_timer()
445 struct k_itimer *tmr = container_of(head, struct k_itimer, rcu); in k_itimer_rcu_free() local
447 kmem_cache_free(posix_timers_cache, tmr); in k_itimer_rcu_free()
452 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
457 hlist_del_rcu(&tmr->t_hash); in release_posix_timer()
460 put_pid(tmr->it_pid); in release_posix_timer()
461 sigqueue_free(tmr->sigq); in release_posix_timer()
462 call_rcu(&tmr->rcu, k_itimer_rcu_free); in release_posix_timer()
1037 struct k_itimer *tmr; in exit_itimers() local
1040 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); in exit_itimers()
1041 itimer_delete(tmr); in exit_itimers()