Searched refs:mbytes (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | amd.c | 119 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() local 162 if (mbytes > 508) in init_amd_k6() 163 mbytes = 508; in init_amd_k6() 168 l = (1<<0)|((mbytes/4)<<1); in init_amd_k6() 174 mbytes); in init_amd_k6() 183 if (mbytes > 4092) in init_amd_k6() 184 mbytes = 4092; in init_amd_k6() 189 l = ((mbytes>>2)<<22)|(1<<16); in init_amd_k6() 195 mbytes); in init_amd_k6()
|
/Linux-v5.4/kernel/ |
D | kexec_core.c | 779 size_t ubytes, mbytes; in kimage_load_normal_segment() local 790 mbytes = segment->memsz; in kimage_load_normal_segment() 797 while (mbytes) { in kimage_load_normal_segment() 816 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment() 836 mbytes -= mchunk; in kimage_load_normal_segment() 852 size_t ubytes, mbytes; in kimage_load_crash_segment() local 863 mbytes = segment->memsz; in kimage_load_crash_segment() 865 while (mbytes) { in kimage_load_crash_segment() 878 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment() 904 mbytes -= mchunk; in kimage_load_crash_segment()
|
/Linux-v5.4/samples/vfio-mdev/ |
D | mbochs.c | 105 u32 mbytes; member 111 .mbytes = 4, 116 .mbytes = 16, 121 .mbytes = 64, 527 if (type->mbytes + mbochs_used_mbytes > max_mbytes) in mbochs_create() 538 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_create() 547 kobj->name, type->mbytes, mdev_state->pagecount); in mbochs_create() 563 mbochs_used_mbytes += type->mbytes; in mbochs_create() 576 mbochs_used_mbytes -= mdev_state->type->mbytes; in mbochs_remove() 1338 return sprintf(buf, "%d MB\n", mdev_state->type->mbytes); in memory_show() [all …]
|