Home
last modified time | relevance | path

Searched refs:uchunk (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dkexec_core.c800 size_t uchunk, mchunk; in kimage_load_normal_segment() local
818 uchunk = min(ubytes, mchunk); in kimage_load_normal_segment()
822 memcpy(ptr, kbuf, uchunk); in kimage_load_normal_segment()
824 result = copy_from_user(ptr, buf, uchunk); in kimage_load_normal_segment()
830 ubytes -= uchunk; in kimage_load_normal_segment()
868 size_t uchunk, mchunk; in kimage_load_crash_segment() local
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()
888 memcpy(ptr, kbuf, uchunk); in kimage_load_crash_segment()
[all …]