Home
last modified time | relevance | path

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

/arch/riscv/kernel/
Dsetup.c159 size_t mem_res_sz = 0; in init_resources() local
167 mem_res_sz = num_resources * sizeof(*mem_res); in init_resources()
168 mem_res = memblock_alloc(mem_res_sz, SMP_CACHE_BYTES); in init_resources()
170 panic("%s: Failed to allocate %zu bytes\n", __func__, mem_res_sz); in init_resources()
249 memblock_free(__pa(mem_res), mem_res_sz); in init_resources()