Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A Dkexec_core.c778 size_t ubytes, mbytes; in kimage_load_normal_segment() local
788 mbytes = segment->memsz; in kimage_load_normal_segment()
795 while (mbytes) { in kimage_load_normal_segment()
814 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment()
834 mbytes -= mchunk; in kimage_load_normal_segment()
850 size_t ubytes, mbytes; in kimage_load_crash_segment() local
861 mbytes = segment->memsz; in kimage_load_crash_segment()
863 while (mbytes) { in kimage_load_crash_segment()
876 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment()
902 mbytes -= mchunk; in kimage_load_crash_segment()
/openbmc/linux/arch/x86/kernel/cpu/
H A Damd.c183 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() local
226 if (mbytes > 508) in init_amd_k6()
227 mbytes = 508; in init_amd_k6()
232 l = (1<<0)|((mbytes/4)<<1); in init_amd_k6()
238 mbytes); in init_amd_k6()
247 if (mbytes > 4092) in init_amd_k6()
248 mbytes = 4092; in init_amd_k6()
253 l = ((mbytes>>2)<<22)|(1<<16); in init_amd_k6()
259 mbytes); in init_amd_k6()
/openbmc/linux/samples/vfio-mdev/
H A Dmbochs.c104 u32 mbytes; member
111 .mbytes = 4,
117 .mbytes = 16,
123 .mbytes = 64,
527 if (avail_mbytes < type->mbytes) in mbochs_init_dev()
530 avail_mbytes - type->mbytes)); in mbochs_init_dev()
536 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_init_dev()
564 atomic_add(type->mbytes, &mbochs_avail_mbytes); in mbochs_init_dev()
1333 return sprintf(buf, "%d MB\n", mdev_state->type->mbytes); in memory_show()
1358 type ? type->mbytes : 0); in mbochs_show_description()
[all …]