Searched refs:uchunk (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/kernel/ |
D | kexec_core.c | 807 size_t uchunk, mchunk; in kimage_load_normal_segment() local 825 uchunk = min(ubytes, mchunk); in kimage_load_normal_segment() 829 memcpy(ptr, kbuf, uchunk); in kimage_load_normal_segment() 831 result = copy_from_user(ptr, buf, uchunk); in kimage_load_normal_segment() 837 ubytes -= uchunk; in kimage_load_normal_segment() 875 size_t uchunk, mchunk; in kimage_load_crash_segment() local 887 uchunk = min(ubytes, mchunk); in kimage_load_crash_segment() 888 if (mchunk > uchunk) { in kimage_load_crash_segment() 890 memset(ptr + uchunk, 0, mchunk - uchunk); in kimage_load_crash_segment() 895 memcpy(ptr, kbuf, uchunk); in kimage_load_crash_segment() [all …]
|