Home
last modified time | relevance | path

Searched refs:MEM_SIZE (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/tools/testing/memblock/tests/
Dcommon.c66 memset(memory_block.base, 1, MEM_SIZE); in fill_memblock()
72 memblock_add((phys_addr_t)memory_block.base, MEM_SIZE); in setup_memblock()
98 phys_addr_t size = MEM_SIZE * node_fracs[i] / BASIS; in setup_numa_memblock()
108 memory_block.base = malloc(MEM_SIZE); in dummy_physical_memory_init()
Dalloc_api.c274 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()
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()
Dalloc_helpers_api.c202 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()
Dcommon.h13 #define MEM_SIZE SZ_16K macro
Dalloc_nid_api.c614 r2.size = MEM_SIZE - (r1.size + gap_size); in alloc_try_nid_reserved_all_generic_check()
2337 phys_addr_t size = MEM_SIZE / SZ_2; in alloc_try_nid_numa_large_region_generic_check()
2466 r1.size = MEM_SIZE - (r2.size + size); in alloc_try_nid_numa_split_all_reserved_generic_check()
/linux-6.1.9/arch/arm/kernel/
Datags_parse.c35 #ifndef MEM_SIZE
36 #define MEM_SIZE (16*1024*1024) macro
49 { MEM_SIZE },
/linux-6.1.9/tools/testing/selftests/kvm/
Dmemslot_perf_test.c28 #define MEM_SIZE ((512U << 20) + 4096) macro
29 #define MEM_SIZE_PAGES (MEM_SIZE / 4096)
34 #define MEM_TEST_SIZE (MEM_SIZE - 4096)
35 static_assert(MEM_SIZE % 4096 == 0, "invalid mem size");
82 #define MEM_TEST_MOVE_GPA_DEST (MEM_GPA + MEM_SIZE)
/linux-6.1.9/tools/testing/memblock/
DTODO8 likely that the current MEM_SIZE won't be enough for these
/linux-6.1.9/drivers/net/ipa/
Dipa_reg.h236 MEM_SIZE, enumerator
Dipa_mem.c328 mem_size = 8 * ipa_reg_decode(reg, MEM_SIZE, val); in ipa_mem_config()
/linux-6.1.9/drivers/net/ipa/reg/
Dipa_reg-v3.1.c58 [MEM_SIZE] = GENMASK(15, 0),
Dipa_reg-v3.5.1.c63 [MEM_SIZE] = GENMASK(15, 0),
Dipa_reg-v4.2.c84 [MEM_SIZE] = GENMASK(15, 0),
Dipa_reg-v4.11.c92 [MEM_SIZE] = GENMASK(15, 0),
Dipa_reg-v4.5.c86 [MEM_SIZE] = GENMASK(15, 0),
Dipa_reg-v4.9.c91 [MEM_SIZE] = GENMASK(15, 0),
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dsdma.c2089 sdma_dumpstate_helper0(SD(MEM_SIZE)); in sdma_dumpstate()