Lines Matching refs:segment

172 		mstart = image->segment[i].mem;  in sanity_check_segment_list()
173 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
191 mstart = image->segment[i].mem; in sanity_check_segment_list()
192 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
196 pstart = image->segment[j].mem; in sanity_check_segment_list()
197 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
210 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list()
220 if (PAGE_COUNT(image->segment[i].memsz) > nr_pages / 2) in sanity_check_segment_list()
223 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list()
243 mstart = image->segment[i].mem; in sanity_check_segment_list()
244 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
291 mstart = image->segment[i].mem; in kimage_is_destination_range()
292 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
459 mstart = image->segment[i].mem; in kimage_alloc_crash_control_pages()
460 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
782 struct kexec_segment *segment) in kimage_load_normal_segment() argument
791 kbuf = segment->kbuf; in kimage_load_normal_segment()
793 buf = segment->buf; in kimage_load_normal_segment()
794 ubytes = segment->bufsz; in kimage_load_normal_segment()
795 mbytes = segment->memsz; in kimage_load_normal_segment()
796 maddr = segment->mem; in kimage_load_normal_segment()
850 struct kexec_segment *segment) in kimage_load_crash_segment() argument
864 kbuf = segment->kbuf; in kimage_load_crash_segment()
866 buf = segment->buf; in kimage_load_crash_segment()
867 ubytes = segment->bufsz; in kimage_load_crash_segment()
868 mbytes = segment->memsz; in kimage_load_crash_segment()
869 maddr = segment->mem; in kimage_load_crash_segment()
918 struct kexec_segment *segment) in kimage_load_segment() argument
924 result = kimage_load_normal_segment(image, segment); in kimage_load_segment()
927 result = kimage_load_crash_segment(image, segment); in kimage_load_segment()