Lines Matching refs:flags
42 unsigned long flags) in kimage_alloc_init() argument
46 bool kexec_on_panic = flags & KEXEC_ON_CRASH; in kimage_alloc_init()
107 struct kexec_segment __user *segments, unsigned long flags) in do_kexec_load() argument
113 if (flags & KEXEC_ON_CRASH) { in do_kexec_load()
126 if (flags & KEXEC_ON_CRASH) { in do_kexec_load()
135 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
139 if (flags & KEXEC_PRESERVE_CONTEXT) in do_kexec_load()
166 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
195 unsigned long flags) in kexec_load_check() argument
220 if ((flags & KEXEC_FLAGS) != (flags & ~KEXEC_ARCH_MASK)) in kexec_load_check()
233 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4() argument
237 result = kexec_load_check(nr_segments, flags); in SYSCALL_DEFINE4()
242 if (((flags & KEXEC_ARCH_MASK) != KEXEC_ARCH) && in SYSCALL_DEFINE4()
243 ((flags & KEXEC_ARCH_MASK) != KEXEC_ARCH_DEFAULT)) in SYSCALL_DEFINE4()
257 result = do_kexec_load(entry, nr_segments, segments, flags); in SYSCALL_DEFINE4()
268 compat_ulong_t, flags) in COMPAT_SYSCALL_DEFINE4() argument
274 result = kexec_load_check(nr_segments, flags); in COMPAT_SYSCALL_DEFINE4()
281 if ((flags & KEXEC_ARCH_MASK) == KEXEC_ARCH_DEFAULT) in COMPAT_SYSCALL_DEFINE4()
311 result = do_kexec_load(entry, nr_segments, ksegments, flags); in COMPAT_SYSCALL_DEFINE4()