Home
last modified time | relevance | path

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

/kernel/
Dkexec.c23 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
121 if (nr_segments == 0) { in do_kexec_load()
135 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
154 for (i = 0; i < nr_segments; i++) { in do_kexec_load()
194 static inline int kexec_load_check(unsigned long nr_segments, in kexec_load_check() argument
[all …]
Dkexec_core.c151 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()
Dkexec_file.c429 for (i = 0; i < image->nr_segments; i++) { in SYSCALL_DEFINE5()
671 if (kbuf->image->nr_segments >= KEXEC_SEGMENT_MAX) in kexec_add_buffer()
696 ksegment = &kbuf->image->segment[kbuf->image->nr_segments]; in kexec_add_buffer()
701 kbuf->image->nr_segments++; in kexec_add_buffer()
753 for (j = i = 0; i < image->nr_segments; i++) { in kexec_calculate_store_digests()