/linux-master/include/linux/ |
H A D | hrtimer_api.h | 1 #include <linux/hrtimer.h>
|
H A D | hrtimer.h | 77 * and reacquiring the base lock of the hrtimer, another CPU can deliver the 93 struct hrtimer timer; 97 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) 103 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) 109 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) 115 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) 121 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) 127 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) 133 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) 138 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *time [all...] |
H A D | hrtimer_types.h | 19 * struct hrtimer - the basic hrtimer structure 26 * @_softexpires: the absolute earliest expiry time of the hrtimer. 33 * @is_soft: Set if hrtimer will be expired in soft interrupt context. 34 * @is_hard: Set if hrtimer will be expired in hard interrupt context 37 * The hrtimer structure must be initialized by hrtimer_init() 39 struct hrtimer { struct 42 enum hrtimer_restart (*function)(struct hrtimer *);
|
H A D | hrtimer_defs.h | 42 * @running: pointer to the currently running hrtimer 52 struct hrtimer *running; 79 * @hang_detected: The last hrtimer interrupt detected a hang 82 * @nr_events: Total number of hrtimer interrupt events 83 * @nr_retries: Total number of hrtimer interrupt retries 84 * @nr_hangs: Total number of hrtimer interrupt hangs 86 * @softirq_expiry_lock: Lock which is taken while softirq based hrtimer are 92 * hrtimer enqueue; it is the total first expiry time (hard 93 * and soft hrtimer are taken into account) 124 struct hrtimer *next_time [all...] |
H A D | alarmtimer.h | 6 #include <linux/hrtimer.h> 36 * @timer: hrtimer used to schedule events while running 44 struct hrtimer timer;
|
H A D | mailbox_controller.h | 8 #include <linux/hrtimer.h> 70 * @poll_hrt: API private. hrtimer used to poll for TXDONE on all 85 struct hrtimer poll_hrt;
|
/linux-master/include/trace/events/ |
H A D | timer.h | 9 #include <linux/hrtimer.h> 188 * hrtimer_init - called when the hrtimer is initialized 189 * @hrtimer: pointer to struct hrtimer 195 TP_PROTO(struct hrtimer *hrtimer, clockid_t clockid, 198 TP_ARGS(hrtimer, clockid, mode), 201 __field( void *, hrtimer ) 207 __entry->hrtimer = hrtimer; [all...] |
/linux-master/drivers/hwtracing/stm/ |
H A D | heartbeat.c | 12 #include <linux/hrtimer.h> 26 struct hrtimer hrtimer; member in struct:stm_heartbeat 32 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) 35 hrtimer); 50 hrtimer_start(&heartbeat->hrtimer, ms_to_ktime(interval_ms), 62 hrtimer_cancel(&heartbeat->hrtimer); 83 hrtimer_init(&stm_heartbeat[i].hrtimer, CLOCK_MONOTONIC, 85 stm_heartbeat[i].hrtimer.function =
|
/linux-master/drivers/watchdog/ |
H A D | watchdog_core.h | 27 #include <linux/hrtimer.h> 48 struct hrtimer timer; 51 struct hrtimer pretimeout_timer;
|
H A D | watchdog_hrtimer_pretimeout.c | 6 #include <linux/hrtimer.h> 12 static enum hrtimer_restart watchdog_hrtimer_pretimeout(struct hrtimer *timer)
|
H A D | softdog.c | 20 #include <linux/hrtimer.h> 64 static struct hrtimer softdog_ticktock; 65 static struct hrtimer softdog_preticktock; 78 static enum hrtimer_restart softdog_fire(struct hrtimer *timer) 126 static enum hrtimer_restart softdog_pretimeout(struct hrtimer *timer)
|
/linux-master/kernel/time/ |
H A D | tick-sched.h | 5 #include <linux/hrtimer.h> 40 * @sched_timer: hrtimer to schedule the periodic tick in high 73 struct hrtimer sched_timer; 107 extern void tick_setup_sched_timer(bool hrtimer);
|
H A D | tick-broadcast-hrtimer.c | 7 #include <linux/hrtimer.h> 18 static struct hrtimer bctimer; 55 * Each caller tries to arm the hrtimer on its own CPU, but if the 56 * hrtimer callback function is currently running, then 63 * correctly to prevent a CPU which has the broadcast hrtimer 68 * the below access is safe even without holding the hrtimer 94 static enum hrtimer_restart bc_handler(struct hrtimer *t)
|
H A D | hrtimer.c | 28 #include <linux/hrtimer.h> 64 * There are more clockids than hrtimer bases. Thus, we index 166 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, 195 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) 227 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, 284 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) 352 return ((struct hrtimer *) addr)->function; 361 struct hrtimer *timer = addr; 395 struct hrtimer *timer = addr; 408 .name = "hrtimer", [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | ptp.h | 20 struct hrtimer hrtimer; member in struct:ptp
|
/linux-master/arch/x86/include/asm/vdso/ |
H A D | vsyscall.h | 7 #include <linux/hrtimer.h>
|
/linux-master/arch/s390/include/asm/vdso/ |
H A D | vsyscall.h | 7 #include <linux/hrtimer.h>
|
/linux-master/drivers/iio/trigger/ |
H A D | Makefile | 8 obj-$(CONFIG_IIO_HRTIMER_TRIGGER) += iio-trig-hrtimer.o
|
/linux-master/arch/riscv/include/asm/ |
H A D | kvm_vcpu_timer.h | 12 #include <linux/hrtimer.h> 29 /* Underlying hrtimer instance */ 30 struct hrtimer hrt; 34 /* A function pointer to switch between stimecmp or hrtimer at runtime */
|
/linux-master/sound/drivers/pcsp/ |
H A D | pcsp.h | 13 #include <linux/hrtimer.h> 57 struct hrtimer timer; 77 extern enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle);
|
/linux-master/arch/powerpc/kernel/ |
H A D | watchdog.c | 83 static DEFINE_PER_CPU(struct hrtimer, wd_hrtimer); 437 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) argument 449 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); 473 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); local 498 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); 499 hrtimer->function = watchdog_timer_fn; 500 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), 511 struct hrtimer *hrtime local [all...] |
/linux-master/include/kvm/ |
H A D | arm_arch_timer.h | 11 #include <linux/hrtimer.h> 57 struct hrtimer hrtimer; member in struct:arch_timer_context 91 struct hrtimer bg_timer;
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_pmu.h | 10 #include <linux/hrtimer.h> 89 struct hrtimer timer;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_vmlinux.c | 73 int BPF_KPROBE(handle__kprobe, struct hrtimer *timer, ktime_t tim, u64 delta_ns, 82 int BPF_PROG(handle__fentry, struct hrtimer *timer, ktime_t tim, u64 delta_ns,
|
/linux-master/drivers/misc/ |
H A D | vcpu_stall_detector.c | 42 struct hrtimer vcpu_hrtimer; 58 vcpu_stall_detect_timer_fn(struct hrtimer *hrtimer) argument 74 hrtimer_forward_now(hrtimer, 85 struct hrtimer *vcpu_hrtimer = &vcpu_stall_detector->vcpu_hrtimer;
|