Lines Matching defs:task_struct

1237 struct task_struct {  struct
1238 volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */
1239 void *stack;
1240 atomic_t usage;
1241 unsigned int flags; /* per process flags, defined below */
1242 unsigned int ptrace;
1245 struct llist_node wake_entry;
1246 int on_cpu;
1248 int on_rq;
1250 int prio, static_prio, normal_prio;
1251 unsigned int rt_priority;
1252 const struct sched_class *sched_class;
1253 struct sched_entity se;
1254 struct sched_rt_entity rt;
1258 struct hlist_head preempt_notifiers;
1269 unsigned char fpu_counter;
1271 unsigned int btrace_seq;
1274 unsigned int policy;
1275 cpumask_t cpus_allowed;
1278 int rcu_read_lock_nesting;
1279 char rcu_read_unlock_special;
1280 struct list_head rcu_node_entry;
1283 struct rcu_node *rcu_blocked_node;
1286 struct rt_mutex *rcu_boost_mutex;
1290 struct sched_info sched_info;
1293 struct list_head tasks;
1295 struct plist_node pushable_tasks;
1298 struct mm_struct *mm, *active_mm;
1300 unsigned brk_randomized:1;
1303 struct task_rss_stat rss_stat;
1306 int exit_state;
1307 int exit_code, exit_signal;
1308 int pdeath_signal; /* The signal sent when the parent dies */
1309 unsigned int jobctl; /* JOBCTL_*, siglock protected */
1311 unsigned int personality;
1335 struct task_struct __rcu *real_parent; /* real parent process */ argument
1336 struct task_struct __rcu *parent; /* recipient of SIGCHLD, wait4() reports */ argument
1342 struct task_struct *group_leader; /* threadgroup leader */ argument
1349 struct list_head ptraced;
1350 struct list_head ptrace_entry;
1353 struct pid_link pids[PIDTYPE_MAX];
1354 struct list_head thread_group;
1356 struct completion *vfork_done; /* for vfork() */
1357 int __user *set_child_tid; /* CLONE_CHILD_SETTID */
1358 int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */
1360 cputime_t utime, stime, utimescaled, stimescaled;
1361 cputime_t gtime;
1363 cputime_t prev_utime, prev_stime;
1365 unsigned long nvcsw, nivcsw; /* context switch counts */
1366 struct timespec start_time; /* monotonic time */
1367 struct timespec real_start_time; /* boot based time */
1369 unsigned long min_flt, maj_flt;
1371 struct task_cputime cputime_expires;
1372 struct list_head cpu_timers[3];
1375 const struct cred __rcu *real_cred; /* objective and real subjective task
1377 const struct cred __rcu *cred; /* effective (overridable) subjective task
1379 struct cred *replacement_session_keyring; /* for KEYCTL_SESSION_TO_PARENT */
1381 char comm[TASK_COMM_LEN]; /* executable name excluding path
1386 int link_count, total_link_count;
1389 struct sysv_sem sysvsem;
1393 unsigned long last_switch_count;
1396 struct thread_struct thread;
1398 struct fs_struct *fs;
1400 struct files_struct *files;
1402 struct nsproxy *nsproxy;
1404 struct signal_struct *signal;
1405 struct sighand_struct *sighand;
1407 sigset_t blocked, real_blocked;
1408 sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
1409 struct sigpending pending;
1411 unsigned long sas_ss_sp;
1412 size_t sas_ss_size;
1413 int (*notifier)(void *priv);
1414 void *notifier_data;
1415 sigset_t *notifier_mask;
1416 struct audit_context *audit_context;
1418 uid_t loginuid;
1419 unsigned int sessionid;
1421 seccomp_t seccomp;
1424 u32 parent_exec_id;
1425 u32 self_exec_id;
1428 spinlock_t alloc_lock;
1432 struct irqaction *irqaction;
1436 raw_spinlock_t pi_lock;
1440 struct plist_head pi_waiters;
1442 struct rt_mutex_waiter *pi_blocked_on;
1447 struct mutex_waiter *blocked_on;
1450 unsigned int irq_events;
1451 unsigned long hardirq_enable_ip;
1452 unsigned long hardirq_disable_ip;
1453 unsigned int hardirq_enable_event;
1454 unsigned int hardirq_disable_event;
1455 int hardirqs_enabled;
1456 int hardirq_context;
1457 unsigned long softirq_disable_ip;
1458 unsigned long softirq_enable_ip;
1459 unsigned int softirq_disable_event;
1460 unsigned int softirq_enable_event;
1461 int softirqs_enabled;
1462 int softirq_context;
1466 u64 curr_chain_key;
1467 int lockdep_depth;
1468 unsigned int lockdep_recursion;
1469 struct held_lock held_locks[MAX_LOCK_DEPTH];
1470 gfp_t lockdep_reclaim_gfp;
1474 void *journal_info;
1477 struct bio_list *bio_list;
1481 struct blk_plug *plug;
1485 struct reclaim_state *reclaim_state;
1487 struct backing_dev_info *backing_dev_info;
1489 struct io_context *io_context;
1491 unsigned long ptrace_message;
1492 siginfo_t *last_siginfo; /* For ptrace use. */
1493 struct task_io_accounting ioac;
1495 u64 acct_rss_mem1; /* accumulated rss usage */
1496 u64 acct_vm_mem1; /* accumulated virtual memory usage */
1497 cputime_t acct_timexpd; /* stime + utime since last update */
1500 nodemask_t mems_allowed; /* Protected by alloc_lock */
1501 int mems_allowed_change_disable;
1502 int cpuset_mem_spread_rotor;
1503 int cpuset_slab_spread_rotor;
1507 struct css_set __rcu *cgroups;
1509 struct list_head cg_list;
1512 struct robust_list_head __user *robust_list;
1514 struct compat_robust_list_head __user *compat_robust_list;
1516 struct list_head pi_state_list;
1517 struct futex_pi_state *pi_state_cache;
1520 struct perf_event_context *perf_event_ctxp[perf_nr_task_contexts];
1521 struct mutex perf_event_mutex;
1522 struct list_head perf_event_list;
1525 struct mempolicy *mempolicy; /* Protected by alloc_lock */
1526 short il_next;
1527 short pref_node_fork;
1529 struct rcu_head rcu;
1534 struct pipe_inode_info *splice_pipe;
1536 struct task_delay_info *delays;
1539 int make_it_fail;
1545 int nr_dirtied;
1546 int nr_dirtied_pause;
1547 unsigned long dirty_paused_when; /* start of a write-and-pause period */
1550 int latency_record_count;
1551 struct latency_record latency_record[LT_SAVECOUNT];
1557 unsigned long timer_slack_ns;
1558 unsigned long default_timer_slack_ns;
1560 struct list_head *scm_work_list;
1563 int curr_ret_stack;
1565 struct ftrace_ret_stack *ret_stack;
1567 unsigned long long ftrace_timestamp;
1595 /* Future-safe accessor for struct task_struct's cpus_allowed. */ argument