Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/cpu/
Damd.c113 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() local
156 if (mbytes > 508) in init_amd_k6()
157 mbytes = 508; in init_amd_k6()
162 l = (1<<0)|((mbytes/4)<<1); in init_amd_k6()
168 mbytes); in init_amd_k6()
177 if (mbytes > 4092) in init_amd_k6()
178 mbytes = 4092; in init_amd_k6()
183 l = ((mbytes>>2)<<22)|(1<<16); in init_amd_k6()
189 mbytes); in init_amd_k6()
/Linux-v4.19/kernel/
Dkexec_core.c774 size_t ubytes, mbytes; in kimage_load_normal_segment() local
785 mbytes = segment->memsz; in kimage_load_normal_segment()
792 while (mbytes) { in kimage_load_normal_segment()
811 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment()
831 mbytes -= mchunk; in kimage_load_normal_segment()
847 size_t ubytes, mbytes; in kimage_load_crash_segment() local
858 mbytes = segment->memsz; in kimage_load_crash_segment()
860 while (mbytes) { in kimage_load_crash_segment()
872 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment()
897 mbytes -= mchunk; in kimage_load_crash_segment()
/Linux-v4.19/samples/vfio-mdev/
Dmbochs.c97 u32 mbytes; member
101 .mbytes = 4,
104 .mbytes = 16,
107 .mbytes = 64,
445 if (type->mbytes + mbochs_used_mbytes > max_mbytes) in mbochs_create()
456 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_create()
465 kobj->name, type->mbytes, mdev_state->pagecount); in mbochs_create()
477 mbochs_used_mbytes += type->mbytes; in mbochs_create()
490 mbochs_used_mbytes -= mdev_state->type->mbytes; in mbochs_remove()
1243 return sprintf(buf, "%d MB\n", mdev_state->type->mbytes); in memory_show()
[all …]