Home
last modified time | relevance | path

Searched refs:MB (Results 1 – 25 of 618) sorted by relevance

12345678910>>...25

/linux-6.15/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh91 MB=$(get_machine_hugepage_size)
101 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
105 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
169 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
170 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
301 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file)
302 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_…
358 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file
359 …local cgroup1_reservation_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$reservation_usa…
360 local cgroup2_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$fault_usage_file
[all …]
H A Dhugetlb_reparenting_test.sh48 MB=$(get_machine_hugepage_size)
79 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
80 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
88 actual_a_hugetlb="$(cat "$CGROUP_ROOT"/a/hugetlb.${MB}MB.$usage_file)"
91 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
92 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
107 echo actual b = $((${actual_b%% *} / 1024 / 1024)) MB
108 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
116 actual_b_hugetlb="$(cat "$CGROUP_ROOT"/a/b/hugetlb.${MB}MB.$usage_file)"
119 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
[all …]
/linux-6.15/Documentation/arch/xtensa/
H A Dmmu.rst104 | Cached KSEG | XCHAL_KSEG_CACHED_VADDR 0xd0000000 128MB
106 | Uncached KSEG | XCHAL_KSEG_BYPASS_VADDR 0xd8000000 128MB
108 | Cached KIO | XCHAL_KIO_CACHED_VADDR 0xe0000000 256MB
110 | Uncached KIO | XCHAL_KIO_BYPASS_VADDR 0xf0000000 256MB
114 256MB cached + 256MB uncached layout::
147 | Cached KSEG | XCHAL_KSEG_CACHED_VADDR 0xb0000000 256MB
149 | Uncached KSEG | XCHAL_KSEG_BYPASS_VADDR 0xc0000000 256MB
152 | Cached KIO | XCHAL_KIO_CACHED_VADDR 0xe0000000 256MB
154 | Uncached KIO | XCHAL_KIO_BYPASS_VADDR 0xf0000000 256MB
158 512MB cached + 512MB uncached layout::
[all …]
/linux-6.15/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c95 size_t size = MB(50); in alloc_anon_50M_check()
131 size_t size = MB(50); in alloc_pagecache_50M_check()
194 if (peak < MB(50)) in test_memcg_current_peak()
250 if (peak < MB(50)) in test_memcg_current_peak()
274 if (peak < MB(50)) in test_memcg_current_peak()
279 if (peak < MB(50)) in test_memcg_current_peak()
283 if (peak < MB(50)) in test_memcg_current_peak()
516 current = min ? MB(50) : MB(30); in test_memcg_protection()
585 if (high != MB(30) && max != MB(30)) in alloc_pagecache_max_30M()
1039 if (peak < MB(29)) in test_memcg_swap_max_peak()
[all …]
/linux-6.15/tools/perf/Documentation/
H A Dperf-iostat.txt18 - Inbound Read - I/O devices below root port read from the host memory, in MB
20 - Inbound Write - I/O devices below root port write to the host memory, in MB
22 - Outbound Read - CPU reads from I/O devices below root port, in MB
24 - Outbound Write - CPU writes to I/O devices below root port, in MB
61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
80 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
/linux-6.15/arch/x86/kernel/
H A Dearly-quirks.c243 #define MB(x) (KB (KB (x))) macro
253 return MB(1); in i830_tseg_size()
268 case I845_TSEG_SIZE_1M: return MB(1); in i845_tseg_size()
282 return MB(1); in i85x_tseg_size()
412 return gms * MB(32); in gen6_stolen_size()
423 return gms * MB(32); in gen8_stolen_size()
440 return gms * MB(32); in chv_stolen_size()
442 return (gms - 0x11) * MB(4) + MB(8); in chv_stolen_size()
444 return (gms - 0x17) * MB(4) + MB(36); in chv_stolen_size()
458 return gms * MB(32); in gen9_stolen_size()
[all …]
/linux-6.15/tools/memory-model/
H A Dlinux-kernel.def17 smp_store_mb(X,V) { __store{ONCE}(X,V); __fence{MB}; }
20 smp_mb() { __fence{MB}; }
31 xchg(X,V) __xchg{MB}(X,V)
35 cmpxchg(X,V,W) __cmpxchg{MB}(X,V,W)
79 atomic_fetch_add(V,X) __atomic_fetch_op{MB}(X,+,V)
84 atomic_fetch_and(V,X) __atomic_fetch_op{MB}(X,&,V)
89 atomic_fetch_or(V,X) __atomic_fetch_op{MB}(X,|,V)
103 atomic_fetch_inc(X) __atomic_fetch_op{MB}(X,+,1)
121 atomic_fetch_dec(X) __atomic_fetch_op{MB}(X,-,1)
126 atomic_xchg(X,V) __xchg{MB}(X,V)
[all …]
/linux-6.15/Documentation/driver-api/cxl/
H A Dmemory-devices.rst211 "size":"512.00 MiB (536.87 MB)",
218 "size":"512.00 MiB (536.87 MB)",
225 "size":"256.00 MiB (268.44 MB)",
232 "size":"256.00 MiB (268.44 MB)",
240 "pmem_size":"256.00 MiB (268.44 MB)",
241 "ram_size":"256.00 MiB (268.44 MB)",
268 "ram_size":"256.00 MiB (268.44 MB)",
276 "ram_size":"256.00 MiB (268.44 MB)",
284 "ram_size":"256.00 MiB (268.44 MB)",
292 "ram_size":"256.00 MiB (268.44 MB)",
[all …]
/linux-6.15/Documentation/devicetree/bindings/pci/
H A Dv3-v360epc-pci.txt11 second the configuration area register space, 16MB
18 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 */
H A Dfaraday,ftpci100.yaml84 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,
85 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.h71 [0] = ICE_PHY_TYPE(100MB, 100baseT_Full),
72 [1] = ICE_PHY_TYPE(100MB, 100baseT_Full),
73 [2] = ICE_PHY_TYPE(1000MB, 1000baseT_Full),
74 [3] = ICE_PHY_TYPE(1000MB, 1000baseX_Full),
75 [4] = ICE_PHY_TYPE(1000MB, 1000baseX_Full),
76 [5] = ICE_PHY_TYPE(1000MB, 1000baseKX_Full),
77 [6] = ICE_PHY_TYPE(1000MB, 1000baseT_Full),
78 [7] = ICE_PHY_TYPE(2500MB, 2500baseT_Full),
79 [8] = ICE_PHY_TYPE(2500MB, 2500baseX_Full),
80 [9] = ICE_PHY_TYPE(2500MB, 2500baseX_Full),
/linux-6.15/arch/x86/kernel/cpu/
H A Dcacheinfo.c50 #define MB(x) ((x) * 1024) macro
81 { 0x44, LVL_2, MB(1) }, /* 4-way set assoc, 32 byte line size */
82 { 0x45, LVL_2, MB(2) }, /* 4-way set assoc, 32 byte line size */
83 { 0x46, LVL_3, MB(4) }, /* 4-way set assoc, 64 byte line size */
84 { 0x47, LVL_3, MB(8) }, /* 8-way set assoc, 64 byte line size */
85 { 0x48, LVL_2, MB(3) }, /* 12-way set assoc, 64 byte line size */
96 { 0x78, LVL_2, MB(1) }, /* 4-way set assoc, 64 byte line size */
101 { 0x7d, LVL_2, MB(2) }, /* 8-way set assoc, 64 byte line size */
106 { 0x84, LVL_2, MB(1) }, /* 8-way set assoc, 32 byte line size */
107 { 0x85, LVL_2, MB(2) }, /* 8-way set assoc, 32 byte line size */
[all …]
/linux-6.15/Documentation/arch/x86/x86_64/
H A Dmm.rst20 from TB to GB and then MB/KB.
78 ffffffff80000000 |-2048 MB | | |
79 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space
80 ffffffffff000000 | -16 MB | | |
81 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s…
83 ffffffffffe00000 | -2 MB | ffffffffffffffff | 2 MB | ... unused hole
148 ffffffff80000000 |-2048 MB | | |
149 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space
150 ffffffffff000000 | -16 MB | | |
151 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s…
[all …]
/linux-6.15/arch/arm/boot/dts/xilinx/
H A Dzynq-cc108.dts58 flash@0 { /* 16 MB */
68 reg = <0x0 0x400000>; /* 4MB */
72 reg = <0x400000 0x400000>; /* 4MB */
76 reg = <0x800000 0x400000>; /* 4MB */
80 reg = <0xc00000 0x100000>; /* 1MB */
84 reg = <0xd00000 0x200000>; /* 2MB */
88 reg = <0xf00000 0x100000>; /* 1MB */
/linux-6.15/arch/powerpc/boot/dts/fsl/
H A Dc293pcie.dts83 /* 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 */
175 /* 1MB for u-boot Bootloader Image */
176 /* 1MB for Environment */
189 /* 4MB for Linux Kernel Image */
[all …]
H A Dp1024rdb.dtsi59 /* 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 …]
H A Dp2020rdb.dts60 /* 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 …]
H A Dp1020rdb.dtsi60 /* 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 …]
H A Dp2020rdb-pc.dtsi59 /* 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 …]
H A Dp1021rdb-pc.dtsi59 /* 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 …]
/linux-6.15/arch/alpha/kernel/
H A Dpci.c123 #define MB (1024*KB) macro
124 #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-6.15/Documentation/translations/zh_CN/arch/arm64/
H A Dbooting.txt69 设备树数据块(dtb)必须 8 字节对齐,且大小不能超过 2MB。由于设备树
70 数据块将在使能缓存的情况下以 2MB 粒度被映射,故其不能被置于必须以特定
74 text_offset 字节处算起第一个 512MB 内。
129 0 - 2MB 对齐基址应尽量靠近内存起始处,因为
131 1 - 2MB 对齐基址可以在物理内存的任意位置
138 内核映像必须被放置在任意一个可用系统内存 2MB 对齐基址的 text_offset
139 字节处,并从该处被调用。2MB 对齐基址和内核映像起始地址之间的区域对于
/linux-6.15/arch/arm64/boot/dts/broadcom/northstar2/
H A Dns2-xmc.dts90 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 */
178 reg = <0x00200000 0x00e00000>; /* 14MB */
183 reg = <0x01000000 0x01000000>; /* 16MB */
/linux-6.15/Documentation/translations/zh_TW/arch/arm64/
H A Dbooting.txt73 設備樹數據塊(dtb)必須 8 字節對齊,且大小不能超過 2MB。由於設備樹
74 數據塊將在使能緩存的情況下以 2MB 粒度被映射,故其不能被置於必須以特定
78 text_offset 字節處算起第一個 512MB 內。
133 0 - 2MB 對齊基址應儘量靠近內存起始處,因爲
135 1 - 2MB 對齊基址可以在物理內存的任意位置
142 內核映像必須被放置在任意一個可用系統內存 2MB 對齊基址的 text_offset
143 字節處,並從該處被調用。2MB 對齊基址和內核映像起始地址之間的區域對於
/linux-6.15/tools/memory-model/Documentation/
H A Dherd-representation.txt43 | smp_store_mb | W[ONCE] ->po F[MB] |
44 | smp_mb | F[MB] |
74 | atomic_add_return | R*[MB] ->rmw W*[MB] |
101 | atomic_cmpxchg | On success: R*[MB] ->rmw W*[MB] |
102 | | On failure: R*[MB] |

12345678910>>...25