Lines Matching refs:ret
121 int ret; in rseq_get_rseq_cs() local
148 ret = get_user(sig, usig); in rseq_get_rseq_cs()
149 if (ret) in rseq_get_rseq_cs()
150 return ret; in rseq_get_rseq_cs()
164 int ret; in rseq_need_restart() local
167 ret = get_user(flags, &t->rseq->flags); in rseq_need_restart()
168 if (ret) in rseq_need_restart()
169 return ret; in rseq_need_restart()
226 int ret; in rseq_ip_fixup() local
228 ret = rseq_get_rseq_cs(t, &rseq_cs); in rseq_ip_fixup()
229 if (ret) in rseq_ip_fixup()
230 return ret; in rseq_ip_fixup()
239 ret = rseq_need_restart(t, rseq_cs.flags); in rseq_ip_fixup()
240 if (ret <= 0) in rseq_ip_fixup()
241 return ret; in rseq_ip_fixup()
242 ret = clear_rseq_cs(t); in rseq_ip_fixup()
243 if (ret) in rseq_ip_fixup()
244 return ret; in rseq_ip_fixup()
265 int ret, sig; in __rseq_handle_notify_resume() local
271 ret = rseq_ip_fixup(regs); in __rseq_handle_notify_resume()
272 if (unlikely(ret < 0)) in __rseq_handle_notify_resume()
310 int ret; in SYSCALL_DEFINE4() local
320 ret = rseq_reset_rseq_cpu_id(current); in SYSCALL_DEFINE4()
321 if (ret) in SYSCALL_DEFINE4()
322 return ret; in SYSCALL_DEFINE4()