KB 123 arch/alpha/kernel/pci.c #define MB (1024*KB) KB 21 arch/alpha/kernel/smc37c669.c #define MB (1024*KB) KB 24 arch/alpha/kernel/smc37c93x.c #define MB (1024*KB) KB 82 arch/powerpc/mm/book3s64/hash_utils.c #define MB (1024*KB) KB 242 arch/x86/kernel/early-quirks.c #define MB(x) (KB (KB (x))) KB 254 arch/x86/kernel/early-quirks.c return KB(512); KB 266 arch/x86/kernel/early-quirks.c case I845_TSEG_SIZE_512K: return KB(512); KB 323 arch/x86/kernel/early-quirks.c return toud * KB(64) + i845_tseg_size(); KB 362 arch/x86/kernel/early-quirks.c case I830_GMCH_GMS_STOLEN_512: return KB(512); KB 106 arch/x86/pci/ce4100.c DEFINE_REG(2, 1, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 107 arch/x86/pci/ce4100.c DEFINE_REG(3, 0, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 108 arch/x86/pci/ce4100.c DEFINE_REG(4, 0, 0x10, (128*KB), reg_init, reg_read, reg_write) KB 109 arch/x86/pci/ce4100.c DEFINE_REG(4, 1, 0x10, (128*KB), reg_init, reg_read, reg_write) KB 110 arch/x86/pci/ce4100.c DEFINE_REG(6, 0, 0x10, (512*KB), reg_init, reg_read, reg_write) KB 111 arch/x86/pci/ce4100.c DEFINE_REG(6, 1, 0x10, (512*KB), reg_init, reg_read, reg_write) KB 112 arch/x86/pci/ce4100.c DEFINE_REG(6, 2, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 114 arch/x86/pci/ce4100.c DEFINE_REG(8, 1, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 115 arch/x86/pci/ce4100.c DEFINE_REG(8, 2, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 117 arch/x86/pci/ce4100.c DEFINE_REG(9, 0, 0x14, (64*KB), reg_init, reg_read, reg_write) KB 129 arch/x86/pci/ce4100.c DEFINE_REG(11, 5, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 131 arch/x86/pci/ce4100.c DEFINE_REG(11, 7, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 133 arch/x86/pci/ce4100.c DEFINE_REG(12, 0, 0x10, (128*KB), reg_init, reg_read, reg_write) KB 136 arch/x86/pci/ce4100.c DEFINE_REG(13, 0, 0x10, (32*KB), reg_init, ehci_reg_read, reg_write) KB 137 arch/x86/pci/ce4100.c DEFINE_REG(13, 1, 0x10, (32*KB), reg_init, ehci_reg_read, reg_write) KB 145 arch/x86/pci/ce4100.c DEFINE_REG(15, 0, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 146 arch/x86/pci/ce4100.c DEFINE_REG(15, 0, 0x14, (64*KB), reg_init, reg_read, reg_write) KB 147 arch/x86/pci/ce4100.c DEFINE_REG(16, 0, 0x10, (64*KB), reg_init, reg_read, reg_write) KB 151 arch/x86/pci/ce4100.c DEFINE_REG(17, 0, 0x10, (128*KB), reg_init, reg_read, reg_write) KB 152 arch/x86/pci/ce4100.c DEFINE_REG(18, 0, 0x10, (1*KB), reg_init, reg_read, reg_write) KB 349 drivers/block/aoe/aoeblk.c enum { KB = 1024, MB = KB * KB, READ_AHEAD = 2 * MB, }; KB 159 drivers/char/agp/agp.h #define MB(x) (KB (KB (x))) KB 160 drivers/char/agp/agp.h #define GB(x) (MB (KB (x))) KB 133 drivers/char/agp/hp-agp.c if (PAGE_SIZE >= KB(64)) { KB 136 drivers/char/agp/hp-agp.c } else if (PAGE_SIZE >= KB(16)) { KB 139 drivers/char/agp/hp-agp.c } else if (PAGE_SIZE >= KB(8)) { KB 186 drivers/char/agp/intel-gtt.c intel_private.registers = ioremap(reg_addr, KB(64)); KB 354 drivers/char/agp/intel-gtt.c stolen_size = KB(512); KB 421 drivers/char/agp/intel-gtt.c (u64)stolen_size / KB(1), local ? "local" : "stolen"); KB 476 drivers/char/agp/intel-gtt.c size = KB(128); KB 479 drivers/char/agp/intel-gtt.c size = KB(256); KB 482 drivers/char/agp/intel-gtt.c size = KB(512); KB 486 drivers/char/agp/intel-gtt.c size = KB(1024); KB 489 drivers/char/agp/intel-gtt.c size = KB(2048); KB 492 drivers/char/agp/intel-gtt.c size = KB(1024 + 512); KB 497 drivers/char/agp/intel-gtt.c size = KB(512); KB 795 drivers/char/agp/intel-gtt.c intel_private.registers = ioremap(reg_addr, KB(64)); KB 1132 drivers/char/agp/intel-gtt.c int size = KB(512); KB 1149 drivers/char/agp/intel-gtt.c intel_private.gtt_phys_addr = reg_addr + KB(512); KB 92 drivers/mtd/nand/raw/mtk_nand.c #define MB(x) (KB(x) * 1024UL) KB 335 drivers/mtd/nand/raw/mtk_nand.c case KB(2): KB 341 drivers/mtd/nand/raw/mtk_nand.c case KB(4): KB 347 drivers/mtd/nand/raw/mtk_nand.c case KB(8): KB 353 drivers/mtd/nand/raw/mtk_nand.c case KB(16): KB 84 drivers/video/fbdev/intelfb/intelfb.h #define GTT_PAGE_SIZE KB(4) KB 121 drivers/video/fbdev/intelfb/intelfb.h #define RINGBUFFER_SIZE KB(64) KB 122 drivers/video/fbdev/intelfb/intelfb.h #define HW_CURSOR_SIZE KB(4) KB 948 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->initial_video_ram = screen_info.lfb_size * KB(64); KB 228 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = KB(512) - KB(stolen_overhead); KB 231 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(1) - KB(stolen_overhead); KB 234 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(8) - KB(stolen_overhead); KB 251 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(1) - KB(stolen_overhead); KB 254 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(4) - KB(stolen_overhead); KB 257 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(8) - KB(stolen_overhead); KB 260 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(16) - KB(stolen_overhead); KB 263 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(32) - KB(stolen_overhead); KB 266 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(48) - KB(stolen_overhead); KB 269 drivers/video/fbdev/intelfb/intelfbhw.c *stolen_size = MB(64) - KB(stolen_overhead); KB 78 kernel/tsacct.c #define MB (1024*KB) KB 79 kernel/tsacct.c #define KB_MASK (~(KB-1)) KB 89 kernel/tsacct.c do_div(stats->coremem, 1000 * KB); KB 91 kernel/tsacct.c do_div(stats->virtmem, 1000 * KB); KB 95 kernel/tsacct.c stats->hiwater_rss = get_mm_hiwater_rss(mm) * PAGE_SIZE / KB; KB 96 kernel/tsacct.c stats->hiwater_vm = get_mm_hiwater_vm(mm) * PAGE_SIZE / KB; KB 43 lib/lz4/lz4_compress.c static const int LZ4_64Klimit = ((64 * KB) + (MFLIMIT - 1)); KB 795 lib/lz4/lz4_compress.c if ((dictEnd - p) > 64 * KB) KB 796 lib/lz4/lz4_compress.c p = dictEnd - 64 * KB; KB 797 lib/lz4/lz4_compress.c dict->currentOffset += 64 * KB; KB 819 lib/lz4/lz4_compress.c U32 const delta = LZ4_dict->currentOffset - 64 * KB; KB 829 lib/lz4/lz4_compress.c LZ4_dict->currentOffset = 64 * KB; KB 830 lib/lz4/lz4_compress.c if (LZ4_dict->dictSize > 64 * KB) KB 831 lib/lz4/lz4_compress.c LZ4_dict->dictSize = 64 * KB; KB 841 lib/lz4/lz4_compress.c if ((U32)dictSize > 64 * KB) { KB 843 lib/lz4/lz4_compress.c dictSize = 64 * KB; KB 886 lib/lz4/lz4_compress.c if (streamPtr->dictSize > 64 * KB) KB 887 lib/lz4/lz4_compress.c streamPtr->dictSize = 64 * KB; KB 898 lib/lz4/lz4_compress.c if ((streamPtr->dictSize < 64 * KB) && KB 919 lib/lz4/lz4_compress.c if ((streamPtr->dictSize < 64 * KB) && KB 95 lib/lz4/lz4_decompress.c const int checkOffset = ((safeDecode) && (dictSize < (int)(64 * KB))); KB 472 lib/lz4/lz4_decompress.c (BYTE *)dest - 64 * KB, NULL, 0); KB 484 lib/lz4/lz4_decompress.c (BYTE *)dest - 64 * KB, NULL, 0); KB 594 lib/lz4/lz4_decompress.c if (lz4sd->prefixSize >= 64 * KB - 1) KB 643 lib/lz4/lz4_decompress.c if (lz4sd->prefixSize >= 64 * KB - 1 || KB 676 lib/lz4/lz4_decompress.c if (dictSize >= 64 * KB - 1) KB 65 lib/lz4/lz4hc_compress.c hc4->nextToUpdate = 64 * KB; KB 66 lib/lz4/lz4hc_compress.c hc4->base = start - 64 * KB; KB 68 lib/lz4/lz4hc_compress.c hc4->dictBase = start - 64 * KB; KB 69 lib/lz4/lz4hc_compress.c hc4->dictLimit = 64 * KB; KB 70 lib/lz4/lz4hc_compress.c hc4->lowLimit = 64 * KB; KB 111 lib/lz4/lz4hc_compress.c const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) KB 113 lib/lz4/lz4hc_compress.c : (U32)(ip - base) - (64 * KB - 1); KB 183 lib/lz4/lz4hc_compress.c const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) KB 185 lib/lz4/lz4hc_compress.c : (U32)(ip - base) - (64 * KB - 1); KB 631 lib/lz4/lz4hc_compress.c if (dictSize > 64 * KB) { KB 632 lib/lz4/lz4hc_compress.c dictionary += dictSize - 64 * KB; KB 633 lib/lz4/lz4hc_compress.c dictSize = 64 * KB; KB 685 lib/lz4/lz4hc_compress.c if (dictSize > 64 * KB) KB 686 lib/lz4/lz4hc_compress.c dictSize = 64 * KB; KB 743 lib/lz4/lz4hc_compress.c if (dictSize > 64 * KB) KB 744 lib/lz4/lz4hc_compress.c dictSize = 64 * KB; KB 485 lib/zstd/compress.c size_t const lhSize = 3 + (srcSize >= 1 KB) + (srcSize >= 16 KB); KB 2698 lib/zstd/compress.c if (dictContentSize <= ((U32)-1) - 128 KB) { KB 2699 lib/zstd/compress.c U32 const maxOffset = (U32)dictContentSize + 128 KB; /* The maximum offset that must be supported */ KB 3416 lib/zstd/compress.c U32 const tableID = (rSize <= 256 KB) + (rSize <= 128 KB) + (rSize <= 16 KB); /* intentional underflow for srcSizeHint == 0 */