Lines Matching refs:clock_id

430 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
433 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack() argument
437 __hrtimer_init(timer, clock_id, mode); in hrtimer_init_on_stack()
442 clockid_t clock_id, enum hrtimer_mode mode);
445 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() argument
448 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack()
1533 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base() argument
1535 if (likely(clock_id < MAX_CLOCKS)) { in hrtimer_clockid_to_base()
1536 int base = hrtimer_clock_to_base_table[clock_id]; in hrtimer_clockid_to_base()
1541 WARN(1, "Invalid clockid %d. Using MONOTONIC\n", clock_id); in hrtimer_clockid_to_base()
1545 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in __hrtimer_init() argument
1570 if (clock_id == CLOCK_REALTIME && mode & HRTIMER_MODE_REL) in __hrtimer_init()
1571 clock_id = CLOCK_MONOTONIC; in __hrtimer_init()
1574 base += hrtimer_clockid_to_base(clock_id); in __hrtimer_init()
1593 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init() argument
1596 debug_init(timer, clock_id, mode); in hrtimer_init()
1597 __hrtimer_init(timer, clock_id, mode); in hrtimer_init()
1974 clockid_t clock_id, enum hrtimer_mode mode) in __hrtimer_init_sleeper() argument
2000 __hrtimer_init(&sl->timer, clock_id, mode); in __hrtimer_init_sleeper()
2011 void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, in hrtimer_init_sleeper() argument
2014 debug_init(&sl->timer, clock_id, mode); in hrtimer_init_sleeper()
2015 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper()
2278 const enum hrtimer_mode mode, clockid_t clock_id) in schedule_hrtimeout_range_clock() argument
2306 hrtimer_init_sleeper_on_stack(&t, clock_id, mode); in schedule_hrtimeout_range_clock()