Name

struct hrtimer — the basic hrtimer structure

Synopsis

struct hrtimer {
  struct rb_node node;
  ktime_t expires;
  int (* function) (struct hrtimer *);
  struct hrtimer_base * base;
};  

Members

node

red black tree node for time ordered insertion

expires

the absolute expiry time in the hrtimers internal representation. The time is related to the clock on which the timer is based.

function

timer expiry callback function

base

pointer to the timer base (per cpu and per clock)

Description

The hrtimer structure must be initialized by init_hrtimer_#CLOCKTYPE

Description

The hrtimer structure must be initialized by init_hrtimer_#CLOCKTYPE