Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dposix-timers.h82 struct cpu_timer *ctmr) in cpu_timer_enqueue() argument
84 ctmr->head = head; in cpu_timer_enqueue()
85 return timerqueue_add(head, &ctmr->node); in cpu_timer_enqueue()
88 static inline void cpu_timer_dequeue(struct cpu_timer *ctmr) in cpu_timer_dequeue() argument
90 if (ctmr->head) { in cpu_timer_dequeue()
91 timerqueue_del(ctmr->head, &ctmr->node); in cpu_timer_dequeue()
92 ctmr->head = NULL; in cpu_timer_dequeue()
96 static inline u64 cpu_timer_getexpires(struct cpu_timer *ctmr) in cpu_timer_getexpires() argument
98 return ctmr->node.expires; in cpu_timer_getexpires()
101 static inline void cpu_timer_setexpires(struct cpu_timer *ctmr, u64 exp) in cpu_timer_setexpires() argument
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dposix-cpu-timers.c416 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_del() local
437 WARN_ON_ONCE(ctmr->head || timerqueue_node_queued(&ctmr->node)); in posix_cpu_timer_del()
442 cpu_timer_dequeue(ctmr); in posix_cpu_timer_del()
450 put_pid(ctmr->pid); in posix_cpu_timer_del()
458 struct cpu_timer *ctmr; in cleanup_timerqueue() local
462 ctmr = container_of(node, struct cpu_timer, node); in cleanup_timerqueue()
463 ctmr->head = NULL; in cleanup_timerqueue()
502 struct cpu_timer *ctmr = &timer->it.cpu; in arm_timer() local
503 u64 newexp = cpu_timer_getexpires(ctmr); in arm_timer()
511 if (!cpu_timer_enqueue(&base->tqhead, ctmr)) in arm_timer()
[all …]