kal_timer_wheel.h File Reference

#include "kal_time.h"
#include <linux/aquosa/qos_debug.h>
#include <linux/aquosa/qos_types.h>
#include <linux/aquosa/qos_memory.h>
#include <linux/time.h>
#include <linux/timer.h>
#include <linux/jiffies.h>
#include "kal_arg.h"

Go to the source code of this file.

Data Structures

struct  kal_timer_t

Typedefs

typedef void(* linux_timer_cb )(unsigned long cb_data)
typedef void(* kal_timer_cb )(kal_arg_t cb_data)

Functions

static void timer_callback (unsigned long cb_data)
static void kal_timer_init (kal_timer_t *p_timer, kal_timer_cb cb, kal_arg_t cb_data)
static void kal_timer_init_now (kal_timer_t *p_timer, kal_timer_cb cb, kal_arg_t cb_data)
static void kal_timer_set (kal_timer_t *p_timer, kal_time_t t)
static void kal_timer_del (kal_timer_t *p_timer)
static void kal_timer_forward (kal_timer_t *p_timer, kal_time_t t)
static int kal_timer_pending (kal_timer_t *p_timer)

Typedef Documentation

typedef void(* kal_timer_cb)(kal_arg_t cb_data)

Definition at line 18 of file kal_timer_wheel.h.

typedef void(* linux_timer_cb)(unsigned long cb_data)

Definition at line 17 of file kal_timer_wheel.h.


Function Documentation

static void kal_timer_del ( kal_timer_t p_timer  )  [inline, static]
static void kal_timer_forward ( kal_timer_t p_timer,
kal_time_t  t 
) [inline, static]

Definition at line 61 of file kal_timer_wheel.h.

References add_timer(), kal_time2jiffies(), kal_timer_del(), and kal_timer_t::timer.

static void kal_timer_init ( kal_timer_t p_timer,
kal_timer_cb  cb,
kal_arg_t  cb_data 
) [inline, static]
static void kal_timer_init_now ( kal_timer_t p_timer,
kal_timer_cb  cb,
kal_arg_t  cb_data 
) [inline, static]

Definition at line 41 of file kal_timer_wheel.h.

References get_jiffies(), kal_timer_init(), and kal_timer_t::timer.

static int kal_timer_pending ( kal_timer_t p_timer  )  [inline, static]

Definition at line 70 of file kal_timer_wheel.h.

References kal_timer_t::timer, and timer_pending().

static void kal_timer_set ( kal_timer_t p_timer,
kal_time_t  t 
) [inline, static]

Definition at line 48 of file kal_timer_wheel.h.

References add_timer(), del_timer(), kal_time2jiffies(), and kal_timer_t::timer.

static void timer_callback ( unsigned long  cb_data  )  [static]
Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3