Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sched_class Struct Reference

#include <sched.h>

Data Fields

struct sched_classnext
 
void(* enqueue_task )(struct rq *rq, struct task_struct *p, int flags)
 
void(* dequeue_task )(struct rq *rq, struct task_struct *p, int flags)
 
void(* yield_task )(struct rq *rq)
 
bool(* yield_to_task )(struct rq *rq, struct task_struct *p, bool preempt)
 
void(* check_preempt_curr )(struct rq *rq, struct task_struct *p, int flags)
 
struct task_struct *(* pick_next_task )(struct rq *rq)
 
void(* put_prev_task )(struct rq *rq, struct task_struct *p)
 
void(* set_curr_task )(struct rq *rq)
 
void(* task_tick )(struct rq *rq, struct task_struct *p, int queued)
 
void(* task_fork )(struct task_struct *p)
 
void(* switched_from )(struct rq *this_rq, struct task_struct *task)
 
void(* switched_to )(struct rq *this_rq, struct task_struct *task)
 
void(* prio_changed )(struct rq *this_rq, struct task_struct *task, int oldprio)
 
unsigned int(* get_rr_interval )(struct rq *rq, struct task_struct *task)
 

Detailed Description

Definition at line 1049 of file sched.h.

Field Documentation

void(* check_preempt_curr)(struct rq *rq, struct task_struct *p, int flags)

Definition at line 1057 of file sched.h.

void(* dequeue_task)(struct rq *rq, struct task_struct *p, int flags)

Definition at line 1053 of file sched.h.

void(* enqueue_task)(struct rq *rq, struct task_struct *p, int flags)

Definition at line 1052 of file sched.h.

unsigned int(* get_rr_interval)(struct rq *rq, struct task_struct *task)

Definition at line 1086 of file sched.h.

Definition at line 1050 of file sched.h.

struct task_struct*(* pick_next_task)(struct rq *rq)
read

Definition at line 1059 of file sched.h.

void(* prio_changed)(struct rq *this_rq, struct task_struct *task, int oldprio)

Definition at line 1083 of file sched.h.

void(* put_prev_task)(struct rq *rq, struct task_struct *p)

Definition at line 1060 of file sched.h.

void(* set_curr_task)(struct rq *rq)

Definition at line 1077 of file sched.h.

void(* switched_from)(struct rq *this_rq, struct task_struct *task)

Definition at line 1081 of file sched.h.

void(* switched_to)(struct rq *this_rq, struct task_struct *task)

Definition at line 1082 of file sched.h.

void(* task_fork)(struct task_struct *p)

Definition at line 1079 of file sched.h.

void(* task_tick)(struct rq *rq, struct task_struct *p, int queued)

Definition at line 1078 of file sched.h.

void(* yield_task)(struct rq *rq)

Definition at line 1054 of file sched.h.

bool(* yield_to_task)(struct rq *rq, struct task_struct *p, bool preempt)

Definition at line 1055 of file sched.h.


The documentation for this struct was generated from the following file: