Lines Matching full:segment

132 		mstart = image->segment[i].mem;  in sanity_check_segment_list()
133 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
145 * easy explanation as one segment stops on another. in sanity_check_segment_list()
151 mstart = image->segment[i].mem; in sanity_check_segment_list()
152 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
156 pstart = image->segment[j].mem; in sanity_check_segment_list()
157 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
170 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list()
180 if (PAGE_COUNT(image->segment[i].memsz) > nr_pages / 2) in sanity_check_segment_list()
183 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list()
204 mstart = image->segment[i].mem; in sanity_check_segment_list()
205 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
222 accept_memory(image->segment[i].mem, image->segment[i].memsz); in sanity_check_segment_list()
268 mstart = image->segment[i].mem; in kimage_is_destination_range()
269 mend = mstart + image->segment[i].memsz - 1; in kimage_is_destination_range()
379 * to give it an entry in image->segment[]. in kimage_alloc_normal_control_pages()
437 mstart = image->segment[i].mem; in kimage_alloc_crash_control_pages()
438 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
440 /* Advance the hole to the end of the segment */ in kimage_alloc_crash_control_pages()
562 u32 nr_pages = image->segment[i].memsz >> PAGE_SHIFT; in kimage_free_cma()
742 struct kexec_segment *segment = &image->segment[idx]; in kimage_load_cma_segment() local
752 kbuf = segment->kbuf; in kimage_load_cma_segment()
754 buf = segment->buf; in kimage_load_cma_segment()
755 ubytes = segment->bufsz; in kimage_load_cma_segment()
756 mbytes = segment->memsz; in kimage_load_cma_segment()
757 maddr = segment->mem; in kimage_load_cma_segment()
802 struct kexec_segment *segment = &image->segment[idx]; in kimage_load_normal_segment() local
810 kbuf = segment->kbuf; in kimage_load_normal_segment()
812 buf = segment->buf; in kimage_load_normal_segment()
813 ubytes = segment->bufsz; in kimage_load_normal_segment()
814 mbytes = segment->memsz; in kimage_load_normal_segment()
815 maddr = segment->mem; in kimage_load_normal_segment()
880 struct kexec_segment *segment = &image->segment[idx]; in kimage_load_crash_segment() local
889 kbuf = segment->kbuf; in kimage_load_crash_segment()
891 buf = segment->buf; in kimage_load_crash_segment()
892 ubytes = segment->bufsz; in kimage_load_crash_segment()
893 mbytes = segment->memsz; in kimage_load_crash_segment()
894 maddr = segment->mem; in kimage_load_crash_segment()