Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dkexec_core.c713 size_t ubytes, mbytes; in kimage_load_normal_segment() local
723 mbytes = segment->memsz; in kimage_load_normal_segment()
730 while (mbytes) { in kimage_load_normal_segment()
749 mchunk = min_t(size_t, mbytes, in kimage_load_normal_segment()
771 mbytes -= mchunk; in kimage_load_normal_segment()
788 size_t ubytes, mbytes; in kimage_load_crash_segment() local
799 mbytes = segment->memsz; in kimage_load_crash_segment()
801 while (mbytes) { in kimage_load_crash_segment()
814 mchunk = min_t(size_t, mbytes, in kimage_load_crash_segment()
842 mbytes -= mchunk; in kimage_load_crash_segment()
/linux-6.12.1/arch/x86/kernel/cpu/
Damd.c111 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() local
154 if (mbytes > 508) in init_amd_k6()
155 mbytes = 508; in init_amd_k6()
160 l = (1<<0)|((mbytes/4)<<1); in init_amd_k6()
166 mbytes); in init_amd_k6()
175 if (mbytes > 4092) in init_amd_k6()
176 mbytes = 4092; in init_amd_k6()
181 l = ((mbytes>>2)<<22)|(1<<16); in init_amd_k6()
187 mbytes); in init_amd_k6()
/linux-6.12.1/samples/vfio-mdev/
Dmbochs.c105 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()
561 type->type.pretty_name, type->mbytes, mdev_state->pagecount); in mbochs_init_dev()
567 atomic_add(type->mbytes, &mbochs_avail_mbytes); in mbochs_init_dev()
597 atomic_add(mdev_state->type->mbytes, &mbochs_avail_mbytes); in mbochs_release_dev()
[all …]