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()
202 struct task_struct *tsk; in proc_pid_cmdline_read()
404 struct pid *pid, struct task_struct *task) in proc_pid_auxv()
426 struct pid *pid, struct task_struct *task) in proc_pid_wchan()
443 static int lock_trace(struct task_struct *task) in lock_trace()
455 static void unlock_trace(struct task_struct *task) in unlock_trace()
465 struct pid *pid, struct task_struct *task) in proc_pid_stack()
502 struct pid *pid, struct task_struct *task) in proc_pid_schedstat()
521 struct task_struct *task = get_proc_task(inode); in lstats_show_proc()
556 struct task_struct *task = get_proc_task(file_inode(file)); in lstats_write()
577 struct pid *pid, struct task_struct *task) in proc_oom_score()
618 struct pid *pid, struct task_struct *task) in proc_pid_limits()
660 struct pid *pid, struct task_struct *task) in proc_pid_syscall()
693 struct task_struct *task; in proc_fd_access_allowed()
729 struct task_struct *task, in has_pid_permissions()
743 struct task_struct *task; in proc_pid_permission()
779 struct task_struct *task; in proc_single_show()
809 struct task_struct *task = get_proc_task(inode); in proc_mem_open()
1016 struct task_struct *task = get_proc_task(file_inode(file)); in oom_adj_read()
1050 struct task_struct *task; in oom_adj_write()
1133 struct task_struct *task = get_proc_task(file_inode(file)); in oom_score_adj_read()
1153 struct task_struct *task; in oom_score_adj_write()
1225 struct task_struct *task = get_proc_task(inode); in proc_loginuid_read()
1287 struct task_struct *task = get_proc_task(inode); in proc_sessionid_read()
1309 struct task_struct *task = get_proc_task(file_inode(file)); in proc_fault_inject_read()
1327 struct task_struct *task; in proc_fault_inject_write()
1369 struct task_struct *p; in sched_show()
1386 struct task_struct *p; in sched_write()
1420 struct task_struct *p; in sched_autogroup_show()
1437 struct task_struct *p; in sched_autogroup_write()
1492 struct task_struct *p; in comm_write()
1517 struct task_struct *p; in comm_show()
1547 struct task_struct *task; in proc_exe_link()
1642 struct inode *proc_pid_make_inode(struct super_block * sb, struct task_struct *task) in proc_pid_make_inode()
1687 struct task_struct *task; in pid_getattr()
1737 struct task_struct *task; in pid_revalidate()
1802 instantiate_t instantiate, struct task_struct *task, const void *ptr) in proc_fill_cache()
1848 struct task_struct *task; in map_files_d_revalidate()
1904 struct task_struct *task; in proc_map_files_get_link()
1969 struct task_struct *task, const void *ptr) in proc_map_files_instantiate()
2002 struct task_struct *task; in proc_map_files_lookup()
2051 struct task_struct *task; in proc_map_files_readdir()
2151 struct task_struct *task;
2249 struct dentry *dentry, struct task_struct *task, const void *ptr) in proc_pident_instantiate()
2283 struct task_struct *task = get_proc_task(dir); in proc_pident_lookup()
2315 struct task_struct *task = get_proc_task(file_inode(file)); in proc_pident_readdir()
2345 struct task_struct *task = get_proc_task(inode); in proc_pid_attr_read()
2366 struct task_struct *task = get_proc_task(inode); in proc_pid_attr_write()
2451 struct task_struct *task = get_proc_task(file_inode(file)); in proc_coredump_filter_read()
2480 struct task_struct *task; in proc_coredump_filter_write()
2525 static int do_io_accounting(struct task_struct *task, struct seq_file *m, int whole) in do_io_accounting()
2541 struct task_struct *t = task; in do_io_accounting()
2572 struct pid *pid, struct task_struct *task) in proc_tid_io_accounting()
2578 struct pid *pid, struct task_struct *task) in proc_tgid_io_accounting()
2589 struct task_struct *task; in proc_id_map_open()
2667 struct task_struct *task; in proc_setgroups_open()
2717 struct pid *pid, struct task_struct *task) in proc_pid_personality()
2922 void proc_flush_task(struct task_struct *task) in proc_flush_task()
2940 struct task_struct *task, const void *ptr) in proc_pid_instantiate()
2969 struct task_struct *task; in proc_pid_lookup()
2998 struct task_struct *task;
3194 struct dentry *dentry, struct task_struct *task, const void *ptr) in proc_task_instantiate()
3222 struct task_struct *task; in proc_task_lookup()
3223 struct task_struct *leader = get_proc_task(dir); in proc_task_lookup()
3266 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, in first_tid()
3269 struct task_struct *pos, *task; in first_tid()
3315 static struct task_struct *next_tid(struct task_struct *start) in next_tid()
3317 struct task_struct *pos = NULL; in next_tid()
3335 struct task_struct *task; in proc_task_readdir()
3374 struct task_struct *p = get_proc_task(inode); in proc_task_getattr()