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

#include <sched.h>

Data Fields

volatile long state
 
voidstack
 
atomic_t usage
 
unsigned int flags
 
unsigned int ptrace
 
int on_rq
 
int prio
 
int static_prio
 
int normal_prio
 
unsigned int rt_priority
 
struct sched_classsched_class
 
struct sched_entity se
 
struct sched_rt_entity rt
 
unsigned char fpu_counter
 
unsigned int policy
 
int nr_cpus_allowed
 
cpumask_t cpus_allowed
 
struct list_head tasks
 
struct mm_structmm
 
struct mm_structactive_mm
 
int exit_state
 
int exit_code
 
int exit_signal
 
int pdeath_signal
 
unsigned int jobctl
 
unsigned int personality
 
unsigned did_exec:1
 
unsigned in_execve:1
 
unsigned in_iowait:1
 
unsigned no_new_privs:1
 
unsigned sched_reset_on_fork:1
 
unsigned sched_contributes_to_load:1
 
pid_t pid
 
pid_t tgid
 
struct task_struct __rcureal_parent
 
struct task_struct __rcuparent
 
struct list_head children
 
struct list_head sibling
 
struct task_structgroup_leader
 
struct list_head ptraced
 
struct list_head ptrace_entry
 
struct pid_link pids [PIDTYPE_MAX]
 
struct list_head thread_group
 
struct completionvfork_done
 
int __userset_child_tid
 
int __userclear_child_tid
 
cputime_t utime
 
cputime_t stime
 
cputime_t utimescaled
 
cputime_t stimescaled
 
cputime_t gtime
 
cputime_t prev_utime
 
cputime_t prev_stime
 
unsigned long nvcsw
 
unsigned long nivcsw
 
struct timespec start_time
 
struct timespec real_start_time
 
unsigned long min_flt
 
unsigned long maj_flt
 
struct task_cputime cputime_expires
 
struct list_head cpu_timers [3]
 
struct cred __rcureal_cred
 
struct cred __rcucred
 
char comm [TASK_COMM_LEN]
 
int link_count
 
int total_link_count
 
struct thread_struct thread
 
struct fs_structfs
 
struct files_structfiles
 
struct nsproxynsproxy
 
struct signal_structsignal
 
struct sighand_structsighand
 
sigset_t blocked
 
sigset_t real_blocked
 
sigset_t saved_sigmask
 
struct sigpending pending
 
unsigned long sas_ss_sp
 
size_t sas_ss_size
 
int(* notifier )(void *priv)
 
voidnotifier_data
 
sigset_tnotifier_mask
 
struct callback_headtask_works
 
struct audit_contextaudit_context
 
struct seccomp seccomp
 
u32 parent_exec_id
 
u32 self_exec_id
 
spinlock_t alloc_lock
 
raw_spinlock_t pi_lock
 
voidjournal_info
 
struct bio_list * bio_list
 
struct reclaim_statereclaim_state
 
struct backing_dev_infobacking_dev_info
 
struct io_contextio_context
 
unsigned long ptrace_message
 
siginfo_tlast_siginfo
 
struct task_io_accounting ioac
 
struct rcu_head rcu
 
struct pipe_inode_infosplice_pipe
 
struct page_frag task_frag
 
int nr_dirtied
 
int nr_dirtied_pause
 
unsigned long dirty_paused_when
 
unsigned long timer_slack_ns
 
unsigned long default_timer_slack_ns
 

Detailed Description

Definition at line 1190 of file sched.h.

Field Documentation

struct mm_struct * active_mm

Definition at line 1255 of file sched.h.

spinlock_t alloc_lock

Definition at line 1386 of file sched.h.

Definition at line 1374 of file sched.h.

Definition at line 1440 of file sched.h.

struct bio_list* bio_list

Definition at line 1430 of file sched.h.

sigset_t blocked

Definition at line 1363 of file sched.h.

struct list_head children

Definition at line 1298 of file sched.h.

int __user* clear_child_tid

Definition at line 1316 of file sched.h.

Definition at line 1337 of file sched.h.

struct list_head cpu_timers[3]

Definition at line 1330 of file sched.h.

cpumask_t cpus_allowed

Definition at line 1232 of file sched.h.

struct task_cputime cputime_expires

Definition at line 1329 of file sched.h.

Definition at line 1335 of file sched.h.

unsigned long default_timer_slack_ns

Definition at line 1514 of file sched.h.

unsigned did_exec

Definition at line 1269 of file sched.h.

unsigned long dirty_paused_when

Definition at line 1503 of file sched.h.

int exit_code

Definition at line 1264 of file sched.h.

int exit_signal

Definition at line 1264 of file sched.h.

int exit_state

Definition at line 1263 of file sched.h.

Definition at line 1356 of file sched.h.

unsigned int flags

Definition at line 1194 of file sched.h.

unsigned char fpu_counter

Definition at line 1225 of file sched.h.

Definition at line 1354 of file sched.h.

struct task_struct* group_leader

Definition at line 1300 of file sched.h.

cputime_t gtime

