Lines Matching defs:info
8 static int collect_syscall(struct task_struct *target, struct syscall_info *info)
15 memset(info, 0, sizeof(*info));
16 info->data.nr = -1;
26 info->sp = user_stack_pointer(regs);
27 info->data.instruction_pointer = instruction_pointer(regs);
29 info->data.nr = syscall_get_nr(target, regs);
30 if (info->data.nr != -1L)
33 info->data.args[0] = args[0];
34 info->data.args[1] = args[1];
35 info->data.args[2] = args[2];
36 info->data.args[3] = args[3];
37 info->data.args[4] = args[4];
38 info->data.args[5] = args[5];
47 * @info: structure with the following fields:
53 * If @target is blocked in a system call, returns zero with @info.data.nr
54 * set to the call's number and @info.data.args filled in with its
62 * returns zero with *@info.data.nr set to -1 and does not fill in
63 * @info.data.args. If so, it's now safe to examine @target using
69 int task_current_syscall(struct task_struct *target, struct syscall_info *info)
75 return collect_syscall(target, info);
83 unlikely(collect_syscall(target, info)) ||