Home
last modified time | relevance | path

Searched refs:ctmr (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/linux/ !
Dposix-timers.h81 struct cpu_timer *ctmr) in cpu_timer_enqueue() argument
83 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() argument
89 return !!ctmr->head; in cpu_timer_queued()
92 static inline bool cpu_timer_dequeue(struct cpu_timer *ctmr) in cpu_timer_dequeue() argument
94 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 …]
/linux-6.6.21/kernel/time/ !
Dposix-cpu-timers.c453 struct cpu_timer *ctmr = &timer->it.cpu; in disarm_timer() local
456 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() local
494 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() local
519 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 …]