KEXEC_SEGMENT_MAX 111 arch/powerpc/kernel/machine_kexec_64.c struct kexec_segment ranges[KEXEC_SEGMENT_MAX]; KEXEC_SEGMENT_MAX 23 arch/x86/purgatory/purgatory.c struct kexec_sha_region purgatory_sha_regions[KEXEC_SEGMENT_MAX] __section(.kexec-purgatory); KEXEC_SEGMENT_MAX 255 include/linux/kexec.h struct kexec_segment segment[KEXEC_SEGMENT_MAX]; KEXEC_SEGMENT_MAX 21 include/linux/purgatory.h extern struct kexec_sha_region purgatory_sha_regions[KEXEC_SEGMENT_MAX]; KEXEC_SEGMENT_MAX 226 kernel/kexec.c if (nr_segments > KEXEC_SEGMENT_MAX) KEXEC_SEGMENT_MAX 671 kernel/kexec_file.c if (kbuf->image->nr_segments >= KEXEC_SEGMENT_MAX) KEXEC_SEGMENT_MAX 736 kernel/kexec_file.c sha_region_sz = KEXEC_SEGMENT_MAX * sizeof(struct kexec_sha_region);