Home
last modified time | relevance | path

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

/linux-5.19.10/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.c105 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags);
108 ({ struct k_itimer *__timr; \
118 static struct k_itimer *__posix_timers_find(struct hlist_head *head, in __posix_timers_find()
122 struct k_itimer *timer; in __posix_timers_find()
132 static struct k_itimer *posix_timer_by_id(timer_t id) in posix_timer_by_id()
140 static int posix_timer_add(struct k_itimer *timer) in posix_timer_add()
164 static inline void unlock_timer(struct k_itimer *timr, unsigned long flags) in unlock_timer()
276 sizeof(struct k_itimer), 0, in init_posix_timers()
286 static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval) in timer_overrun_to_int()
293 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()
387 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create()
417 static struct posix_cputimer_base *timer_base(struct k_itimer *timer, in timer_base()
434 static void trigger_base_recalc_expires(struct k_itimer *timer, in trigger_base_recalc_expires()
452 static void disarm_timer(struct k_itimer *timer, struct task_struct *p) in disarm_timer()
472 static int posix_cpu_timer_del(struct k_itimer *timer) in posix_cpu_timer_del()
557 static void arm_timer(struct k_itimer *timer, struct task_struct *p) in arm_timer()
584 static void cpu_timer_fire(struct k_itimer *timer) in cpu_timer_fire()
[all …]
Dalarmtimer.c539 struct k_itimer *ptr = container_of(alarm, struct k_itimer, in alarm_handle_timer()
570 static void alarm_timer_rearm(struct k_itimer *timr) in alarm_timer_rearm()
583 static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) in alarm_timer_forward()
595 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining()
606 static int alarm_timer_try_to_cancel(struct k_itimer *timr) in alarm_timer_try_to_cancel()
619 static void alarm_timer_wait_running(struct k_itimer *timr) in alarm_timer_wait_running()
631 static void alarm_timer_arm(struct k_itimer *timr, ktime_t expires, in alarm_timer_arm()
703 static int alarm_timer_create(struct k_itimer *new_timer) in alarm_timer_create()
/linux-5.19.10/include/linux/
Dposix-timers.h218 struct k_itimer { struct
/linux-5.19.10/fs/proc/
Dbase.c2487 struct k_itimer *timer; in show_timer()
2496 timer = list_entry((struct list_head *)v, struct k_itimer, list); in show_timer()