Home
last modified time | relevance | path

Searched refs:k_itimer (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/kernel/time/
Dposix-timers.h15 int (*timer_create)(struct k_itimer *timer);
18 int (*timer_set)(struct k_itimer *timr, int flags,
21 int (*timer_del)(struct k_itimer *timr);
22 void (*timer_get)(struct k_itimer *timr,
24 void (*timer_rearm)(struct k_itimer *timr);
25 s64 (*timer_forward)(struct k_itimer *timr, ktime_t now);
26 ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now);
27 int (*timer_try_to_cancel)(struct k_itimer *timr);
28 void (*timer_arm)(struct k_itimer *timr, ktime_t expires,
30 void (*timer_wait_running)(struct k_itimer *timr);
[all …]
Dposix-timers.c62 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags);
65 ({ struct k_itimer *__timr; \
75 static struct k_itimer *__posix_timers_find(struct hlist_head *head, in __posix_timers_find()
79 struct k_itimer *timer; in __posix_timers_find()
89 static struct k_itimer *posix_timer_by_id(timer_t id) in posix_timer_by_id()
97 static int posix_timer_add(struct k_itimer *timer) in posix_timer_add()
126 static inline void unlock_timer(struct k_itimer *timr, unsigned long flags) in unlock_timer()
226 sizeof(struct k_itimer), 0, in init_posix_timers()
236 static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval) in timer_overrun_to_int()
243 static void common_hrtimer_rearm(struct k_itimer *timr) in common_hrtimer_rearm()
[all …]
Dposix-cpu-timers.c22 static void posix_cpu_timer_rearm(struct k_itimer *timer);
113 static inline struct task_struct *cpu_timer_task_rcu(struct k_itimer *timer) in cpu_timer_task_rcu()
122 static u64 bump_cpu_timer(struct k_itimer *timer, u64 now) in bump_cpu_timer()
386 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create()
416 static struct posix_cputimer_base *timer_base(struct k_itimer *timer, in timer_base()
433 static void trigger_base_recalc_expires(struct k_itimer *timer, in trigger_base_recalc_expires()
451 static void disarm_timer(struct k_itimer *timer, struct task_struct *p) in disarm_timer()
471 static int posix_cpu_timer_del(struct k_itimer *timer) in posix_cpu_timer_del()
556 static void arm_timer(struct k_itimer *timer, struct task_struct *p) in arm_timer()
583 static void cpu_timer_fire(struct k_itimer *timer) in cpu_timer_fire()
[all …]
Dalarmtimer.c562 struct k_itimer *ptr = container_of(alarm, struct k_itimer, in alarm_handle_timer()
594 static void alarm_timer_rearm(struct k_itimer *timr) in alarm_timer_rearm()
607 static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) in alarm_timer_forward()
619 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining()
630 static int alarm_timer_try_to_cancel(struct k_itimer *timr) in alarm_timer_try_to_cancel()
643 static void alarm_timer_wait_running(struct k_itimer *timr) in alarm_timer_wait_running()
655 static void alarm_timer_arm(struct k_itimer *timr, ktime_t expires, in alarm_timer_arm()
727 static int alarm_timer_create(struct k_itimer *new_timer) in alarm_timer_create()
/linux-6.6.21/include/linux/
Dposix-timers.h223 struct k_itimer { struct
/linux-6.6.21/fs/proc/
Dbase.c2490 struct k_itimer *timer; in show_timer()
2499 timer = list_entry((struct list_head *)v, struct k_itimer, list); in show_timer()