Searched refs:hrtimer (Results 1 - 25 of 275) sorted by relevance

1234567891011

/linux-master/include/linux/
H A Dhrtimer_api.h1 #include <linux/hrtimer.h>
H A Dhrtimer.h77 * 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 Dhrtimer_types.h19 * 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 Dhrtimer_defs.h42 * @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 Dalarmtimer.h6 #include <linux/hrtimer.h>
36 * @timer: hrtimer used to schedule events while running
44 struct hrtimer timer;
H A Dmailbox_controller.h8 #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 Dtimer.h9 #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 Dheartbeat.c12 #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 Dwatchdog_core.h27 #include <linux/hrtimer.h>
48 struct hrtimer timer;
51 struct hrtimer pretimeout_timer;
H A Dwatchdog_hrtimer_pretimeout.c6 #include <linux/hrtimer.h>
12 static enum hrtimer_restart watchdog_hrtimer_pretimeout(struct hrtimer *timer)
H A Dsoftdog.c20 #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 Dtick-sched.h5 #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 Dtick-broadcast-hrtimer.c7 #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 Dhrtimer.c28 #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 Dptp.h20 struct hrtimer hrtimer; member in struct:ptp
/linux-master/arch/x86/include/asm/vdso/
H A Dvsyscall.h7 #include <linux/hrtimer.h>
/linux-master/arch/s390/include/asm/vdso/
H A Dvsyscall.h7 #include <linux/hrtimer.h>
/linux-master/drivers/iio/trigger/
H A DMakefile8 obj-$(CONFIG_IIO_HRTIMER_TRIGGER) += iio-trig-hrtimer.o
/linux-master/arch/riscv/include/asm/
H A Dkvm_vcpu_timer.h12 #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 Dpcsp.h13 #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 Dwatchdog.c83 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 Darm_arch_timer.h11 #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 Di915_pmu.h10 #include <linux/hrtimer.h>
89 struct hrtimer timer;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_vmlinux.c73 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 Dvcpu_stall_detector.c42 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;

Completed in 212 milliseconds

1234567891011