| /Linux-v5.4/Documentation/xtensa/ | 
| D | mmu.rst | 62 5. The parent-bus-address value is rounded down to the nearest 256MB boundary64 6. The IO area covers the entire 256MB segment of parent-bus-address; the
 83   | VMALLOC area     |  VMALLOC_START            0xc0000000  128MB - 64KB
 95   |                  |                                       (4MB * DCACHE_N_COLORS)
 103   | Cached KSEG      |  XCHAL_KSEG_CACHED_VADDR  0xd0000000  128MB
 105   | Uncached KSEG    |  XCHAL_KSEG_BYPASS_VADDR  0xd8000000  128MB
 107   | Cached KIO       |  XCHAL_KIO_CACHED_VADDR   0xe0000000  256MB
 109   | Uncached KIO     |  XCHAL_KIO_BYPASS_VADDR   0xf0000000  256MB
 113 256MB cached + 256MB uncached layout::
 125   | VMALLOC area     |  VMALLOC_START            0xa0000000  128MB - 64KB
 [all …]
 
 | 
| /Linux-v5.4/arch/x86/kernel/ | 
| D | early-quirks.c | 242 #define MB(x)	(KB (KB (x)))  macro252 		return MB(1);  in i830_tseg_size()
 267 	case I845_TSEG_SIZE_1M:		return MB(1);  in i845_tseg_size()
 281 	return MB(1);  in i85x_tseg_size()
 286 	return read_pci_config_byte(0, 0, 0, I830_DRB3) * MB(32);  in i830_mem_size()
 291 	return read_pci_config_byte(0, 0, 1, I85X_DRB3) * MB(32);  in i85x_mem_size()
 363 	case I830_GMCH_GMS_STOLEN_1024:	return MB(1);  in i830_stolen_size()
 364 	case I830_GMCH_GMS_STOLEN_8192:	return MB(8);  in i830_stolen_size()
 383 	case I855_GMCH_GMS_STOLEN_1M:	return MB(1);  in gen3_stolen_size()
 384 	case I855_GMCH_GMS_STOLEN_4M:	return MB(4);  in gen3_stolen_size()
 [all …]
 
 | 
| /Linux-v5.4/tools/testing/selftests/cgroup/ | 
| D | test_memcontrol.c | 91 	size_t size = MB(50);  in alloc_anon_50M_check()122 	size_t size = MB(50);  in alloc_pagecache_50M_check()
 193 	return alloc_pagecache(fd, MB(50));  in alloc_pagecache_50M()
 201 	if (alloc_pagecache(fd, MB(50)))  in alloc_pagecache_50M_noexit()
 345 			     MB(150), 3)) {  in test_memcg_min()
 351 	if (cg_run(parent[2], alloc_anon, (void *)MB(148)))  in test_memcg_min()
 354 	if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3))  in test_memcg_min()
 360 	if (!values_close(c[0], MB(33), 10))  in test_memcg_min()
 363 	if (!values_close(c[1], MB(17), 10))  in test_memcg_min()
 369 	if (!cg_run(parent[2], alloc_anon, (void *)MB(170)))  in test_memcg_min()
 [all …]
 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/pci/ | 
| D | v3-v360epc-pci.txt | 11   second the configuration area register space, 16MB18     each be exactly 256MB (0x10000000) in size.
 22   be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB,
 23   64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked
 50 		0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
 
 | 
| D | faraday,ftpci100.txt | 29   be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,30   128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as
 
 | 
| /Linux-v5.4/arch/x86/kernel/cpu/ | 
| D | cacheinfo.c | 38 #define MB(x)	((x) * 1024)  macro54 	{ 0x23, LVL_3,      MB(1) },	/* 8-way set assoc, sectored cache, 64 byte line size */
 55 	{ 0x25, LVL_3,      MB(2) },	/* 8-way set assoc, sectored cache, 64 byte line size */
 56 	{ 0x29, LVL_3,      MB(4) },	/* 8-way set assoc, sectored cache, 64 byte line size */
 69 	{ 0x44, LVL_2,      MB(1) },	/* 4-way set assoc, 32 byte line size */
 70 	{ 0x45, LVL_2,      MB(2) },	/* 4-way set assoc, 32 byte line size */
 71 	{ 0x46, LVL_3,      MB(4) },	/* 4-way set assoc, 64 byte line size */
 72 	{ 0x47, LVL_3,      MB(8) },	/* 8-way set assoc, 64 byte line size */
 73 	{ 0x48, LVL_2,      MB(3) },	/* 12-way set assoc, 64 byte line size */
 74 	{ 0x49, LVL_3,      MB(4) },	/* 16-way set assoc, 64 byte line size */
 [all …]
 
 | 
