Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dposix-timers.h65 struct cpu_timer *ctmr) in cpu_timer_enqueue() argument
67 ctmr->head = head; in cpu_timer_enqueue()
68 return timerqueue_add(head, &ctmr->node); in cpu_timer_enqueue()
71 static inline bool cpu_timer_queued(struct cpu_timer *ctmr) in cpu_timer_queued() argument
73 return !!ctmr->head; in cpu_timer_queued()
76 static inline bool cpu_timer_dequeue(struct cpu_timer *ctmr) in cpu_timer_dequeue() argument
78 if (cpu_timer_queued(ctmr)) { in cpu_timer_dequeue()
79 timerqueue_del(ctmr->head, &ctmr->node); in cpu_timer_dequeue()
80 ctmr->head = NULL; in cpu_timer_dequeue()
86 static inline u64 cpu_timer_getexpires(struct cpu_timer *ctmr) in cpu_timer_getexpires() argument
[all …]
/linux/kernel/time/
H A 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()
515 put_pid(ctmr->pid); in posix_cpu_timer_del()
524 struct cpu_timer *ctmr; in cleanup_timerqueue() local
528 ctmr = container_of(node, struct cpu_timer, node); in cleanup_timerqueue()
529 ctmr->head = NULL; in cleanup_timerqueue()
568 struct cpu_timer *ctmr = &timer->it.cpu; in arm_timer() local
[all …]