Searched refs:mbytes (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/kernel/ |
| D | kexec_core.c | 786 size_t ubytes, mbytes; in kimage_load_normal_segment() local 797 mbytes = segment->memsz; in kimage_load_normal_segment() 804 while (mbytes) { in kimage_load_normal_segment() 823 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment() 843 mbytes -= mchunk; in kimage_load_normal_segment() 859 size_t ubytes, mbytes; in kimage_load_crash_segment() local 870 mbytes = segment->memsz; in kimage_load_crash_segment() 872 while (mbytes) { in kimage_load_crash_segment() 885 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment() 911 mbytes -= mchunk; in kimage_load_crash_segment()
|
| /Linux-v5.15/arch/x86/kernel/cpu/ |
| D | amd.c | 121 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() local 164 if (mbytes > 508) in init_amd_k6() 165 mbytes = 508; in init_amd_k6() 170 l = (1<<0)|((mbytes/4)<<1); in init_amd_k6() 176 mbytes); in init_amd_k6() 185 if (mbytes > 4092) in init_amd_k6() 186 mbytes = 4092; in init_amd_k6() 191 l = ((mbytes>>2)<<22)|(1<<16); in init_amd_k6() 197 mbytes); in init_amd_k6()
|
| /Linux-v5.15/samples/vfio-mdev/ |
| D | mbochs.c | 105 u32 mbytes; member 111 .mbytes = 4, 116 .mbytes = 16, 121 .mbytes = 64, 518 if (avail_mbytes < type->mbytes) in mbochs_probe() 521 avail_mbytes - type->mbytes)); in mbochs_probe() 532 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_probe() 541 type->name, type->mbytes, mdev_state->pagecount); in mbochs_probe() 567 atomic_add(type->mbytes, &mbochs_avail_mbytes); in mbochs_probe() 577 atomic_add(mdev_state->type->mbytes, &mbochs_avail_mbytes); in mbochs_remove() [all …]
|