Lines Matching defs:task_struct
1380 struct task_struct { struct
1392 struct task_struct *last_wakee; argument
1394 int wake_cpu;
1396 int on_rq;
1398 int prio, static_prio, normal_prio;
1399 unsigned int rt_priority;
1400 const struct sched_class *sched_class;
1401 struct sched_entity se;
1402 struct sched_rt_entity rt;
1404 struct task_group *sched_task_group;
1406 struct sched_dl_entity dl;
1410 struct hlist_head preempt_notifiers;
1414 unsigned int btrace_seq;
1417 unsigned int policy;
1418 int nr_cpus_allowed;
1419 cpumask_t cpus_allowed;
1422 int rcu_read_lock_nesting;
1423 union rcu_special rcu_read_unlock_special;
1424 struct list_head rcu_node_entry;
1425 struct rcu_node *rcu_blocked_node;
1428 unsigned long rcu_tasks_nvcsw;
1429 bool rcu_tasks_holdout;
1430 struct list_head rcu_tasks_holdout_list;
1431 int rcu_tasks_idle_cpu;
1435 struct sched_info sched_info;
1438 struct list_head tasks;
1440 struct plist_node pushable_tasks;
1441 struct rb_node pushable_dl_tasks;
1444 struct mm_struct *mm, *active_mm;
1446 u32 vmacache_seqnum;
1447 struct vm_area_struct *vmacache[VMACACHE_SIZE];
1449 struct task_rss_stat rss_stat;
1452 int exit_state;
1453 int exit_code, exit_signal;
1454 int pdeath_signal; /* The signal sent when the parent dies */
1455 unsigned long jobctl; /* JOBCTL_*, siglock protected */
1458 unsigned int personality;
1461 unsigned sched_reset_on_fork:1;
1462 unsigned sched_contributes_to_load:1;
1463 unsigned sched_migrated:1;
1467 unsigned in_execve:1; /* bit to tell LSMs we're in execve */
1468 unsigned in_iowait:1;
1470 unsigned memcg_may_oom:1;
1495 struct task_struct __rcu *real_parent; /* real parent process */ argument
1496 struct task_struct __rcu *parent; /* recipient of SIGCHLD, wait4() reports */ argument
1502 struct task_struct *group_leader; /* threadgroup leader */ argument
1509 struct list_head ptraced;
1510 struct list_head ptrace_entry;
1513 struct pid_link pids[PIDTYPE_MAX];
1514 struct list_head thread_group;
1515 struct list_head thread_node;
1517 struct completion *vfork_done; /* for vfork() */
1518 int __user *set_child_tid; /* CLONE_CHILD_SETTID */
1519 int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */
1521 cputime_t utime, stime, utimescaled, stimescaled;
1522 cputime_t gtime;
1523 struct prev_cputime prev_cputime;
1525 seqlock_t vtime_seqlock;
1526 unsigned long long vtime_snap;
1527 enum {
1531 } vtime_snap_whence;
1533 unsigned long nvcsw, nivcsw; /* context switch counts */
1534 u64 start_time; /* monotonic time in nsec */
1535 u64 real_start_time; /* boot based time in nsec */
1537 unsigned long min_flt, maj_flt;
1539 struct task_cputime cputime_expires;
1540 struct list_head cpu_timers[3];
1543 const struct cred __rcu *real_cred; /* objective and real subjective task
1545 const struct cred __rcu *cred; /* effective (overridable) subjective task
1547 char comm[TASK_COMM_LEN]; /* executable name excluding path
1552 struct nameidata *nameidata;
1555 struct sysv_sem sysvsem;
1556 struct sysv_shm sysvshm;
1560 unsigned long last_switch_count;
1563 struct fs_struct *fs;
1565 struct files_struct *files;
1567 struct nsproxy *nsproxy;
1569 struct signal_struct *signal;
1570 struct sighand_struct *sighand;
1572 sigset_t blocked, real_blocked;
1573 sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
1574 struct sigpending pending;
1576 unsigned long sas_ss_sp;
1577 size_t sas_ss_size;
1579 struct callback_head *task_works;
1581 struct audit_context *audit_context;
1583 kuid_t loginuid;
1584 unsigned int sessionid;
1586 struct seccomp seccomp;
1589 u32 parent_exec_id;
1590 u32 self_exec_id;
1593 spinlock_t alloc_lock;
1596 raw_spinlock_t pi_lock;
1598 struct wake_q_node wake_q;
1602 struct rb_root pi_waiters;
1603 struct rb_node *pi_waiters_leftmost;
1605 struct rt_mutex_waiter *pi_blocked_on;
1610 struct mutex_waiter *blocked_on;
1613 unsigned int irq_events;
1614 unsigned long hardirq_enable_ip;
1615 unsigned long hardirq_disable_ip;
1616 unsigned int hardirq_enable_event;
1617 unsigned int hardirq_disable_event;
1618 int hardirqs_enabled;
1619 int hardirq_context;
1620 unsigned long softirq_disable_ip;
1621 unsigned long softirq_enable_ip;
1622 unsigned int softirq_disable_event;
1623 unsigned int softirq_enable_event;
1624 int softirqs_enabled;
1625 int softirq_context;
1629 u64 curr_chain_key;
1630 int lockdep_depth;
1631 unsigned int lockdep_recursion;
1632 struct held_lock held_locks[MAX_LOCK_DEPTH];
1633 gfp_t lockdep_reclaim_gfp;
1637 void *journal_info;
1640 struct bio_list *bio_list;
1644 struct blk_plug *plug;
1648 struct reclaim_state *reclaim_state;
1650 struct backing_dev_info *backing_dev_info;
1652 struct io_context *io_context;
1654 unsigned long ptrace_message;
1655 siginfo_t *last_siginfo; /* For ptrace use. */
1656 struct task_io_accounting ioac;
1658 u64 acct_rss_mem1; /* accumulated rss usage */
1659 u64 acct_vm_mem1; /* accumulated virtual memory usage */
1660 cputime_t acct_timexpd; /* stime + utime since last update */
1663 nodemask_t mems_allowed; /* Protected by alloc_lock */
1664 seqcount_t mems_allowed_seq; /* Seqence no to catch updates */
1665 int cpuset_mem_spread_rotor;
1666 int cpuset_slab_spread_rotor;
1670 struct css_set __rcu *cgroups;
1672 struct list_head cg_list;
1675 struct robust_list_head __user *robust_list;
1677 struct compat_robust_list_head __user *compat_robust_list;
1679 struct list_head pi_state_list;
1680 struct futex_pi_state *pi_state_cache;
1683 struct perf_event_context *perf_event_ctxp[perf_nr_task_contexts];
1684 struct mutex perf_event_mutex;
1685 struct list_head perf_event_list;
1688 unsigned long preempt_disable_ip;
1691 struct mempolicy *mempolicy; /* Protected by alloc_lock */
1692 short il_next;
1693 short pref_node_fork;
1696 int numa_scan_seq;
1697 unsigned int numa_scan_period;
1698 unsigned int numa_scan_period_max;
1699 int numa_preferred_nid;
1700 unsigned long numa_migrate_retry;
1701 u64 node_stamp; /* migration stamp */
1702 u64 last_task_numa_placement;
1703 u64 last_sum_exec_runtime;
1704 struct callback_head numa_work;
1706 struct list_head numa_entry;
1707 struct numa_group *numa_group;
1723 unsigned long *numa_faults;
1724 unsigned long total_numa_faults;
1732 unsigned long numa_faults_locality[3];
1734 unsigned long numa_pages_migrated;
1738 struct tlbflush_unmap_batch tlb_ubc;
1741 struct rcu_head rcu;
1746 struct pipe_inode_info *splice_pipe;
1748 struct page_frag task_frag;
1751 struct task_delay_info *delays;
1754 int make_it_fail;
1760 int nr_dirtied;
1761 int nr_dirtied_pause;
1762 unsigned long dirty_paused_when; /* start of a write-and-pause period */
1765 int latency_record_count;
1766 struct latency_record latency_record[LT_SAVECOUNT];
1772 unsigned long timer_slack_ns;
1773 unsigned long default_timer_slack_ns;
1776 unsigned int kasan_depth;
1780 int curr_ret_stack;
1782 struct ftrace_ret_stack *ret_stack;
1784 unsigned long long ftrace_timestamp;
1789 atomic_t trace_overrun;
1791 atomic_t tracing_graph_pause;
1795 unsigned long trace;
1797 unsigned long trace_recursion;
1822 * structure. It *MUST* be at the end of 'task_struct'. argument