Lines Matching refs:cmd
40 int cmd;
147 static int translate_syscall_command(int cmd)
153 if ((cmd == syscall_command_table[i].sp))
206 int err, cmd;
241 switch (sc.cmd) {
276 sc.cmd = __NR_open;
281 if ((sc.cmd >= __NR_Linux) &&
282 (sc.cmd <= (__NR_Linux + __NR_Linux_syscalls)) )
283 cmd = sc.cmd;
285 cmd = translate_syscall_command(sc.cmd);
287 if (cmd >= 0) {
288 ret.retval = sp_syscall(cmd, generic.arg0, generic.arg1,
292 "KSPD: Unknown SP syscall number %d\n", sc.cmd);