Lines Matching full:tmr
353 struct k_itimer *tmr = kmem_cache_zalloc(posix_timers_cache, GFP_KERNEL);
355 if (!tmr)
356 return tmr;
358 if (unlikely(!posixtimer_init_sigqueue(&tmr->sigq))) {
359 kmem_cache_free(posix_timers_cache, tmr);
362 rcuref_init(&tmr->rcuref, 1);
363 return tmr;
366 void posixtimer_free_timer(struct k_itimer *tmr)
368 put_pid(tmr->it_pid);
369 if (tmr->sigq.ucounts)
370 dec_rlimit_put_ucounts(tmr->sigq.ucounts, UCOUNT_RLIMIT_SIGPENDING);
371 kfree_rcu(tmr, rcu);
374 static void posix_timer_unhash_and_free(struct k_itimer *tmr)
377 hlist_del_rcu(&tmr->t_hash);
379 posixtimer_putref(tmr);
973 static inline void posix_timer_cleanup_ignored(struct k_itimer *tmr)
975 if (!hlist_unhashed(&tmr->ignored_list)) {
976 hlist_del_init(&tmr->ignored_list);
977 posixtimer_putref(tmr);