Lines Matching refs:stack
26 unsigned long *stack) in check_init_stack() argument
28 if (stack == NULL) { in check_init_stack()
29 stack = (unsigned long *) mm_idp->stack + 2; in check_init_stack()
30 *stack = 0; in check_init_stack()
32 return stack; in check_init_stack()
80 ret = *((unsigned long *) mm_idp->stack); in do_syscall_stub()
81 offset = *((unsigned long *) mm_idp->stack + 1); in do_syscall_stub()
83 data = (unsigned long *)(mm_idp->stack + offset - STUB_DATA); in do_syscall_stub()
113 unsigned long *stack = check_init_stack(mm_idp, *addr); in run_syscall_stub() local
115 *stack += sizeof(long); in run_syscall_stub()
116 stack += *stack / sizeof(long); in run_syscall_stub()
118 *stack++ = syscall; in run_syscall_stub()
119 *stack++ = args[0]; in run_syscall_stub()
120 *stack++ = args[1]; in run_syscall_stub()
121 *stack++ = args[2]; in run_syscall_stub()
122 *stack++ = args[3]; in run_syscall_stub()
123 *stack++ = args[4]; in run_syscall_stub()
124 *stack++ = args[5]; in run_syscall_stub()
125 *stack++ = expected; in run_syscall_stub()
126 *stack = 0; in run_syscall_stub()
128 if (!done && ((((unsigned long) stack) & ~UM_KERN_PAGE_MASK) < in run_syscall_stub()
130 *addr = stack; in run_syscall_stub()
141 unsigned long *stack; in syscall_stub_data() local
156 stack = check_init_stack(mm_idp, *addr); in syscall_stub_data()
157 *addr = stack; in syscall_stub_data()
159 *stack = data_count * sizeof(long); in syscall_stub_data()
161 memcpy(stack + 1, data, data_count * sizeof(long)); in syscall_stub_data()
163 *stub_addr = (void *)(((unsigned long)(stack + 1) & in syscall_stub_data()