| /Linux-v5.4/Documentation/x86/x86_64/ | 
| D | mm.rst | 20    from TB to GB and then MB/KB.65 …ffffffff80000000 |   -2    GB | ffffffff9fffffff |  512 MB | kernel text mapping, mapped to physic…
 66    ffffffff80000000 |-2048    MB |                  |         |
 67    ffffffffa0000000 |-1536    MB | fffffffffeffffff | 1520 MB | module mapping space
 68    ffffffffff000000 |  -16    MB |                  |         |
 69 …FIXADDR_START | ~-11    MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s…
 70    ffffffffff600000 |  -10    MB | ffffffffff600fff |    4 kB | legacy vsyscall ABI
 71    ffffffffffe00000 |   -2    MB | ffffffffffffffff |    2 MB | ... unused hole
 124 …ffffffff80000000 |   -2    GB | ffffffff9fffffff |  512 MB | kernel text mapping, mapped to physic…
 125    ffffffff80000000 |-2048    MB |                  |         |
 [all …]
 
 | 
| /Linux-v5.4/arch/powerpc/boot/dts/fsl/ | 
| D | c293pcie.dts | 83 			/* 1MB for DTB Image */89 			/* 8 MB for Linux Kernel Image */
 95 			/* 53MB for rootfs */
 101 			/* 1MB for blob encrypted key */
 122 			/* 1MB for u-boot Bootloader Image */
 129 			/* 1MB for DTB Image */
 135 			/* 16MB for Linux Kernel Image */
 141 			/* 4078MB for Root file System Image */
 175 				/* 1MB for u-boot Bootloader Image */
 176 				/* 1MB for Environment */
 [all …]
 
 | 
| D | p1024rdb.dtsi | 59 			/* 3.5 MB for Linux Kernel Image */65 			/* 11MB for JFFS2 based Root file System */
 89 			/* 1MB for u-boot Bootloader Image */
 96 			/* 1MB for DTB Image */
 102 			/* 4MB for Linux Kernel Image */
 108 			/* 4MB for Compressed Root file System Image */
 114 			/* 15MB for JFFS2 based Root file System */
 120 			/* 7MB for User Writable Area */
 150 				/* 4MB for Linux Kernel Image */
 156 				/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p2020rdb.dts | 60 				/* 3.5 MB for Linux Kernel Image */67 				/* 11MB for JFFS2 based Root file System */
 91 				/* 1MB for u-boot Bootloader Image */
 98 				/* 1MB for DTB Image */
 105 				/* 4MB for Linux Kernel Image */
 112 				/* 4MB for Compressed Root file System Image */
 119 				/* 7MB for JFFS2 based Root file System */
 125 				/* 15MB for JFFS2 based Root file System */
 173 					/* 4MB for Linux Kernel Image */
 180 					/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p1020rdb.dtsi | 60 			/* 3.5 MB for Linux Kernel Image */67 			/* 11MB for JFFS2 based Root file System */
 91 			/* 1MB for u-boot Bootloader Image */
 98 			/* 1MB for DTB Image */
 105 			/* 4MB for Linux Kernel Image */
 112 			/* 4MB for Compressed Root file System Image */
 119 			/* 7MB for JFFS2 based Root file System */
 125 			/* 15MB for JFFS2 based Root file System */
 170 				/* 4MB for Linux Kernel Image */
 177 				/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p2020rdb-pc.dtsi | 59 			/* 3.5 MB for Linux Kernel Image */65 			/* 11MB for JFFS2 based Root file System */
 89 			/* 1MB for u-boot Bootloader Image */
 96 			/* 1MB for DTB Image */
 102 			/* 4MB for Linux Kernel Image */
 108 			/* 4MB for Compressed Root file System Image */
 114 			/* 7MB for JFFS2 based Root file System */
 120 			/* 15MB for JFFS2 based Root file System */
 172 				/* 4MB for Linux Kernel Image */
 178 				/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p1021rdb-pc.dtsi | 59 			/* 3.5 MB for Linux Kernel Image */65 			/* 10.75MB for JFFS2 based Root file System */
 96 			/* 1MB for u-boot Bootloader Image */
 103 			/* 1MB for DTB Image */
 109 			/* 4MB for Linux Kernel Image */
 115 			/* 4MB for Compressed Root file System Image */
 121 			/* 7MB for JFFS2 based Root file System */
 127 			/* 15MB for User Writable Area  */
 171 				/* 4MB for Linux Kernel Image */
 177 				/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p1020rdb-pc.dtsi | 59 			/* 3.5 MB for Linux Kernel Image */65 			/* 11MB for JFFS2 based Root file System */
 89 			/* 1MB for u-boot Bootloader Image */
 96 			/* 1MB for DTB Image */
 102 			/* 4MB for Linux Kernel Image */
 108 			/* 4MB for Compressed Root file System Image */
 114 			/* 7MB for JFFS2 based Root file System */
 120 			/* 15MB for JFFS2 based Root file System */
 172 				/* 4MB for Linux Kernel Image */
 178 				/* 4MB for Compressed RFS Image */
 [all …]
 
 | 
