Lines Matching full:tmr
403 struct k_itimer *tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer() local
405 if (!tmr) in alloc_posix_timer()
406 return tmr; in alloc_posix_timer()
407 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
408 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
411 clear_siginfo(&tmr->sigq->info); in alloc_posix_timer()
412 return tmr; in alloc_posix_timer()
417 struct k_itimer *tmr = container_of(head, struct k_itimer, rcu); in k_itimer_rcu_free() local
419 kmem_cache_free(posix_timers_cache, tmr); in k_itimer_rcu_free()
422 static void posix_timer_free(struct k_itimer *tmr) in posix_timer_free() argument
424 put_pid(tmr->it_pid); in posix_timer_free()
425 sigqueue_free(tmr->sigq); in posix_timer_free()
426 call_rcu(&tmr->rcu, k_itimer_rcu_free); in posix_timer_free()
429 static void posix_timer_unhash_and_free(struct k_itimer *tmr) in posix_timer_unhash_and_free() argument
432 hlist_del_rcu(&tmr->t_hash); in posix_timer_unhash_and_free()
434 posix_timer_free(tmr); in posix_timer_unhash_and_free()
1096 struct k_itimer *tmr; in exit_itimers() local
1108 tmr = list_first_entry(&timers, struct k_itimer, list); in exit_itimers()
1109 itimer_delete(tmr); in exit_itimers()