/kernel/linux/linux-6.6/tools/testing/memblock/tests/ |
H A D | common.c | 64 memset(memory_block.base, 1, MEM_SIZE); in fill_memblock() 70 memblock_add((phys_addr_t)memory_block.base, MEM_SIZE); in setup_memblock() 78 * @node_fracs: an array representing the fraction of MEM_SIZE contained in 80 * For example, if node 0 should contain 1/8 of MEM_SIZE, 96 phys_addr_t size = MEM_SIZE * node_fracs[i] / BASIS; in setup_numa_memblock() 106 memory_block.base = malloc(MEM_SIZE); in dummy_physical_memory_init()
|
H A D | alloc_api.c | 274 phys_addr_t rgn_size = (MEM_SIZE - (2 * gap_size + r3_size)) / 2; in alloc_in_between_generic_check() 358 memblock_reserve(memblock_start_of_DRAM(), MEM_SIZE); in alloc_all_reserved_generic_check() local 386 phys_addr_t reserved_size = MEM_SIZE - available_size; in alloc_no_space_generic_check() 419 phys_addr_t reserved_size = MEM_SIZE - available_size; in alloc_limited_space_generic_check() 432 ASSERT_EQ(rgn->size, MEM_SIZE); in alloc_limited_space_generic_check() 436 ASSERT_EQ(memblock.reserved.total_size, MEM_SIZE); in alloc_limited_space_generic_check() 490 allocated_ptr = run_memblock_alloc(MEM_SIZE + SZ_2, SMP_CACHE_BYTES); in alloc_too_large_generic_check()
|
H A D | alloc_helpers_api.c | 202 memblock_reserve(start_addr + r1_size, MEM_SIZE - r1_size); in alloc_from_top_down_min_addr_cap_check() 208 ASSERT_EQ(rgn->size, MEM_SIZE); in alloc_from_top_down_min_addr_cap_check() 211 ASSERT_EQ(memblock.reserved.total_size, MEM_SIZE); in alloc_from_top_down_min_addr_cap_check()
|
H A D | basic_api.c | 919 memblock_add(dummy_physical_memory_base(), MEM_SIZE); in memblock_reserve_many_check() local 923 memblock_reserve(memory_base, MEM_SIZE); in memblock_reserve_many_check() 926 ASSERT_EQ(memblock.reserved.total_size, (i + 1) * MEM_SIZE); in memblock_reserve_many_check() 929 memory_base += MEM_SIZE * 2; in memblock_reserve_many_check() 935 memblock_reserve(memory_base, MEM_SIZE); in memblock_reserve_many_check() 951 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_check() 964 ASSERT_EQ(memblock.reserved.total_size, (INIT_MEMBLOCK_REGIONS + 1) * MEM_SIZE + in memblock_reserve_many_check()
|
H A D | common.h | 14 #define MEM_SIZE SZ_32K macro
|
H A D | alloc_exact_nid_api.c | 8 * contains the fraction of MEM_SIZE contained in each node in basis point 796 phys_addr_t size = MEM_SIZE / SZ_2; in alloc_exact_nid_numa_large_region_generic_check() 927 r1.size = MEM_SIZE - (r2.size + size); in alloc_exact_nid_numa_split_all_reserved_generic_check()
|
H A D | alloc_nid_api.c | 7 * contains the fraction of MEM_SIZE contained in each node in basis point 625 r2.size = MEM_SIZE - (r1.size + gap_size); in alloc_nid_reserved_all_generic_check() 2348 phys_addr_t size = MEM_SIZE / SZ_2; in alloc_nid_numa_large_region_generic_check() 2477 r1.size = MEM_SIZE - (r2.size + size); in alloc_nid_numa_split_all_reserved_generic_check()
|
/kernel/liteos_m/components/dynlink/script/ |
H A D | so_parse | 48 MEM_SIZE=$(echo $1 | awk '{print $6}') 49 echo ${MEM_SIZE}
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | atags_parse.c | 35 #ifndef MEM_SIZE 36 #define MEM_SIZE (16*1024*1024) macro 49 { MEM_SIZE },
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | atags_parse.c | 35 #ifndef MEM_SIZE 36 #define MEM_SIZE (16*1024*1024) macro 49 { MEM_SIZE },
|
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/ |
H A D | lwipopts.h | 159 #define MEM_SIZE (4*1024*1024) // (512*1024) macro 217 #define IP_REASS_MAX_MEM_SIZE (MEM_SIZE / 4)
|
/kernel/liteos_m/components/net/lwip-2.1/porting/include/lwip/ |
H A D | lwipopts.h | 154 #define MEM_SIZE (4*1024*1024) // (512*1024)
macro 214 #define IP_REASS_MAX_MEM_SIZE (MEM_SIZE / 4)
|
/kernel/uniproton/src/net/lwip-2.1/include/lwip/ |
H A D | lwipopts.h | 143 #define MEM_SIZE (4*1024*1024)
macro 203 #define IP_REASS_MAX_MEM_SIZE (MEM_SIZE / 4)
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 31 #define MEM_SIZE (SZ_512M + MEM_EXTRA_SIZE) macro 36 #define MEM_TEST_SIZE (MEM_SIZE - MEM_EXTRA_SIZE) 76 #define MEM_TEST_MOVE_GPA_DEST (MEM_GPA + MEM_SIZE) 798 uint64_t mem_size = tdata->mem_size ? : MEM_SIZE; in test_execute() 926 if (MEM_SIZE % guest_page_size || in check_memory_sizes() 928 pr_info("invalid MEM_SIZE or MEM_TEST_SIZE\n"); in check_memory_sizes()
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_reg.h | 190 MEM_SIZE, enumerator
|
H A D | ipa_mem.c | 337 mem_size = 8 * reg_decode(reg, MEM_SIZE, val); in ipa_mem_config()
|
/kernel/linux/linux-6.6/drivers/net/ipa/reg/ |
H A D | ipa_reg-v4.2.c | 84 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v3.5.1.c | 63 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v5.0.c | 100 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v4.5.c | 86 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v4.9.c | 91 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v4.7.c | 86 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v4.11.c | 92 [MEM_SIZE] = GENMASK(15, 0),
|
H A D | ipa_reg-v3.1.c | 58 [MEM_SIZE] = GENMASK(15, 0),
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 2129 sdma_dumpstate_helper0(SD(MEM_SIZE)); in sdma_dumpstate()
|