Home
last modified time | relevance | path

Searched refs:curdev (Results 1 – 3 of 3) sorted by relevance

/kernel/time/
Dtick-common.c289 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu() argument
300 if (curdev && cpumask_equal(curdev->cpumask, cpumask_of(cpu))) in tick_check_percpu()
305 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred() argument
310 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_preferred()
320 return !curdev || in tick_check_preferred()
321 newdev->rating > curdev->rating || in tick_check_preferred()
322 !cpumask_equal(curdev->cpumask, newdev->cpumask); in tick_check_preferred()
329 bool tick_check_replacement(struct clock_event_device *curdev, in tick_check_replacement() argument
332 if (!tick_check_percpu(curdev, newdev, smp_processor_id())) in tick_check_replacement()
335 return tick_check_preferred(curdev, newdev); in tick_check_replacement()
[all …]
Dtick-broadcast.c86 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() argument
98 return !curdev || newdev->rating > curdev->rating; in tick_check_broadcast_device()
119 struct clock_event_device *curdev = tick_get_oneshot_wakeup_device(cpu); in tick_set_oneshot_wakeup_device() local
135 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device()
143 clockevents_exchange_device(curdev, newdev); in tick_set_oneshot_wakeup_device()
Dtick-internal.h26 extern bool tick_check_replacement(struct clock_event_device *curdev,