• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/

Lines Matching refs:hrtimer

2  *  linux/kernel/hrtimer.c
37 #include <linux/hrtimer.h>
122 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer,
161 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base)
180 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base,
225 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags)
343 struct hrtimer *timer = addr;
382 struct hrtimer *timer = addr;
395 .name = "hrtimer",
401 static inline void debug_hrtimer_init(struct hrtimer *timer)
406 static inline void debug_hrtimer_activate(struct hrtimer *timer)
411 static inline void debug_hrtimer_deactivate(struct hrtimer *timer)
416 static inline void debug_hrtimer_free(struct hrtimer *timer)
421 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
424 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id,
432 void destroy_hrtimer_on_stack(struct hrtimer *timer)
438 static inline void debug_hrtimer_init(struct hrtimer *timer) { }
439 static inline void debug_hrtimer_activate(struct hrtimer *timer) { }
440 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) { }
444 debug_init(struct hrtimer *timer, clockid_t clockid,
451 static inline void debug_activate(struct hrtimer *timer)
457 static inline void debug_deactivate(struct hrtimer *timer)
518 struct hrtimer *timer;
522 timer = rb_entry(base->first, struct hrtimer, node);
553 static int hrtimer_reprogram(struct hrtimer *timer,
673 * Initialize the high resolution related parts of a hrtimer
675 static inline void hrtimer_init_timer_hres(struct hrtimer *timer)
686 static inline int hrtimer_enqueue_reprogram(struct hrtimer *timer,
743 static inline int hrtimer_enqueue_reprogram(struct hrtimer *timer,
750 static inline void hrtimer_init_timer_hres(struct hrtimer *timer) { }
754 static inline void timer_stats_hrtimer_set_start_info(struct hrtimer *timer)
765 static inline void timer_stats_hrtimer_clear_start_info(struct hrtimer *timer)
772 static inline void timer_stats_account_hrtimer(struct hrtimer *timer)
786 void unlock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags)
793 * @timer: hrtimer to forward
800 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval)
840 static int enqueue_hrtimer(struct hrtimer *timer,
845 struct hrtimer *entry;
855 entry = rb_entry(parent, struct hrtimer, node);
897 static void __remove_hrtimer(struct hrtimer *timer,
928 * remove hrtimer, called with base lock held
931 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base)
960 int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
1005 * hrtimer_start_range_ns - (re)start an hrtimer on the current CPU
1015 int hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
1023 * hrtimer_start - (re)start an hrtimer on the current CPU
1033 hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode)
1042 * @timer: hrtimer to stop
1050 int hrtimer_try_to_cancel(struct hrtimer *timer)
1076 int hrtimer_cancel(struct hrtimer *timer)
1092 ktime_t hrtimer_get_remaining(const struct hrtimer *timer)
1124 struct hrtimer *timer;
1129 timer = rb_entry(base->first, struct hrtimer, node);
1145 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
1150 memset(timer, 0, sizeof(struct hrtimer));
1173 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
1200 static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
1204 enum hrtimer_restart (*fn)(struct hrtimer *);
1280 struct hrtimer *timer;
1282 timer = rb_entry(node, struct hrtimer, node);
1332 * We need to prevent that we loop forever in the hrtimer
1360 printk_once(KERN_WARNING "hrtimer: interrupt took %llu ns\n",
1413 * softirq context in case the hrtimer initialization failed or has
1460 struct hrtimer *timer;
1462 timer = rb_entry(node, struct hrtimer, node);
1476 static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer)
1519 static int update_rmtp(struct hrtimer *timer, struct timespec __user *rmtp)
1638 struct hrtimer *timer;
1642 timer = rb_entry(node, struct hrtimer, node);