Lines Matching refs:clock_id

428 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
431 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack() argument
435 __hrtimer_init(timer, clock_id, mode); in hrtimer_init_on_stack()
440 clockid_t clock_id, enum hrtimer_mode mode);
443 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() argument
446 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack()
1529 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base() argument
1531 if (likely(clock_id < MAX_CLOCKS)) { in hrtimer_clockid_to_base()
1532 int base = hrtimer_clock_to_base_table[clock_id]; in hrtimer_clockid_to_base()
1537 WARN(1, "Invalid clockid %d. Using MONOTONIC\n", clock_id); in hrtimer_clockid_to_base()
1541 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in __hrtimer_init() argument
1566 if (clock_id == CLOCK_REALTIME && mode & HRTIMER_MODE_REL) in __hrtimer_init()
1567 clock_id = CLOCK_MONOTONIC; in __hrtimer_init()
1570 base += hrtimer_clockid_to_base(clock_id); in __hrtimer_init()
1589 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init() argument
1592 debug_init(timer, clock_id, mode); in hrtimer_init()
1593 __hrtimer_init(timer, clock_id, mode); in hrtimer_init()
1970 clockid_t clock_id, enum hrtimer_mode mode) in __hrtimer_init_sleeper() argument
1996 __hrtimer_init(&sl->timer, clock_id, mode); in __hrtimer_init_sleeper()
2007 void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, in hrtimer_init_sleeper() argument
2010 debug_init(&sl->timer, clock_id, mode); in hrtimer_init_sleeper()
2011 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper()
2279 const enum hrtimer_mode mode, clockid_t clock_id) in schedule_hrtimeout_range_clock() argument
2300 hrtimer_init_sleeper_on_stack(&t, clock_id, mode); in schedule_hrtimeout_range_clock()