• Home
  • Raw
  • Download

Lines Matching refs:mode

418 					  enum hrtimer_mode mode)  in debug_hrtimer_activate()  argument
429 enum hrtimer_mode mode);
432 enum hrtimer_mode mode) 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()
460 enum hrtimer_mode mode) { } in debug_hrtimer_activate() argument
466 enum hrtimer_mode mode) in debug_init() argument
469 trace_hrtimer_init(timer, clockid, mode); in debug_init()
473 enum hrtimer_mode mode) in debug_activate() argument
475 debug_hrtimer_activate(timer, mode); in debug_activate()
476 trace_hrtimer_start(timer, mode); in debug_activate()
980 enum hrtimer_mode mode) in enqueue_hrtimer() argument
982 debug_activate(timer, mode); in enqueue_hrtimer()
1070 const enum hrtimer_mode mode) in hrtimer_update_lowres() argument
1078 timer->is_rel = mode & HRTIMER_MODE_REL; in hrtimer_update_lowres()
1111 u64 delta_ns, const enum hrtimer_mode mode, in __hrtimer_start_range_ns() argument
1141 if (mode & HRTIMER_MODE_REL) in __hrtimer_start_range_ns()
1144 tim = hrtimer_update_lowres(timer, tim, mode); in __hrtimer_start_range_ns()
1151 mode & HRTIMER_MODE_PINNED); in __hrtimer_start_range_ns()
1156 first = enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1179 u64 delta_ns, const enum hrtimer_mode mode) in hrtimer_start_range_ns() argument
1190 WARN_ON_ONCE(!(mode & HRTIMER_MODE_SOFT) ^ !timer->is_soft); in hrtimer_start_range_ns()
1192 WARN_ON_ONCE(!(mode & HRTIMER_MODE_HARD) ^ !timer->is_hard); in hrtimer_start_range_ns()
1196 if (__hrtimer_start_range_ns(timer, tim, delta_ns, mode, base)) in hrtimer_start_range_ns()
1440 enum hrtimer_mode mode) in __hrtimer_init() argument
1442 bool softtimer = !!(mode & HRTIMER_MODE_SOFT); in __hrtimer_init()
1452 if (IS_ENABLED(CONFIG_PREEMPT_RT) && !(mode & HRTIMER_MODE_HARD)) in __hrtimer_init()
1464 if (clock_id == CLOCK_REALTIME && mode & HRTIMER_MODE_REL) in __hrtimer_init()
1470 timer->is_hard = !!(mode & HRTIMER_MODE_HARD); in __hrtimer_init()
1488 enum hrtimer_mode mode) in hrtimer_init() argument
1490 debug_init(timer, clock_id, mode); in hrtimer_init()
1491 __hrtimer_init(timer, clock_id, mode); in hrtimer_init()
1851 enum hrtimer_mode mode) in hrtimer_sleeper_start_expires() argument
1861 mode |= HRTIMER_MODE_HARD; in hrtimer_sleeper_start_expires()
1863 hrtimer_start_expires(&sl->timer, mode); in hrtimer_sleeper_start_expires()
1868 clockid_t clock_id, enum hrtimer_mode mode) in __hrtimer_init_sleeper() argument
1890 if (task_is_realtime(current) && !(mode & HRTIMER_MODE_SOFT)) in __hrtimer_init_sleeper()
1891 mode |= HRTIMER_MODE_HARD; in __hrtimer_init_sleeper()
1894 __hrtimer_init(&sl->timer, clock_id, mode); in __hrtimer_init_sleeper()
1906 enum hrtimer_mode mode) in hrtimer_init_sleeper() argument
1908 debug_init(&sl->timer, clock_id, mode); in hrtimer_init_sleeper()
1909 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper()
1933 static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode) in do_nanosleep() argument
1939 hrtimer_sleeper_start_expires(t, mode); in do_nanosleep()
1945 mode = HRTIMER_MODE_ABS; in do_nanosleep()
1981 long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, in hrtimer_nanosleep() argument
1993 hrtimer_init_sleeper_on_stack(&t, clockid, mode); in hrtimer_nanosleep()
1995 ret = do_nanosleep(&t, mode); in hrtimer_nanosleep()
2000 if (mode == HRTIMER_MODE_ABS) { in hrtimer_nanosleep()
2179 const enum hrtimer_mode mode, clockid_t clock_id) in schedule_hrtimeout_range_clock() argument
2207 hrtimer_init_sleeper_on_stack(&t, clock_id, mode); in schedule_hrtimeout_range_clock()
2209 hrtimer_sleeper_start_expires(&t, mode); in schedule_hrtimeout_range_clock()
2257 const enum hrtimer_mode mode) in schedule_hrtimeout_range() argument
2259 return schedule_hrtimeout_range_clock(expires, delta, mode, in schedule_hrtimeout_range()
2291 const enum hrtimer_mode mode) in schedule_hrtimeout() argument
2293 return schedule_hrtimeout_range(expires, 0, mode); in schedule_hrtimeout()