Lines Matching refs:mchunk
800 size_t uchunk, mchunk; in kimage_load_normal_segment() local
816 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment()
818 uchunk = min(ubytes, mchunk); in kimage_load_normal_segment()
831 maddr += mchunk; in kimage_load_normal_segment()
833 kbuf += mchunk; in kimage_load_normal_segment()
835 buf += mchunk; in kimage_load_normal_segment()
836 mbytes -= mchunk; in kimage_load_normal_segment()
868 size_t uchunk, mchunk; in kimage_load_crash_segment() local
878 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment()
880 uchunk = min(ubytes, mchunk); in kimage_load_crash_segment()
881 if (mchunk > uchunk) { in kimage_load_crash_segment()
883 memset(ptr + uchunk, 0, mchunk - uchunk); in kimage_load_crash_segment()
899 maddr += mchunk; in kimage_load_crash_segment()
901 kbuf += mchunk; in kimage_load_crash_segment()
903 buf += mchunk; in kimage_load_crash_segment()
904 mbytes -= mchunk; in kimage_load_crash_segment()