Lines Matching refs:ctmr

447 	struct cpu_timer *ctmr = &timer->it.cpu;  in disarm_timer()  local
450 if (!cpu_timer_dequeue(ctmr)) in disarm_timer()
454 if (cpu_timer_getexpires(ctmr) == base->nextevt) in disarm_timer()
467 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_del() local
488 WARN_ON_ONCE(ctmr->head || timerqueue_node_queued(&ctmr->node)); in posix_cpu_timer_del()
501 put_pid(ctmr->pid); in posix_cpu_timer_del()
509 struct cpu_timer *ctmr; in cleanup_timerqueue() local
513 ctmr = container_of(node, struct cpu_timer, node); in cleanup_timerqueue()
514 ctmr->head = NULL; in cleanup_timerqueue()
553 struct cpu_timer *ctmr = &timer->it.cpu; in arm_timer() local
554 u64 newexp = cpu_timer_getexpires(ctmr); in arm_timer()
556 if (!cpu_timer_enqueue(&base->tqhead, ctmr)) in arm_timer()
579 struct cpu_timer *ctmr = &timer->it.cpu; in cpu_timer_fire() local
585 cpu_timer_setexpires(ctmr, 0); in cpu_timer_fire()
592 cpu_timer_setexpires(ctmr, 0); in cpu_timer_fire()
598 cpu_timer_setexpires(ctmr, 0); in cpu_timer_fire()
622 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_set() local
663 old_expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_set()
669 cpu_timer_dequeue(ctmr); in posix_cpu_timer_set()
729 cpu_timer_setexpires(ctmr, new_expires); in posix_cpu_timer_set()
769 if (!cpu_timer_queued(ctmr)) in posix_cpu_timer_set()
785 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_get() local
786 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get()
833 struct cpu_timer *ctmr; in collect_timerqueue() local
836 ctmr = container_of(next, struct cpu_timer, node); in collect_timerqueue()
837 expires = cpu_timer_getexpires(ctmr); in collect_timerqueue()
842 ctmr->firing = 1; in collect_timerqueue()
843 cpu_timer_dequeue(ctmr); in collect_timerqueue()
844 list_add_tail(&ctmr->elist, firing); in collect_timerqueue()