Searched refs:mbytes (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/kernel/ |
| H A D | kexec_core.c | 723 size_t ubytes, mbytes; in kimage_load_normal_segment() local 733 mbytes = segment->memsz; in kimage_load_normal_segment() 740 while (mbytes) { in kimage_load_normal_segment() 759 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment() 781 mbytes -= mchunk; in kimage_load_normal_segment() 798 size_t ubytes, mbytes; in kimage_load_crash_segment() local 809 mbytes = segment->memsz; in kimage_load_crash_segment() 811 while (mbytes) { in kimage_load_crash_segment() 824 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment() 852 mbytes -= mchunk; in kimage_load_crash_segment()
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | amd.c | 113 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-6.15/samples/vfio-mdev/ |
| H A D | mbochs.c | 105 u32 mbytes; member 112 .mbytes = 4, 118 .mbytes = 16, 124 .mbytes = 64, 530 if (avail_mbytes < type->mbytes) in mbochs_init_dev() 533 avail_mbytes - type->mbytes)); in mbochs_init_dev() 539 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_init_dev() 567 atomic_add(type->mbytes, &mbochs_avail_mbytes); in mbochs_init_dev() 1336 return sprintf(buf, "%d MB\n", mdev_state->type->mbytes); in memory_show() 1361 type ? type->mbytes : 0); in mbochs_show_description() [all …]
|