Lines Matching refs:result
197 int result; in kexec_load_check() local
204 result = security_kernel_load_data(LOADING_KEXEC_IMAGE); in kexec_load_check()
205 if (result < 0) in kexec_load_check()
206 return result; in kexec_load_check()
212 result = security_locked_down(LOCKDOWN_KEXEC); in kexec_load_check()
213 if (result) in kexec_load_check()
214 return result; in kexec_load_check()
235 int result; in SYSCALL_DEFINE4() local
237 result = kexec_load_check(nr_segments, flags); in SYSCALL_DEFINE4()
238 if (result) in SYSCALL_DEFINE4()
239 return result; in SYSCALL_DEFINE4()
257 result = do_kexec_load(entry, nr_segments, segments, flags); in SYSCALL_DEFINE4()
261 return result; in SYSCALL_DEFINE4()
272 unsigned long i, result; in COMPAT_SYSCALL_DEFINE4() local
274 result = kexec_load_check(nr_segments, flags); in COMPAT_SYSCALL_DEFINE4()
275 if (result) in COMPAT_SYSCALL_DEFINE4()
276 return result; in COMPAT_SYSCALL_DEFINE4()
286 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
287 if (result) in COMPAT_SYSCALL_DEFINE4()
295 result = copy_to_user(&ksegments[i], &out, sizeof(out)); in COMPAT_SYSCALL_DEFINE4()
296 if (result) in COMPAT_SYSCALL_DEFINE4()
311 result = do_kexec_load(entry, nr_segments, ksegments, flags); in COMPAT_SYSCALL_DEFINE4()
315 return result; in COMPAT_SYSCALL_DEFINE4()