Searched refs:uchunk (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/kernel/ |
D | kexec_core.c | 798 size_t uchunk, mchunk; in kimage_load_normal_segment() local 816 uchunk = min(ubytes, mchunk); in kimage_load_normal_segment() 820 memcpy(ptr, kbuf, uchunk); in kimage_load_normal_segment() 822 result = copy_from_user(ptr, buf, uchunk); in kimage_load_normal_segment() 828 ubytes -= uchunk; in kimage_load_normal_segment() 866 size_t uchunk, mchunk; in kimage_load_crash_segment() local 878 uchunk = min(ubytes, mchunk); in kimage_load_crash_segment() 879 if (mchunk > uchunk) { in kimage_load_crash_segment() 881 memset(ptr + uchunk, 0, mchunk - uchunk); in kimage_load_crash_segment() 886 memcpy(ptr, kbuf, uchunk); in kimage_load_crash_segment() [all …]
|