Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
rt.c File Reference
#include "sched.h"
#include <linux/slab.h>

Go to the source code of this file.

Macros

#define rt_entity_is_task(rt_se)   (1)
 
#define for_each_rt_rq(rt_rq, iter, rq)   for ((void) iter, rt_rq = &rq->rt; rt_rq; rt_rq = NULL)
 
#define for_each_leaf_rt_rq(rt_rq, rq)   for (rt_rq = &rq->rt; rt_rq; rt_rq = NULL)
 
#define for_each_sched_rt_entity(rt_se)   for (; rt_se; rt_se = NULL)
 

Typedefs

typedef struct rt_rqrt_rq_iter_t
 

Functions

void init_rt_bandwidth (struct rt_bandwidth *rt_b, u64 period, u64 runtime)
 
void init_rt_rq (struct rt_rq *rt_rq, struct rq *rq)
 
void free_rt_sched_group (struct task_group *tg)
 
int alloc_rt_sched_group (struct task_group *tg, struct task_group *parent)
 

Variables

struct rt_bandwidth def_rt_bandwidth
 
struct sched_class rt_sched_class
 

Macro Definition Documentation

#define for_each_leaf_rt_rq (   rt_rq,
  rq 
)    for (rt_rq = &rq->rt; rt_rq; rt_rq = NULL)

Definition at line 518 of file rt.c.

#define for_each_rt_rq (   rt_rq,
  iter,
  rq 
)    for ((void) iter, rt_rq = &rq->rt; rt_rq; rt_rq = NULL)

Definition at line 507 of file rt.c.

#define for_each_sched_rt_entity (   rt_se)    for (; rt_se; rt_se = NULL)

Definition at line 521 of file rt.c.

#define rt_entity_is_task (   rt_se)    (1)

Definition at line 200 of file rt.c.

Typedef Documentation

Definition at line 505 of file rt.c.

Function Documentation

int alloc_rt_sched_group ( struct task_group *  tg,
struct task_group *  parent 
)

Definition at line 222 of file rt.c.

void free_rt_sched_group ( struct task_group *  tg)

Definition at line 220 of file rt.c.

void init_rt_bandwidth ( struct rt_bandwidth rt_b,
u64  period,
u64  runtime 
)

Definition at line 35 of file rt.c.

void init_rt_rq ( struct rt_rq rt_rq,
struct rq rq 
)

Definition at line 60 of file rt.c.

Variable Documentation

struct rt_bandwidth def_rt_bandwidth

Definition at line 12 of file rt.c.

struct sched_class rt_sched_class

Definition at line 2049 of file rt.c.