Definition at line 1319 of file sched.h.

unsigned in_execve

Definition at line 1270 of file sched.h.

unsigned in_iowait

Definition at line 1272 of file sched.h.

Definition at line 1442 of file sched.h.

Definition at line 1446 of file sched.h.

unsigned int jobctl

Definition at line 1266 of file sched.h.

void* journal_info

Definition at line 1427 of file sched.h.

siginfo_t* last_siginfo

Definition at line 1445 of file sched.h.

int link_count

Definition at line 1342 of file sched.h.

unsigned long maj_flt

Definition at line 1327 of file sched.h.

unsigned long min_flt

Definition at line 1327 of file sched.h.

Definition at line 1255 of file sched.h.

unsigned long nivcsw

Definition at line 1323 of file sched.h.

unsigned no_new_privs

Definition at line 1275 of file sched.h.

int normal_prio

Definition at line 1203 of file sched.h.

int(* notifier)(void *priv)

Definition at line 1369 of file sched.h.

void* notifier_data

Definition at line 1370 of file sched.h.

sigset_t* notifier_mask

Definition at line 1371 of file sched.h.

int nr_cpus_allowed

Definition at line 1231 of file sched.h.

int nr_dirtied

Definition at line 1501 of file sched.h.

int nr_dirtied_pause

Definition at line 1502 of file sched.h.

Definition at line 1358 of file sched.h.

unsigned long nvcsw

Definition at line 1323 of file sched.h.

int on_rq

Definition at line 1201 of file sched.h.

Definition at line 1294 of file sched.h.

u32 parent_exec_id

Definition at line 1382 of file sched.h.

int pdeath_signal

Definition at line 1265 of file sched.h.

struct sigpending pending

Definition at line 1365 of file sched.h.

unsigned int personality

Definition at line 1268 of file sched.h.

raw_spinlock_t pi_lock

Definition at line 1389 of file sched.h.

Definition at line 1281 of file sched.h.

Definition at line 1311 of file sched.h.

unsigned int policy

Definition at line 1230 of file sched.h.

cputime_t prev_stime

Definition at line 1321 of file sched.h.

cputime_t prev_utime

Definition at line 1321 of file sched.h.

int prio

Definition at line 1203 of file sched.h.

unsigned int ptrace

Definition at line 1195 of file sched.h.

struct list_head ptrace_entry

Definition at line 1308 of file sched.h.

unsigned long ptrace_message

Definition at line 1444 of file sched.h.

struct list_head ptraced

Definition at line 1307 of file sched.h.

Definition at line 1482 of file sched.h.

sigset_t real_blocked

Definition at line 1363 of file sched.h.

struct cred __rcu* real_cred

Definition at line 1333 of file sched.h.

struct task_struct __rcu* real_parent

Definition at line 1293 of file sched.h.

struct timespec real_start_time

Definition at line 1325 of file sched.h.

Definition at line 1438 of file sched.h.

Definition at line 1207 of file sched.h.

unsigned int rt_priority

Definition at line 1204 of file sched.h.

size_t sas_ss_size

Definition at line 1368 of file sched.h.

unsigned long sas_ss_sp

Definition at line 1367 of file sched.h.

sigset_t saved_sigmask

Definition at line 1364 of file sched.h.

Definition at line 1205 of file sched.h.

unsigned sched_contributes_to_load

Definition at line 1279 of file sched.h.

unsigned sched_reset_on_fork

Definition at line 1278 of file sched.h.

Definition at line 1206 of file sched.h.

Definition at line 1379 of file sched.h.

u32 self_exec_id

Definition at line 1383 of file sched.h.

int __user* set_child_tid

Definition at line 1315 of file sched.h.

struct list_head sibling

Definition at line 1299 of file sched.h.

Definition at line 1361 of file sched.h.

Definition at line 1360 of file sched.h.

struct pipe_inode_info* splice_pipe

Definition at line 1487 of file sched.h.

Definition at line 1192 of file sched.h.

struct timespec start_time

Definition at line 1324 of file sched.h.

volatile long state

Definition at line 1191 of file sched.h.

int static_prio

Definition at line 1203 of file sched.h.

cputime_t stime

Definition at line 1318 of file sched.h.

cputime_t stimescaled

Definition at line 1318 of file sched.h.

struct page_frag task_frag

Definition at line 1489 of file sched.h.

struct callback_head* task_works

Definition at line 1372 of file sched.h.

Definition at line 1250 of file sched.h.

pid_t tgid

Definition at line 1282 of file sched.h.

Definition at line 1352 of file sched.h.

struct list_head thread_group

Definition at line 1312 of file sched.h.

unsigned long timer_slack_ns

Definition at line 1513 of file sched.h.

int total_link_count

Definition at line 1342 of file sched.h.

atomic_t usage

Definition at line 1193 of file sched.h.

cputime_t utime

Definition at line 1318 of file sched.h.

cputime_t utimescaled

Definition at line 1318 of file sched.h.

struct completion* vfork_done

Definition at line 1314 of file sched.h.


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