Home
last modified time | relevance | path

Searched refs:ksegments (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dkexec.c231 struct kexec_segment *ksegments; in SYSCALL_DEFINE4() local
243 ksegments = memdup_array_user(segments, nr_segments, sizeof(ksegments[0])); in SYSCALL_DEFINE4()
244 if (IS_ERR(ksegments)) in SYSCALL_DEFINE4()
245 return PTR_ERR(ksegments); in SYSCALL_DEFINE4()
247 result = do_kexec_load(entry, nr_segments, ksegments, flags); in SYSCALL_DEFINE4()
248 kfree(ksegments); in SYSCALL_DEFINE4()
260 struct kexec_segment *ksegments; in COMPAT_SYSCALL_DEFINE4() local
273 ksegments = kmalloc_array(nr_segments, sizeof(ksegments[0]), in COMPAT_SYSCALL_DEFINE4()
275 if (!ksegments) in COMPAT_SYSCALL_DEFINE4()
283 ksegments[i].buf = compat_ptr(in.buf); in COMPAT_SYSCALL_DEFINE4()
[all …]