Lines Matching refs:task_struct
157 static int get_task_root(struct task_struct *task, struct path *root) in get_task_root()
172 struct task_struct *task = get_proc_task(d_inode(dentry)); in proc_cwd_link()
189 struct task_struct *task = get_proc_task(d_inode(dentry)); in proc_root_link()
200 struct pid *pid, struct task_struct *task) in proc_pid_cmdline()
212 struct pid *pid, struct task_struct *task) in proc_pid_auxv()
234 struct pid *pid, struct task_struct *task) in proc_pid_wchan()
251 static int lock_trace(struct task_struct *task) in lock_trace()
263 static void unlock_trace(struct task_struct *task) in unlock_trace()
273 struct pid *pid, struct task_struct *task) in proc_pid_stack()
310 struct pid *pid, struct task_struct *task) in proc_pid_schedstat()
326 struct task_struct *task = get_proc_task(inode); in lstats_show_proc()
361 struct task_struct *task = get_proc_task(file_inode(file)); in lstats_write()
382 struct pid *pid, struct task_struct *task) in proc_oom_score()
423 struct pid *pid, struct task_struct *task) in proc_pid_limits()
465 struct pid *pid, struct task_struct *task) in proc_pid_syscall()
498 struct task_struct *task; in proc_fd_access_allowed()
534 struct task_struct *task, in has_pid_permissions()
548 struct task_struct *task; in proc_pid_permission()
584 struct task_struct *task; in proc_single_show()
614 struct task_struct *task = get_proc_task(inode); in proc_mem_open()
820 struct task_struct *task = get_proc_task(file_inode(file)); in oom_adj_read()
844 struct task_struct *task; in oom_adj_write()
927 struct task_struct *task = get_proc_task(file_inode(file)); in oom_score_adj_read()
947 struct task_struct *task; in oom_score_adj_write()
1019 struct task_struct *task = get_proc_task(inode); in proc_loginuid_read()
1100 struct task_struct *task = get_proc_task(inode); in proc_sessionid_read()
1122 struct task_struct *task = get_proc_task(file_inode(file)); in proc_fault_inject_read()
1140 struct task_struct *task; in proc_fault_inject_write()
1181 struct task_struct *p; in sched_show()
1198 struct task_struct *p; in sched_write()
1232 struct task_struct *p; in sched_autogroup_show()
1249 struct task_struct *p; in sched_autogroup_write()
1304 struct task_struct *p; in comm_write()
1329 struct task_struct *p; in comm_show()
1359 struct task_struct *task; in proc_exe_link()
1454 struct inode *proc_pid_make_inode(struct super_block * sb, struct task_struct *task) in proc_pid_make_inode()
1499 struct task_struct *task; in pid_getattr()
1549 struct task_struct *task; in pid_revalidate()
1614 instantiate_t instantiate, struct task_struct *task, const void *ptr) in proc_fill_cache()
1662 struct task_struct *task; in map_files_d_revalidate()
1723 struct task_struct *task; in proc_map_files_get_link()
1765 struct task_struct *task, const void *ptr) in proc_map_files_instantiate()
1798 struct task_struct *task; in proc_map_files_lookup()
1851 struct task_struct *task; in proc_map_files_readdir()
1955 struct task_struct *task;
2054 struct dentry *dentry, struct task_struct *task, const void *ptr) in proc_pident_instantiate()
2088 struct task_struct *task = get_proc_task(dir); in proc_pident_lookup()
2120 struct task_struct *task = get_proc_task(file_inode(file)); in proc_pident_readdir()
2150 struct task_struct *task = get_proc_task(inode); in proc_pid_attr_read()
2171 struct task_struct *task = get_proc_task(inode); in proc_pid_attr_write()
2256 struct task_struct *task = get_proc_task(file_inode(file)); in proc_coredump_filter_read()
2285 struct task_struct *task; in proc_coredump_filter_write()
2339 static int do_io_accounting(struct task_struct *task, struct seq_file *m, int whole) in do_io_accounting()
2355 struct task_struct *t = task; in do_io_accounting()
2386 struct pid *pid, struct task_struct *task) in proc_tid_io_accounting()
2392 struct pid *pid, struct task_struct *task) in proc_tgid_io_accounting()
2403 struct task_struct *task; in proc_id_map_open()
2481 struct task_struct *task; in proc_setgroups_open()
2531 struct pid *pid, struct task_struct *task) in proc_pid_personality()
2738 void proc_flush_task(struct task_struct *task) in proc_flush_task()
2756 struct task_struct *task, const void *ptr) in proc_pid_instantiate()
2785 struct task_struct *task; in proc_pid_lookup()
2814 struct task_struct *task;
3010 struct dentry *dentry, struct task_struct *task, const void *ptr) in proc_task_instantiate()
3038 struct task_struct *task; in proc_task_lookup()
3039 struct task_struct *leader = get_proc_task(dir); in proc_task_lookup()
3082 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, in first_tid()
3085 struct task_struct *pos, *task; in first_tid()
3131 static struct task_struct *next_tid(struct task_struct *start) in next_tid()
3133 struct task_struct *pos = NULL; in next_tid()
3151 struct task_struct *task; in proc_task_readdir()
3190 struct task_struct *p = get_proc_task(inode); in proc_task_getattr()