Lines Matching defs:task_struct
1293 struct task_struct { struct
1303 struct task_struct *last_wakee; argument
1304 unsigned long wakee_flips;
1305 unsigned long wakee_flip_decay_ts;
1307 int wake_cpu;
1309 int on_rq;
1311 int prio, static_prio, normal_prio;
1312 unsigned int rt_priority;
1313 const struct sched_class *sched_class;
1314 struct sched_entity se;
1315 struct sched_rt_entity rt;
1317 struct task_group *sched_task_group;
1319 struct sched_dl_entity dl;
1323 struct hlist_head preempt_notifiers;
1327 unsigned int btrace_seq;
1330 unsigned int policy;
1331 int nr_cpus_allowed;
1332 cpumask_t cpus_allowed;
1335 int rcu_read_lock_nesting;
1336 union rcu_special rcu_read_unlock_special;
1337 struct list_head rcu_node_entry;
1340 struct rcu_node *rcu_blocked_node;
1343 unsigned long rcu_tasks_nvcsw;
1344 bool rcu_tasks_holdout;
1345 struct list_head rcu_tasks_holdout_list;
1346 int rcu_tasks_idle_cpu;
1350 struct sched_info sched_info;
1353 struct list_head tasks;
1355 struct plist_node pushable_tasks;
1356 struct rb_node pushable_dl_tasks;
1359 struct mm_struct *mm, *active_mm;
1361 unsigned brk_randomized:1;
1364 u32 vmacache_seqnum;
1365 struct vm_area_struct *vmacache[VMACACHE_SIZE];
1367 struct task_rss_stat rss_stat;
1370 int exit_state;
1371 int exit_code, exit_signal;
1372 int pdeath_signal; /* The signal sent when the parent dies */
1373 unsigned int jobctl; /* JOBCTL_*, siglock protected */
1376 unsigned int personality;
1378 unsigned in_execve:1; /* Tell the LSMs that the process is doing an
1380 unsigned in_iowait:1;
1406 struct task_struct __rcu *real_parent; /* real parent process */ argument
1407 struct task_struct __rcu *parent; /* recipient of SIGCHLD, wait4() reports */ argument
1413 struct task_struct *group_leader; /* threadgroup leader */ argument
1420 struct list_head ptraced;
1421 struct list_head ptrace_entry;
1424 struct pid_link pids[PIDTYPE_MAX];
1425 struct list_head thread_group;
1426 struct list_head thread_node;
1428 struct completion *vfork_done; /* for vfork() */
1429 int __user *set_child_tid; /* CLONE_CHILD_SETTID */
1430 int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */
1432 cputime_t utime, stime, utimescaled, stimescaled;
1433 cputime_t gtime;
1435 struct cputime prev_cputime;
1438 seqlock_t vtime_seqlock;
1439 unsigned long long vtime_snap;
1440 enum {
1444 } vtime_snap_whence;
1446 unsigned long nvcsw, nivcsw; /* context switch counts */
1447 u64 start_time; /* monotonic time in nsec */
1448 u64 real_start_time; /* boot based time in nsec */
1450 unsigned long min_flt, maj_flt;
1452 struct task_cputime cputime_expires;
1453 struct list_head cpu_timers[3];
1456 const struct cred __rcu *real_cred; /* objective and real subjective task
1458 const struct cred __rcu *cred; /* effective (overridable) subjective task
1460 char comm[TASK_COMM_LEN]; /* executable name excluding path
1465 int link_count, total_link_count;
1468 struct sysv_sem sysvsem;
1469 struct sysv_shm sysvshm;
1473 unsigned long last_switch_count;
1476 struct thread_struct thread;
1478 struct fs_struct *fs;
1480 struct files_struct *files;
1482 struct nsproxy *nsproxy;
1484 struct signal_struct *signal;
1485 struct sighand_struct *sighand;
1487 sigset_t blocked, real_blocked;
1488 sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
1489 struct sigpending pending;
1491 unsigned long sas_ss_sp;
1492 size_t sas_ss_size;
1493 int (*notifier)(void *priv);
1494 void *notifier_data;
1495 sigset_t *notifier_mask;
1496 struct callback_head *task_works;
1498 struct audit_context *audit_context;
1500 kuid_t loginuid;
1501 unsigned int sessionid;
1503 struct seccomp seccomp;
1506 u32 parent_exec_id;
1507 u32 self_exec_id;
1510 spinlock_t alloc_lock;
1513 raw_spinlock_t pi_lock;
1517 struct rb_root pi_waiters;
1518 struct rb_node *pi_waiters_leftmost;
1520 struct rt_mutex_waiter *pi_blocked_on;
1525 struct mutex_waiter *blocked_on;
1528 unsigned int irq_events;
1529 unsigned long hardirq_enable_ip;
1530 unsigned long hardirq_disable_ip;
1531 unsigned int hardirq_enable_event;
1532 unsigned int hardirq_disable_event;
1533 int hardirqs_enabled;
1534 int hardirq_context;
1535 unsigned long softirq_disable_ip;
1536 unsigned long softirq_enable_ip;
1537 unsigned int softirq_disable_event;
1538 unsigned int softirq_enable_event;
1539 int softirqs_enabled;
1540 int softirq_context;
1544 u64 curr_chain_key;
1545 int lockdep_depth;
1546 unsigned int lockdep_recursion;
1547 struct held_lock held_locks[MAX_LOCK_DEPTH];
1548 gfp_t lockdep_reclaim_gfp;
1552 void *journal_info;
1555 struct bio_list *bio_list;
1559 struct blk_plug *plug;
1563 struct reclaim_state *reclaim_state;
1565 struct backing_dev_info *backing_dev_info;
1567 struct io_context *io_context;
1569 unsigned long ptrace_message;
1570 siginfo_t *last_siginfo; /* For ptrace use. */
1571 struct task_io_accounting ioac;
1573 u64 acct_rss_mem1; /* accumulated rss usage */
1574 u64 acct_vm_mem1; /* accumulated virtual memory usage */
1575 cputime_t acct_timexpd; /* stime + utime since last update */
1578 nodemask_t mems_allowed; /* Protected by alloc_lock */
1579 seqcount_t mems_allowed_seq; /* Seqence no to catch updates */
1580 int cpuset_mem_spread_rotor;
1581 int cpuset_slab_spread_rotor;
1585 struct css_set __rcu *cgroups;
1587 struct list_head cg_list;
1590 struct robust_list_head __user *robust_list;
1592 struct compat_robust_list_head __user *compat_robust_list;
1594 struct list_head pi_state_list;
1595 struct futex_pi_state *pi_state_cache;
1598 struct perf_event_context *perf_event_ctxp[perf_nr_task_contexts];
1599 struct mutex perf_event_mutex;
1600 struct list_head perf_event_list;
1603 unsigned long preempt_disable_ip;
1606 struct mempolicy *mempolicy; /* Protected by alloc_lock */
1607 short il_next;
1608 short pref_node_fork;
1611 int numa_scan_seq;
1612 unsigned int numa_scan_period;
1613 unsigned int numa_scan_period_max;
1614 int numa_preferred_nid;
1615 unsigned long numa_migrate_retry;
1616 u64 node_stamp; /* migration stamp */
1617 u64 last_task_numa_placement;
1618 u64 last_sum_exec_runtime;
1619 struct callback_head numa_work;
1621 struct list_head numa_entry;
1622 struct numa_group *numa_group;
1638 unsigned long *numa_faults;
1639 unsigned long total_numa_faults;
1647 unsigned long numa_faults_locality[3];
1649 unsigned long numa_pages_migrated;
1652 struct rcu_head rcu;
1657 struct pipe_inode_info *splice_pipe;
1659 struct page_frag task_frag;
1662 struct task_delay_info *delays;
1665 int make_it_fail;
1671 int nr_dirtied;
1672 int nr_dirtied_pause;
1673 unsigned long dirty_paused_when; /* start of a write-and-pause period */
1676 int latency_record_count;
1677 struct latency_record latency_record[LT_SAVECOUNT];
1683 unsigned long timer_slack_ns;
1684 unsigned long default_timer_slack_ns;
1687 unsigned int kasan_depth;
1691 int curr_ret_stack;
1693 struct ftrace_ret_stack *ret_stack;
1695 unsigned long long ftrace_timestamp;
1700 atomic_t trace_overrun;
1702 atomic_t tracing_graph_pause;
1706 unsigned long trace;
1730 /* Future-safe accessor for struct task_struct's cpus_allowed. */ argument