| D | p1010rdb-pa.dtsi | 38 		/* 1MB for u-boot Bootloader Image */45 		/* 1MB for DTB Image */
 51 		/* 4MB for Linux Kernel Image */
 57 		/* 4MB for Compressed Root file System Image */
 63 		/* 15MB for JFFS2 based Root file System */
 69 		/* 7MB for User Area */
 
 | 
| D | sbc8641d.dts | 26 		ranges = <0 0 0xff000000 0x01000000	// 16MB Boot flash28 			  2 0 0xf1000000 0x00100000	// EPLD (1MB)
 29 			  3 0 0xe0000000 0x04000000	// 64MB LB SDRAM (CS3)
 30 			  4 0 0xe4000000 0x04000000	// 64MB LB SDRAM (CS4)
 31 			  6 0 0xf4000000 0x00100000	// LCD display (1MB)
 32 			  7 0 0xe8000000 0x04000000>;	// 64MB OneNAND
 
 | 
| /Linux-v5.4/arch/alpha/kernel/ | 
| D | pci.c | 123 #define MB			(1024*KB)  macro124 #define GB			(1024*MB)
 170 		if (hose->sparse_mem_base && size <= 7 * 16*MB) {  in pcibios_align_resource()
 171 			if (((start / (16*MB)) & 0x7) == 0) {  in pcibios_align_resource()
 172 				start &= ~(128*MB - 1);  in pcibios_align_resource()
 173 				start += 16*MB;  in pcibios_align_resource()
 176 			if (start/(128*MB) != (start + size - 1)/(128*MB)) {  in pcibios_align_resource()
 177 				start &= ~(128*MB - 1);  in pcibios_align_resource()
 178 				start += (128 + 16)*MB;  in pcibios_align_resource()
 187 #undef MB
 
 | 
| /Linux-v5.4/Documentation/translations/zh_CN/arm64/ | 
| D | booting.txt | 69 设备树数据块(dtb)必须 8 字节对齐,且大小不能超过 2MB。由于设备树70 数据块将在使能缓存的情况下以 2MB 粒度被映射,故其不能被置于必须以特定
 74 text_offset 字节处算起第一个 512MB 内。
 129 			0 - 2MB 对齐基址应尽量靠近内存起始处,因为
 131 			1 - 2MB 对齐基址可以在物理内存的任意位置
 138 内核映像必须被放置在任意一个可用系统内存 2MB 对齐基址的 text_offset
 139 字节处,并从该处被调用。2MB 对齐基址和内核映像起始地址之间的区域对于
 
 | 
| /Linux-v5.4/arch/arm64/boot/dts/broadcom/northstar2/ | 
| D | ns2-xmc.dts | 90 			reg = <0x00000000 0x00280000>; /*  2.5MB */96 			reg = <0x00280000 0x00040000>; /* 0.25MB */
 102 			reg = <0x002c0000 0x00040000>; /* 0.25MB */
 108 			reg = <0x00300000 0x03d00000>; /*   61MB */
 114 			reg = <0x04000000 0x06400000>; /*  100MB */
 119 			reg = <0x0a400000 0x35c00000>; /*  860MB */
 179 			reg = <0x00200000 0x00e00000>; /*   14MB */
 184 			reg = <0x01000000 0x01000000>; /*   16MB */
 
 | 
| /Linux-v5.4/Documentation/arm64/ | 
| D | memory.rst | 36   ffffa00000000000	ffffa00007ffffff	 128MB		bpf jit region37   ffffa00008000000	ffffa0000fffffff	 128MB		modules
 39   fffffdffbfff0000	fffffdfffe5f8fff	~998MB		[guard region]
 41   fffffdfffea00000	fffffdfffebfffff	   2MB		[guard region]
 42   fffffdfffec00000	fffffdffffbfffff	  16MB		PCI I/O space
 43   fffffdffffc00000	fffffdffffdfffff	   2MB		[guard region]
 45   ffffffffffe00000	ffffffffffffffff	   2MB		[guard region]
 56   ffffa00000000000	ffffa00007ffffff	 128MB		bpf jit region
 57   ffffa00008000000	ffffa0000fffffff	 128MB		modules
 61   fffffc1ffea00000	fffffc1ffebfffff	   2MB		[guard region]
 [all …]
 
 | 
| /Linux-v5.4/arch/arm/boot/dts/ | 
| D | armada-xp-linksys-mamba.dts | 36 		reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */337 				reg = <0x0000000 0x100000>;  /* 1MB */
 353 				reg = <0x900000 0x100000>;   /* 1MB */
 360 				reg = <0xa00000 0x2800000>;  /* 40MB */
 365 				reg = <0xd00000 0x2500000>;  /* 37MB */
 371 				reg = <0x3200000 0x2800000>; /* 40MB */
 376 				reg = <0x3500000 0x2500000>; /* 37MB */
 380 			 * 38MB, last MB is for the BBT, not writable
 395 				reg = <0x180000 0x780000>;   /* 7.5MB */
 
 | 
| D | kirkwood-laplug.dts | 20 		reg = <0x00000000 0x8000000>; /* 128 MB */126 	/* Total size : 512MB */
 131 		reg = <0x0 0x100000>; /* 1MB */
 137 		reg = <0x100000 0x1000000>; /* 16MB */
 142 		reg = <0x1100000 0x1EF00000>; /* 495MB */
 
 | 
| /Linux-v5.4/arch/powerpc/boot/dts/ | 
| D | sbc8548-altflash.dts | 5  * Configured for booting off the alternate (64MB SODIMM) flash.26 		ranges = <0x0 0x0 0xfc000000 0x04000000		/*64MB Flash*/
 27 			  0x3 0x0 0xf0000000 0x04000000		/*64MB SDRAM*/
 28 			  0x4 0x0 0xf4000000 0x04000000 	/*64MB SDRAM*/
 30 			  0x6 0x0 0xef800000 0x00800000>;	/*8MB Flash*/
 
 | 
| /Linux-v5.4/drivers/char/agp/ | 
| D | intel-gtt.c | 357 			stolen_size = MB(1);  in intel_gtt_stolen_size()360 			stolen_size = MB(8);  in intel_gtt_stolen_size()
 365 					MB(ddt[I830_RDRAM_DDT(rdct)]);  in intel_gtt_stolen_size()
 375 			stolen_size = MB(1);  in intel_gtt_stolen_size()
 378 			stolen_size = MB(4);  in intel_gtt_stolen_size()
 381 			stolen_size = MB(8);  in intel_gtt_stolen_size()
 384 			stolen_size = MB(16);  in intel_gtt_stolen_size()
 387 			stolen_size = MB(32);  in intel_gtt_stolen_size()
 390 			stolen_size = MB(48);  in intel_gtt_stolen_size()
 393 			stolen_size = MB(64);  in intel_gtt_stolen_size()
 [all …]
 
 | 
| /Linux-v5.4/arch/x86/pci/ | 
| D | ce4100.c | 44 #define MB (1024 * 1024)  macro104 	DEFINE_REG(2, 0, 0x10, (16*MB), reg_init, reg_read, reg_write)
 113 	DEFINE_REG(8, 0, 0x10, (1*MB), reg_init, reg_read, reg_write)
 116 	DEFINE_REG(9, 0, 0x10 , (1*MB), reg_init, reg_read, reg_write)
 119 	DEFINE_REG(10, 0, 0x14, (256*MB), reg_init, reg_read, reg_write)
 148 	DEFINE_REG(16, 0, 0x14, (64*MB), reg_init, reg_read, reg_write)
 149 	DEFINE_REG(16, 0, 0x18, (64*MB), reg_init, reg_read, reg_write)
 207 		av_bridge_limit = av_bridge_base + (512*MB - 1);  in bridge_read()
 
 |