Lines Matching full:task
12 * and only when the caller is sure that the task of interest
23 * syscall_get_nr - find what system call a task is executing
24 * @task: task of interest, must be blocked
25 * @regs: task_pt_regs() of @task
27 * If @task is executing a system call or is at system call
29 * If @task is not executing a system call, i.e. it's blocked
36 * It's only valid to call this when @task is known to be blocked.
38 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
41 * syscall_set_nr - change the system call a task is executing
42 * @task: task of interest, must be blocked
43 * @regs: task_pt_regs() of @task
46 * Changes the system call number @task is about to execute.
48 * It's only valid to call this when @task is stopped for tracing on
52 void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr);
56 * @task: task of interest, must be in system call exit tracing
57 * @regs: task_pt_regs() of @task
59 * It's only valid to call this when @task is stopped for system
70 void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
74 * @task: task of interest, must be blocked
75 * @regs: task_pt_regs() of @task
79 * It's only valid to call this when @task is stopped for tracing on exit
83 long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
87 * @task: task of interest, must be blocked
88 * @regs: task_pt_regs() of @task
93 * It's only valid to call this when @task is stopped for tracing on exit
97 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
101 * @task: task of interest, must be blocked
102 * @regs: task_pt_regs() of @task
111 * It's only valid to call this when @task is stopped for tracing on exit
115 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
120 * @task: task of interest, must be blocked
121 * @regs: task_pt_regs() of @task
127 * It's only valid to call this when @task is stopped for tracing on
131 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
136 * @task: task of interest, must be in system call entry tracing
137 * @regs: task_pt_regs() of @task
143 * It's only valid to call this when @task is stopped for tracing on
147 void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
152 * @task: task of interest, must be blocked
156 * It's only valid to call this when @task is stopped on entry to a system
163 int syscall_get_arch(struct task_struct *task);