Functions | |
void | init_alarm (struct alarm_block *t, void *data, void(*fcn)(struct alarm_block *a, void *data)) |
void | add_alarm (struct alarm_block *alarm, unsigned long sc, unsigned long usc) |
void | del_alarm (struct alarm_block *alarm) |
int | alarm_pending (struct alarm_block *alarm) |
struct timeval * | get_next_alarm_run (struct timeval *next_run) |
struct timeval * | do_alarm_run (struct timeval *next_run) |
void add_alarm | ( | struct alarm_block * | alarm, |
unsigned long | sc, | ||
unsigned long | usc | ||
) |
References del_alarm(), gettimeofday_cached(), and alarm_block::tv.
Referenced by ctnl_init(), and tcp_send().
int alarm_pending | ( | struct alarm_block * | alarm | ) |
References alarm_block::node, and RB_EMPTY_NODE.
Referenced by tcp_send().
void del_alarm | ( | struct alarm_block * | alarm | ) |
References alarm_block::node, RB_CLEAR_NODE, RB_EMPTY_NODE, and rb_erase().
Referenced by add_alarm().
References container_of, data, get_next_alarm_run(), gettimeofday_cached(), INIT_LIST_HEAD, list_for_each_entry_safe, RB_CLEAR_NODE, rb_erase(), rb_first(), and rb_next().
Referenced by __attribute__().
References container_of, gettimeofday_cached(), NULL, and rb_first().
Referenced by __attribute__(), and do_alarm_run().
void init_alarm | ( | struct alarm_block * | t, |
void * | data, | ||
void(*)(struct alarm_block *a, void *data) | fcn | ||
) |
References alarm_block::data, data, alarm_block::function, alarm_block::node, RB_CLEAR_NODE, and alarm_block::tv.
Referenced by ctnl_init(), and tcp_client_create().