Lines Matching +full:5 +full:v0
24 .align 5
61 load_a4: user_lw(t5, 16(t0)) # argument #5 from usp
67 sw t5, 16(sp) # argument #5 to ksp
81 * syscall number is in v0 unless we called syscall(__NR_###)
84 subu t2, v0, __NR_O32_Linux
89 LONG_S v0, TI_SYSCALL($28) # Save v0 as syscall number
97 subu v0, v0, __NR_O32_Linux # check syscall number
98 sltiu t0, v0, __NR_O32_Linux_syscalls
101 sll t0, v0, 2
111 sltu t0, t0, v0
116 negu v0 # error
118 1: sw v0, PT_R2(sp) # result
131 bltz v0, 1f # seccomp failed? Skip syscall
134 lw v0, PT_R2(sp) # Restore syscall (maybe modified)
150 li v0, EFAULT
151 sw v0, PT_R2(sp)
176 li v0, ENOSYS # error
177 sw v0, PT_R2(sp)
185 sltiu v0, t0, __NR_O32_Linux_syscalls
188 beqz v0, einval
204 einval: li v0, -ENOSYS