Lines Matching refs:args
86 unsigned long *args) in syscall_get_arguments() argument
88 memcpy(args, ®s->bx, 6 * sizeof(args[0])); in syscall_get_arguments()
94 const unsigned long *args) in syscall_set_arguments() argument
97 memcpy(®s->bx + i, args, n * sizeof(args[0])); in syscall_set_arguments()
109 unsigned long *args) in syscall_get_arguments() argument
113 *args++ = regs->bx; in syscall_get_arguments()
114 *args++ = regs->cx; in syscall_get_arguments()
115 *args++ = regs->dx; in syscall_get_arguments()
116 *args++ = regs->si; in syscall_get_arguments()
117 *args++ = regs->di; in syscall_get_arguments()
118 *args = regs->bp; in syscall_get_arguments()
122 *args++ = regs->di; in syscall_get_arguments()
123 *args++ = regs->si; in syscall_get_arguments()
124 *args++ = regs->dx; in syscall_get_arguments()
125 *args++ = regs->r10; in syscall_get_arguments()
126 *args++ = regs->r8; in syscall_get_arguments()
127 *args = regs->r9; in syscall_get_arguments()
133 const unsigned long *args) in syscall_set_arguments() argument
137 regs->bx = *args++; in syscall_set_arguments()
138 regs->cx = *args++; in syscall_set_arguments()
139 regs->dx = *args++; in syscall_set_arguments()
140 regs->si = *args++; in syscall_set_arguments()
141 regs->di = *args++; in syscall_set_arguments()
142 regs->bp = *args; in syscall_set_arguments()
146 regs->di = *args++; in syscall_set_arguments()
147 regs->si = *args++; in syscall_set_arguments()
148 regs->dx = *args++; in syscall_set_arguments()
149 regs->r10 = *args++; in syscall_set_arguments()
150 regs->r8 = *args++; in syscall_set_arguments()
151 regs->r9 = *args; in syscall_set_arguments()