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