Lines Matching refs:tmr
451 struct k_itimer *tmr; in alloc_posix_timer() local
452 tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL); in alloc_posix_timer()
453 if (!tmr) in alloc_posix_timer()
454 return tmr; in alloc_posix_timer()
455 if (unlikely(!(tmr->sigq = sigqueue_alloc()))) { in alloc_posix_timer()
456 kmem_cache_free(posix_timers_cache, tmr); in alloc_posix_timer()
459 memset(&tmr->sigq->info, 0, sizeof(siginfo_t)); in alloc_posix_timer()
460 return tmr; in alloc_posix_timer()
465 static void release_posix_timer(struct k_itimer *tmr, int it_id_set) in release_posix_timer() argument
470 idr_remove(&posix_timers_id, tmr->it_id); in release_posix_timer()
473 put_pid(tmr->it_pid); in release_posix_timer()
474 sigqueue_free(tmr->sigq); in release_posix_timer()
475 kmem_cache_free(posix_timers_cache, tmr); in release_posix_timer()
876 struct k_itimer *tmr; in exit_itimers() local
879 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); in exit_itimers()
880 itimer_delete(tmr); in exit_itimers()