Lines Matching refs:cmd
40 int cmd; member
147 static int translate_syscall_command(int cmd) in translate_syscall_command() argument
153 if ((cmd == syscall_command_table[i].sp)) in translate_syscall_command()
199 int cmd; in sp_work_handle_request() local
231 switch (sc.cmd) { in sp_work_handle_request()
266 sc.cmd = __NR_open; in sp_work_handle_request()
271 if ((sc.cmd >= __NR_Linux) && in sp_work_handle_request()
272 (sc.cmd <= (__NR_Linux + __NR_Linux_syscalls)) ) in sp_work_handle_request()
273 cmd = sc.cmd; in sp_work_handle_request()
275 cmd = translate_syscall_command(sc.cmd); in sp_work_handle_request()
277 if (cmd >= 0) { in sp_work_handle_request()
278 ret.retval = sp_syscall(cmd, generic.arg0, generic.arg1, in sp_work_handle_request()
282 "KSPD: Unknown SP syscall number %d\n", sc.cmd); in sp_work_handle_request()