Searched refs:nr_segments (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | kexec.c | 23 unsigned long nr_segments, in copy_user_segment_list() argument 30 image->nr_segments = nr_segments; in copy_user_segment_list() 31 segment_bytes = nr_segments * sizeof(*segments); in copy_user_segment_list() 40 unsigned long nr_segments, in kimage_alloc_init() argument 62 ret = copy_user_segment_list(image, nr_segments, segments); in kimage_alloc_init() 106 static int do_kexec_load(unsigned long entry, unsigned long nr_segments, in do_kexec_load() argument 129 if (nr_segments == 0) { in do_kexec_load() 144 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load() 163 for (i = 0; i < nr_segments; i++) { in do_kexec_load() 209 static inline int kexec_load_check(unsigned long nr_segments, in kexec_load_check() argument [all …]
|
D | kexec_core.c | 151 unsigned long nr_segments = image->nr_segments; in sanity_check_segment_list() local 168 for (i = 0; i < nr_segments; i++) { in sanity_check_segment_list() 186 for (i = 0; i < nr_segments; i++) { in sanity_check_segment_list() 208 for (i = 0; i < nr_segments; i++) { in sanity_check_segment_list() 218 for (i = 0; i < nr_segments; i++) { in sanity_check_segment_list() 239 for (i = 0; i < nr_segments; i++) { in sanity_check_segment_list() 287 for (i = 0; i < image->nr_segments; i++) { in kimage_is_destination_range() 455 for (i = 0; i < image->nr_segments; i++) { in kimage_alloc_crash_control_pages() 468 if (i == image->nr_segments) { in kimage_alloc_crash_control_pages()
|
D | kexec_file.c | 388 for (i = 0; i < image->nr_segments; i++) { in SYSCALL_DEFINE5() 651 if (kbuf->image->nr_segments >= KEXEC_SEGMENT_MAX) in kexec_add_buffer() 676 ksegment = &kbuf->image->segment[kbuf->image->nr_segments]; in kexec_add_buffer() 681 kbuf->image->nr_segments++; in kexec_add_buffer() 735 for (j = i = 0; i < image->nr_segments; i++) { in kexec_calculate_store_digests()
|