MB 124 arch/alpha/kernel/pci.c #define GB (1024*MB) MB 170 arch/alpha/kernel/pci.c if (hose->sparse_mem_base && size <= 7 * 16*MB) { MB 171 arch/alpha/kernel/pci.c if (((start / (16*MB)) & 0x7) == 0) { MB 172 arch/alpha/kernel/pci.c start &= ~(128*MB - 1); MB 173 arch/alpha/kernel/pci.c start += 16*MB; MB 176 arch/alpha/kernel/pci.c if (start/(128*MB) != (start + size - 1)/(128*MB)) { MB 177 arch/alpha/kernel/pci.c start &= ~(128*MB - 1); MB 178 arch/alpha/kernel/pci.c start += (128 + 16)*MB; MB 22 arch/alpha/kernel/smc37c669.c #define GB (1024*MB) MB 25 arch/alpha/kernel/smc37c93x.c #define GB (1024*MB) MB 83 arch/powerpc/mm/book3s64/hash_utils.c #define GB (1024L*MB) MB 4594 arch/powerpc/xmon/ppc-opc.c {"clrlwi", MME(21,31,0), MSHME_MASK, PPCCOM, PPCVLE, {RA, RS, MB}}, MB 4598 arch/powerpc/xmon/ppc-opc.c {"clrlwi.", MME(21,31,1), MSHME_MASK, PPCCOM, PPCVLE, {RA, RS, MB}}, MB 7106 arch/powerpc/xmon/ppc-opc.c {"e_rlwimi", M(29,0), M_MASK, PPCVLE, 0, {RA, RS, SH, MB, ME}}, MB 54 arch/x86/kernel/cpu/cacheinfo.c { 0x23, LVL_3, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */ MB 55 arch/x86/kernel/cpu/cacheinfo.c { 0x25, LVL_3, MB(2) }, /* 8-way set assoc, sectored cache, 64 byte line size */ MB 56 arch/x86/kernel/cpu/cacheinfo.c { 0x29, LVL_3, MB(4) }, /* 8-way set assoc, sectored cache, 64 byte line size */ MB 69 arch/x86/kernel/cpu/cacheinfo.c { 0x44, LVL_2, MB(1) }, /* 4-way set assoc, 32 byte line size */ MB 70 arch/x86/kernel/cpu/cacheinfo.c { 0x45, LVL_2, MB(2) }, /* 4-way set assoc, 32 byte line size */ MB 71 arch/x86/kernel/cpu/cacheinfo.c { 0x46, LVL_3, MB(4) }, /* 4-way set assoc, 64 byte line size */ MB 72 arch/x86/kernel/cpu/cacheinfo.c { 0x47, LVL_3, MB(8) }, /* 8-way set assoc, 64 byte line size */ MB 73 arch/x86/kernel/cpu/cacheinfo.c { 0x48, LVL_2, MB(3) }, /* 12-way set assoc, 64 byte line size */ MB 74 arch/x86/kernel/cpu/cacheinfo.c { 0x49, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */ MB 75 arch/x86/kernel/cpu/cacheinfo.c { 0x4a, LVL_3, MB(6) }, /* 12-way set assoc, 64 byte line size */ MB 76 arch/x86/kernel/cpu/cacheinfo.c { 0x4b, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */ MB 77 arch/x86/kernel/cpu/cacheinfo.c { 0x4c, LVL_3, MB(12) }, /* 12-way set assoc, 64 byte line size */ MB 78 arch/x86/kernel/cpu/cacheinfo.c { 0x4d, LVL_3, MB(16) }, /* 16-way set assoc, 64 byte line size */ MB 79 arch/x86/kernel/cpu/cacheinfo.c { 0x4e, LVL_2, MB(6) }, /* 24-way set assoc, 64 byte line size */ MB 88 arch/x86/kernel/cpu/cacheinfo.c { 0x78, LVL_2, MB(1) }, /* 4-way set assoc, 64 byte line size */ MB 92 arch/x86/kernel/cpu/cacheinfo.c { 0x7c, LVL_2, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */ MB 93 arch/x86/kernel/cpu/cacheinfo.c { 0x7d, LVL_2, MB(2) }, /* 8-way set assoc, 64 byte line size */ MB 98 arch/x86/kernel/cpu/cacheinfo.c { 0x84, LVL_2, MB(1) }, /* 8-way set assoc, 32 byte line size */ MB 99 arch/x86/kernel/cpu/cacheinfo.c { 0x85, LVL_2, MB(2) }, /* 8-way set assoc, 32 byte line size */ MB 101 arch/x86/kernel/cpu/cacheinfo.c { 0x87, LVL_2, MB(1) }, /* 8-way set assoc, 64 byte line size */ MB 103 arch/x86/kernel/cpu/cacheinfo.c { 0xd1, LVL_3, MB(1) }, /* 4-way set assoc, 64 byte line size */ MB 104 arch/x86/kernel/cpu/cacheinfo.c { 0xd2, LVL_3, MB(2) }, /* 4-way set assoc, 64 byte line size */ MB 105 arch/x86/kernel/cpu/cacheinfo.c { 0xd6, LVL_3, MB(1) }, /* 8-way set assoc, 64 byte line size */ MB 106 arch/x86/kernel/cpu/cacheinfo.c { 0xd7, LVL_3, MB(2) }, /* 8-way set assoc, 64 byte line size */ MB 107 arch/x86/kernel/cpu/cacheinfo.c { 0xd8, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */ MB 108 arch/x86/kernel/cpu/cacheinfo.c { 0xdc, LVL_3, MB(2) }, /* 12-way set assoc, 64 byte line size */ MB 109 arch/x86/kernel/cpu/cacheinfo.c { 0xdd, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */ MB 110 arch/x86/kernel/cpu/cacheinfo.c { 0xde, LVL_3, MB(8) }, /* 12-way set assoc, 64 byte line size */ MB 111 arch/x86/kernel/cpu/cacheinfo.c { 0xe2, LVL_3, MB(2) }, /* 16-way set assoc, 64 byte line size */ MB 112 arch/x86/kernel/cpu/cacheinfo.c { 0xe3, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */ MB 113 arch/x86/kernel/cpu/cacheinfo.c { 0xe4, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */ MB 114 arch/x86/kernel/cpu/cacheinfo.c { 0xea, LVL_3, MB(12) }, /* 24-way set assoc, 64 byte line size */ MB 115 arch/x86/kernel/cpu/cacheinfo.c { 0xeb, LVL_3, MB(18) }, /* 24-way set assoc, 64 byte line size */ MB 116 arch/x86/kernel/cpu/cacheinfo.c { 0xec, LVL_3, MB(24) }, /* 24-way set assoc, 64 byte line size */ MB 252 arch/x86/kernel/early-quirks.c return MB(1); MB 267 arch/x86/kernel/early-quirks.c case I845_TSEG_SIZE_1M: return MB(1); MB 281 arch/x86/kernel/early-quirks.c return MB(1); MB 286 arch/x86/kernel/early-quirks.c return read_pci_config_byte(0, 0, 0, I830_DRB3) * MB(32); MB 291 arch/x86/kernel/early-quirks.c return read_pci_config_byte(0, 0, 1, I85X_DRB3) * MB(32); MB 363 arch/x86/kernel/early-quirks.c case I830_GMCH_GMS_STOLEN_1024: return MB(1); MB 364 arch/x86/kernel/early-quirks.c case I830_GMCH_GMS_STOLEN_8192: return MB(8); MB 383 arch/x86/kernel/early-quirks.c case I855_GMCH_GMS_STOLEN_1M: return MB(1); MB 384 arch/x86/kernel/early-quirks.c case I855_GMCH_GMS_STOLEN_4M: return MB(4); MB 385 arch/x86/kernel/early-quirks.c case I855_GMCH_GMS_STOLEN_8M: return MB(8); MB 386 arch/x86/kernel/early-quirks.c case I855_GMCH_GMS_STOLEN_16M: return MB(16); MB 387 arch/x86/kernel/early-quirks.c case I855_GMCH_GMS_STOLEN_32M: return MB(32); MB 388 arch/x86/kernel/early-quirks.c case I915_GMCH_GMS_STOLEN_48M: return MB(48); MB 389 arch/x86/kernel/early-quirks.c case I915_GMCH_GMS_STOLEN_64M: return MB(64); MB 390 arch/x86/kernel/early-quirks.c case G33_GMCH_GMS_STOLEN_128M: return MB(128); MB 391 arch/x86/kernel/early-quirks.c case G33_GMCH_GMS_STOLEN_256M: return MB(256); MB 392 arch/x86/kernel/early-quirks.c case INTEL_GMCH_GMS_STOLEN_96M: return MB(96); MB 393 arch/x86/kernel/early-quirks.c case INTEL_GMCH_GMS_STOLEN_160M:return MB(160); MB 394 arch/x86/kernel/early-quirks.c case INTEL_GMCH_GMS_STOLEN_224M:return MB(224); MB 395 arch/x86/kernel/early-quirks.c case INTEL_GMCH_GMS_STOLEN_352M:return MB(352); MB 411 arch/x86/kernel/early-quirks.c return gms * MB(32); MB 422 arch/x86/kernel/early-quirks.c return gms * MB(32); MB 439 arch/x86/kernel/early-quirks.c return gms * MB(32); MB 441 arch/x86/kernel/early-quirks.c return (gms - 0x11) * MB(4) + MB(8); MB 443 arch/x86/kernel/early-quirks.c return (gms - 0x17) * MB(4) + MB(36); MB 457 arch/x86/kernel/early-quirks.c return gms * MB(32); MB 459 arch/x86/kernel/early-quirks.c return (gms - 0xf0) * MB(4) + MB(4); MB 104 arch/x86/pci/ce4100.c DEFINE_REG(2, 0, 0x10, (16*MB), reg_init, reg_read, reg_write) MB 113 arch/x86/pci/ce4100.c DEFINE_REG(8, 0, 0x10, (1*MB), reg_init, reg_read, reg_write) MB 116 arch/x86/pci/ce4100.c DEFINE_REG(9, 0, 0x10 , (1*MB), reg_init, reg_read, reg_write) MB 119 arch/x86/pci/ce4100.c DEFINE_REG(10, 0, 0x14, (256*MB), reg_init, reg_read, reg_write) MB 148 arch/x86/pci/ce4100.c DEFINE_REG(16, 0, 0x14, (64*MB), reg_init, reg_read, reg_write) MB 149 arch/x86/pci/ce4100.c DEFINE_REG(16, 0, 0x18, (64*MB), reg_init, reg_read, reg_write) MB 207 arch/x86/pci/ce4100.c av_bridge_limit = av_bridge_base + (512*MB - 1); MB 349 drivers/block/aoe/aoeblk.c enum { KB = 1024, MB = KB * KB, READ_AHEAD = 2 * MB, }; MB 160 drivers/char/agp/agp.h #define GB(x) (MB (KB (x))) MB 231 drivers/char/agp/hp-agp.c size = hp_private.gart_size / MB(1); MB 357 drivers/char/agp/intel-gtt.c stolen_size = MB(1); MB 360 drivers/char/agp/intel-gtt.c stolen_size = MB(8); MB 365 drivers/char/agp/intel-gtt.c MB(ddt[I830_RDRAM_DDT(rdct)]); MB 375 drivers/char/agp/intel-gtt.c stolen_size = MB(1); MB 378 drivers/char/agp/intel-gtt.c stolen_size = MB(4); MB 381 drivers/char/agp/intel-gtt.c stolen_size = MB(8); MB 384 drivers/char/agp/intel-gtt.c stolen_size = MB(16); MB 387 drivers/char/agp/intel-gtt.c stolen_size = MB(32); MB 390 drivers/char/agp/intel-gtt.c stolen_size = MB(48); MB 393 drivers/char/agp/intel-gtt.c stolen_size = MB(64); MB 396 drivers/char/agp/intel-gtt.c stolen_size = MB(128); MB 399 drivers/char/agp/intel-gtt.c stolen_size = MB(256); MB 402 drivers/char/agp/intel-gtt.c stolen_size = MB(96); MB 405 drivers/char/agp/intel-gtt.c stolen_size = MB(160); MB 408 drivers/char/agp/intel-gtt.c stolen_size = MB(224); MB 411 drivers/char/agp/intel-gtt.c stolen_size = MB(352); MB 527 drivers/char/agp/intel-gtt.c aperture_size = MB(32); MB 529 drivers/char/agp/intel-gtt.c aperture_size = MB(64); MB 537 drivers/char/agp/intel-gtt.c aperture_size = MB(64); MB 539 drivers/char/agp/intel-gtt.c aperture_size = MB(128); MB 680 drivers/char/agp/intel-gtt.c aper_size = (intel_private.gtt_mappable_entries << PAGE_SHIFT) / MB(1); MB 1146 drivers/char/agp/intel-gtt.c intel_private.gtt_phys_addr = reg_addr + MB(2); MB 69 drivers/char/agp/parisc-agp.c size = parisc_agp_info.gart_size / MB(1); MB 50 drivers/iio/pressure/bmp280-core.c s16 MB; MB 794 drivers/iio/pressure/bmp280-core.c calib->MB = be16_to_cpu(buf[MB]); MB 952 drivers/net/fddi/skfp/fplustm.c outpw(FM_A(FM_TVX), (u_short) (- US2BCLK(52))/255 & MB) ; MB 955 drivers/net/fddi/skfp/fplustm.c (u_short)((smc->mib.m[MAC0].fddiMACTvxValue/255) & MB)) ; MB 310 drivers/video/fbdev/aty/aty128fb.c u8 MB; MB 325 drivers/video/fbdev/aty/aty128fb.c .MB = 4, MB 339 drivers/video/fbdev/aty/aty128fb.c .MB = 8, MB 353 drivers/video/fbdev/aty/aty128fb.c .MB = 4, MB 367 drivers/video/fbdev/aty/aty128fb.c .MB = 4, MB 1448 drivers/video/fbdev/aty/aty128fb.c ron = 4 * m->MB + MB 596 drivers/video/fbdev/intelfb/intelfbdrv.c if (ROUND_UP_TO_PAGE(stolen_size) >= MB(vram)) { MB 600 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->fb.size = MB(vram); MB 627 drivers/video/fbdev/intelfb/intelfbdrv.c if (MB(voffset) < stolen_size) MB 630 drivers/video/fbdev/intelfb/intelfbdrv.c offset = ROUND_UP_TO_PAGE(MB(voffset))/GTT_PAGE_SIZE; MB 208 drivers/video/fbdev/intelfb/intelfbhw.c *aperture_size = MB(128); MB 210 drivers/video/fbdev/intelfb/intelfbhw.c *aperture_size = MB(256); MB 214 drivers/video/fbdev/intelfb/intelfbhw.c *aperture_size = MB(64); MB 216 drivers/video/fbdev/intelfb/intelfbhw.c *aperture_size = MB(128); MB 222 drivers/video/fbdev/intelfb/intelfbhw.c stolen_overhead = (*aperture_size / MB(1)) + 4; MB 231 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(1) - KB(stolen_overhead); MB 234 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(8) - KB(stolen_overhead); MB 251 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(1) - KB(stolen_overhead); MB 254 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(4) - KB(stolen_overhead); MB 257 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(8) - KB(stolen_overhead); MB 260 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(16) - KB(stolen_overhead); MB 263 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(32) - KB(stolen_overhead); MB 266 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(48) - KB(stolen_overhead); MB 269 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(64) - KB(stolen_overhead); MB 144 drivers/video/fbdev/nvidia/nv_hw.c unsigned int pll, N, M, MB, NB, P; MB 154 drivers/video/fbdev/nvidia/nv_hw.c MB = 1; MB 157 drivers/video/fbdev/nvidia/nv_hw.c MB = (pll >> 16) & 0xFF; MB 160 drivers/video/fbdev/nvidia/nv_hw.c *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 167 drivers/video/fbdev/nvidia/nv_hw.c MB = (pll >> 16) & 0xFF; MB 170 drivers/video/fbdev/nvidia/nv_hw.c *NVClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 178 drivers/video/fbdev/nvidia/nv_hw.c MB = pll & 0xFF; MB 181 drivers/video/fbdev/nvidia/nv_hw.c MB = 1; MB 184 drivers/video/fbdev/nvidia/nv_hw.c *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 192 drivers/video/fbdev/nvidia/nv_hw.c MB = pll & 0xFF; MB 195 drivers/video/fbdev/nvidia/nv_hw.c MB = 1; MB 198 drivers/video/fbdev/nvidia/nv_hw.c *NVClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 207 drivers/video/fbdev/nvidia/nv_hw.c MB = (pll >> 4) & 0x07; MB 210 drivers/video/fbdev/nvidia/nv_hw.c MB = 1; MB 213 drivers/video/fbdev/nvidia/nv_hw.c *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 220 drivers/video/fbdev/nvidia/nv_hw.c MB = (pll >> 4) & 0x07; MB 223 drivers/video/fbdev/nvidia/nv_hw.c MB = 1; MB 226 drivers/video/fbdev/nvidia/nv_hw.c *NVClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; MB 91 tools/testing/selftests/cgroup/test_memcontrol.c size_t size = MB(50); MB 122 tools/testing/selftests/cgroup/test_memcontrol.c size_t size = MB(50); MB 193 tools/testing/selftests/cgroup/test_memcontrol.c return alloc_pagecache(fd, MB(50)); MB 201 tools/testing/selftests/cgroup/test_memcontrol.c if (alloc_pagecache(fd, MB(50))) MB 345 tools/testing/selftests/cgroup/test_memcontrol.c MB(150), 3)) { MB 351 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_run(parent[2], alloc_anon, (void *)MB(148))) MB 354 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) MB 360 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(c[0], MB(33), 10)) MB 363 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(c[1], MB(17), 10)) MB 369 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(parent[2], alloc_anon, (void *)MB(170))) MB 372 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) MB 498 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_run(parent[2], alloc_anon, (void *)MB(148))) MB 501 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) MB 507 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(c[0], MB(33), 10)) MB 510 tools/testing/selftests/cgroup/test_memcontrol.c if (!values_close(c[1], MB(17), 10)) MB 516 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_run(parent[2], alloc_anon, (void *)MB(166))) { MB 558 tools/testing/selftests/cgroup/test_memcontrol.c size_t size = MB(50); MB 571 tools/testing/selftests/cgroup/test_memcontrol.c if (current <= MB(29) || current > MB(30)) MB 609 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_run(memcg, alloc_anon, (void *)MB(100))) MB 659 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(memcg, alloc_anon, (void *)MB(100))) MB 666 tools/testing/selftests/cgroup/test_memcontrol.c if (current > MB(30) || !current) MB 685 tools/testing/selftests/cgroup/test_memcontrol.c size_t size = MB(50); MB 747 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(memcg, alloc_anon, (void *)MB(100))) MB 756 tools/testing/selftests/cgroup/test_memcontrol.c if (cg_run(memcg, alloc_anon_50M_check_swap, (void *)MB(30))) MB 795 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(memcg, alloc_anon, (void *)MB(100))) MB 1036 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(parent, alloc_anon_noexit, (void *) MB(60)); MB 1037 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); MB 1038 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); MB 1039 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(child, alloc_anon, (void *)MB(100))) MB 1095 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(parent, alloc_anon_noexit, (void *) MB(60)); MB 1096 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); MB 1097 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(child, alloc_anon_noexit, (void *) MB(1)); MB 1099 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(child, alloc_anon, (void *)MB(100))) MB 1148 tools/testing/selftests/cgroup/test_memcontrol.c safe_pid = cg_run_nowait(memcg, alloc_anon_noexit, (void *) MB(1)); MB 1152 tools/testing/selftests/cgroup/test_memcontrol.c cg_run_nowait(memcg, alloc_anon_noexit, (void *) MB(1)); MB 1153 tools/testing/selftests/cgroup/test_memcontrol.c if (!cg_run(memcg, alloc_anon, (void *)MB(100))) MB 34 tools/testing/selftests/vm/gup_benchmark.c unsigned long size = 128 * MB; MB 43 tools/testing/selftests/vm/gup_benchmark.c size = atoi(optarg) * MB;