Lines Matching full:alarm
33 * struct alarm - Alarm timer structure
38 * @type: Alarm type (BOOTTIME/REALTIME).
39 * @state: Flag that represents if the alarm is set to fire or not.
42 struct alarm { struct
45 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); argument
51 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, argument
52 enum alarmtimer_restart (*function)(struct alarm *, ktime_t));
53 void alarm_start(struct alarm *alarm, ktime_t start);
54 void alarm_start_relative(struct alarm *alarm, ktime_t start);
55 void alarm_restart(struct alarm *alarm);
56 int alarm_try_to_cancel(struct alarm *alarm);
57 int alarm_cancel(struct alarm *alarm);
59 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
60 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval);
61 ktime_t alarm_expires_remaining(const struct alarm *alarm);