Searched refs:ctmr (Results 1 – 2 of 2) sorted by relevance
81 struct cpu_timer *ctmr) in cpu_timer_enqueue() argument83 ctmr->head = head; in cpu_timer_enqueue()84 return timerqueue_add(head, &ctmr->node); in cpu_timer_enqueue()87 static inline bool cpu_timer_queued(struct cpu_timer *ctmr) in cpu_timer_queued() argument89 return !!ctmr->head; in cpu_timer_queued()92 static inline bool cpu_timer_dequeue(struct cpu_timer *ctmr) in cpu_timer_dequeue() argument94 if (cpu_timer_queued(ctmr)) { in cpu_timer_dequeue()95 timerqueue_del(ctmr->head, &ctmr->node); in cpu_timer_dequeue()96 ctmr->head = NULL; in cpu_timer_dequeue()102 static inline u64 cpu_timer_getexpires(struct cpu_timer *ctmr) in cpu_timer_getexpires() argument[all …]
453 struct cpu_timer *ctmr = &timer->it.cpu; in disarm_timer() local456 if (!cpu_timer_dequeue(ctmr)) in disarm_timer()460 if (cpu_timer_getexpires(ctmr) == base->nextevt) in disarm_timer()473 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_del() local494 WARN_ON_ONCE(ctmr->head || timerqueue_node_queued(&ctmr->node)); in posix_cpu_timer_del()507 put_pid(ctmr->pid); in posix_cpu_timer_del()515 struct cpu_timer *ctmr; in cleanup_timerqueue() local519 ctmr = container_of(node, struct cpu_timer, node); in cleanup_timerqueue()520 ctmr->head = NULL; in cleanup_timerqueue()559 struct cpu_timer *ctmr = &timer->it.cpu; in arm_timer() local[all …]