Lines Matching defs:task_struct

737 struct task_struct {  struct
753 * This begins the randomizable portion of task_struct. Only argument
769 struct task_struct *last_wakee; argument
778 int recent_used_cpu;
779 int wake_cpu;
781 int on_rq;
783 int prio;
784 int static_prio;
785 int normal_prio;
786 unsigned int rt_priority;
788 struct sched_entity se;
789 struct sched_rt_entity rt;
790 struct sched_dl_entity dl;
791 const struct sched_class *sched_class;
794 struct rb_node core_node;
795 unsigned long core_cookie;
796 unsigned int core_occupation;
800 struct task_group *sched_task_group;
808 struct uclamp_se uclamp_req[UCLAMP_CNT];
813 struct uclamp_se uclamp[UCLAMP_CNT];
816 struct sched_statistics stats;
820 struct hlist_head preempt_notifiers;
824 unsigned int btrace_seq;
827 unsigned int policy;
828 int nr_cpus_allowed;
829 const cpumask_t *cpus_ptr;
830 cpumask_t *user_cpus_ptr;
831 cpumask_t cpus_mask;
832 void *migration_pending;
834 unsigned short migration_disabled;
836 unsigned short migration_flags;
839 int rcu_read_lock_nesting;
840 union rcu_special rcu_read_unlock_special;
841 struct list_head rcu_node_entry;
842 struct rcu_node *rcu_blocked_node;
846 unsigned long rcu_tasks_nvcsw;
847 u8 rcu_tasks_holdout;
848 u8 rcu_tasks_idx;
849 int rcu_tasks_idle_cpu;
850 struct list_head rcu_tasks_holdout_list;
854 int trc_reader_nesting;
855 int trc_ipi_to_cpu;
856 union rcu_special trc_reader_special;
857 struct list_head trc_holdout_list;
858 struct list_head trc_blkd_node;
859 int trc_blkd_cpu;
862 struct sched_info sched_info;
864 struct list_head tasks;
866 struct plist_node pushable_tasks;
867 struct rb_node pushable_dl_tasks;
870 struct mm_struct *mm;
871 struct mm_struct *active_mm;
874 struct task_rss_stat rss_stat;
876 int exit_state;
877 int exit_code;
878 int exit_signal;
880 int pdeath_signal;
882 unsigned long jobctl;
885 unsigned int personality;
888 unsigned sched_reset_on_fork:1;
889 unsigned sched_contributes_to_load:1;
890 unsigned sched_migrated:1;
892 unsigned sched_psi_wake_requeue:1;
913 unsigned sched_remote_wakeup:1;
916 unsigned in_execve:1;
917 unsigned in_iowait:1;
919 unsigned restore_sigmask:1;
922 unsigned in_user_fault:1;
926 unsigned in_lru_fault:1;
929 unsigned brk_randomized:1;
933 unsigned no_cgroup_migration:1;
935 unsigned frozen:1;
938 unsigned use_memdelay:1;
942 unsigned in_memstall:1;
946 unsigned in_page_owner:1;
950 unsigned in_eventfd:1;
953 unsigned pasid_activated:1;
956 unsigned reported_split_lock:1;
981 struct task_struct __rcu *real_parent; argument
984 struct task_struct __rcu *parent; argument
991 struct task_struct *group_leader; argument
999 struct list_head ptraced;
1000 struct list_head ptrace_entry;
1003 struct pid *thread_pid;
1004 struct hlist_node pid_links[PIDTYPE_MAX];
1005 struct list_head thread_group;
1006 struct list_head thread_node;
1008 struct completion *vfork_done;
1011 int __user *set_child_tid;
1014 int __user *clear_child_tid;
1017 void *worker_private;
1019 u64 utime;
1020 u64 stime;
1022 u64 utimescaled;
1023 u64 stimescaled;
1025 u64 gtime;
1026 struct prev_cputime prev_cputime;
1028 struct vtime vtime;
1032 atomic_t tick_dep_mask;
1035 unsigned long nvcsw;
1036 unsigned long nivcsw;
1039 u64 start_time;
1042 u64 start_boottime;
1045 unsigned long min_flt;
1046 unsigned long maj_flt;
1049 struct posix_cputimers posix_cputimers;
1052 struct posix_cputimers_work posix_cputimers_work;
1058 const struct cred __rcu *ptracer_cred;
1061 const struct cred __rcu *real_cred;
1064 const struct cred __rcu *cred;
1068 struct key *cached_requested_key;
1078 char comm[TASK_COMM_LEN];
1080 struct nameidata *nameidata;
1083 struct sysv_sem sysvsem;
1084 struct sysv_shm sysvshm;
1087 unsigned long last_switch_count;
1088 unsigned long last_switch_time;
1091 struct fs_struct *fs;
1094 struct files_struct *files;
1097 struct io_uring_task *io_uring;
1101 struct nsproxy *nsproxy;
1104 struct signal_struct *signal;
1105 struct sighand_struct __rcu *sighand;
1106 sigset_t blocked;
1107 sigset_t real_blocked;
1109 sigset_t saved_sigmask;
1110 struct sigpending pending;
1111 unsigned long sas_ss_sp;
1112 size_t sas_ss_size;
1113 unsigned int sas_ss_flags;
1115 struct callback_head *task_works;
1119 struct audit_context *audit_context;
1143 struct task_struct *pi_top_task; argument
1145 struct rt_mutex_waiter *pi_blocked_on;
1150 struct mutex_waiter *blocked_on;
1154 int non_block_count;
1158 struct irqtrace_events irqtrace;
1159 unsigned int hardirq_threaded;
1160 u64 hardirq_chain_key;
1161 int softirqs_enabled;
1162 int softirq_context;
1163 int irq_config;
1166 int softirq_disable_cnt;
1171 u64 curr_chain_key;
1172 int lockdep_depth;
1173 unsigned int lockdep_recursion;
1174 struct held_lock held_locks[MAX_LOCK_DEPTH];
1178 unsigned int in_ubsan;
1182 void *journal_info;
1185 struct bio_list *bio_list;
1188 struct blk_plug *plug;
1191 struct reclaim_state *reclaim_state;
1193 struct backing_dev_info *backing_dev_info;
1195 struct io_context *io_context;
1198 struct capture_control *capture_control;
1201 unsigned long ptrace_message;
1202 kernel_siginfo_t *last_siginfo;
1204 struct task_io_accounting ioac;
1207 unsigned int psi_flags;
1211 u64 acct_rss_mem1;
1213 u64 acct_vm_mem1;
1215 u64 acct_timexpd;
1219 nodemask_t mems_allowed;
1221 seqcount_spinlock_t mems_allowed_seq;
1222 int cpuset_mem_spread_rotor;
1223 int cpuset_slab_spread_rotor;
1227 struct css_set __rcu *cgroups;
1229 struct list_head cg_list;
1232 u32 closid;
1233 u32 rmid;
1236 struct robust_list_head __user *robust_list;
1238 struct compat_robust_list_head __user *compat_robust_list;
1240 struct list_head pi_state_list;
1241 struct futex_pi_state *pi_state_cache;
1242 struct mutex futex_exit_mutex;
1243 unsigned int futex_state;
1246 struct perf_event_context *perf_event_ctxp[perf_nr_task_contexts];
1247 struct mutex perf_event_mutex;
1248 struct list_head perf_event_list;
1251 unsigned long preempt_disable_ip;
1255 struct mempolicy *mempolicy;
1256 short il_prev;
1257 short pref_node_fork;
1260 int numa_scan_seq;
1261 unsigned int numa_scan_period;
1262 unsigned int numa_scan_period_max;
1263 int numa_preferred_nid;
1264 unsigned long numa_migrate_retry;
1266 u64 node_stamp;
1267 u64 last_task_numa_placement;
1268 u64 last_sum_exec_runtime;
1269 struct callback_head numa_work;
1279 struct numa_group __rcu *numa_group;
1295 unsigned long *numa_faults;
1296 unsigned long total_numa_faults;
1304 unsigned long numa_faults_locality[3];
1306 unsigned long numa_pages_migrated;
1310 struct rseq __user *rseq;
1311 u32 rseq_sig;
1316 unsigned long rseq_event_mask;
1319 struct tlbflush_unmap_batch tlb_ubc;
1321 union {
1327 struct pipe_inode_info *splice_pipe;
1329 struct page_frag task_frag;
1332 struct task_delay_info *delays;
1336 int make_it_fail;
1337 unsigned int fail_nth;
1343 int nr_dirtied;
1344 int nr_dirtied_pause;
1346 unsigned long dirty_paused_when;
1349 int latency_record_count;
1350 struct latency_record latency_record[LT_SAVECOUNT];
1356 u64 timer_slack_ns;
1357 u64 default_timer_slack_ns;
1360 unsigned int kasan_depth;
1364 struct kcsan_ctx kcsan_ctx;
1366 struct irqtrace_events kcsan_save_irqtrace;
1369 int kcsan_stack_depth;
1374 struct kmsan_ctx kmsan_ctx;
1378 struct kunit *kunit_test;
1383 int curr_ret_stack;
1384 int curr_ret_depth;
1387 struct ftrace_ret_stack *ret_stack;
1390 unsigned long long ftrace_timestamp;
1396 atomic_t trace_overrun;
1399 atomic_t tracing_graph_pause;
1404 unsigned long trace_recursion;
1411 unsigned int kcov_mode;
1414 unsigned int kcov_size;
1417 void *kcov_area;
1420 struct kcov *kcov;
1423 u64 kcov_handle;
1426 int kcov_sequence;
1429 unsigned int kcov_softirq;
1433 struct mem_cgroup *memcg_in_oom;
1434 gfp_t memcg_oom_gfp_mask;
1435 int memcg_oom_order;
1438 unsigned int memcg_nr_pages_over_high;
1464 struct task_struct *oom_reaper_list; argument
1465 struct timer_list oom_reaper_timer;
1468 struct vm_struct *stack_vm_area;
1472 refcount_t stack_refcount;
1475 int patch_state;
1479 void *security;
1483 struct bpf_local_storage __rcu *bpf_storage;
1485 struct bpf_run_ctx *bpf_ctx;
1489 unsigned long lowest_stack;
1490 unsigned long prev_lowest_stack;
1494 void __user *mce_vaddr;
1495 __u64 mce_kflags;
1496 u64 mce_addr;
1497 __u64 mce_ripv : 1,
1498 mce_whole_page : 1,
1499 __mce_reserved : 62;
1500 struct callback_head mce_kill_me;
1501 int mce_count;
1505 struct llist_head kretprobe_instances;
1508 struct llist_head rethooks;
1532 * New fields for task_struct should be added above here, so that argument
1542 * structure. It *MUST* be at the end of 'task_struct'. argument