Home
last modified time | relevance | path

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

/Linux-v6.6/arch/loongarch/include/asm/
Dkfence.h19 char *kfence_pool = __kfence_pool; in arch_kfence_init_pool() local
31 virt_to_phys((void *)kfence_pool), PAGE_KERNEL); in arch_kfence_init_pool()
34 __kfence_pool = kfence_pool; in arch_kfence_init_pool()
/Linux-v6.6/arch/arm64/mm/
Dmmu.c529 phys_addr_t kfence_pool; in arm64_kfence_alloc_pool() local
534 kfence_pool = memblock_phys_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in arm64_kfence_alloc_pool()
535 if (!kfence_pool) { in arm64_kfence_alloc_pool()
542 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in arm64_kfence_alloc_pool()
544 return kfence_pool; in arm64_kfence_alloc_pool()
547 static void __init arm64_kfence_map_pool(phys_addr_t kfence_pool, pgd_t *pgdp) in arm64_kfence_map_pool() argument
549 if (!kfence_pool) in arm64_kfence_map_pool()
553 __map_memblock(pgdp, kfence_pool, kfence_pool + KFENCE_POOL_SIZE, in arm64_kfence_map_pool()
556 memblock_clear_nomap(kfence_pool, KFENCE_POOL_SIZE); in arm64_kfence_map_pool()
557 __kfence_pool = phys_to_virt(kfence_pool); in arm64_kfence_map_pool()
[all …]
/Linux-v6.6/arch/riscv/mm/
Dinit.c1226 phys_addr_t kfence_pool __maybe_unused; in create_linear_mapping_page_table()
1246 kfence_pool = memblock_phys_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in create_linear_mapping_page_table()
1247 BUG_ON(!kfence_pool); in create_linear_mapping_page_table()
1249 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in create_linear_mapping_page_table()
1250 __kfence_pool = __va(kfence_pool); in create_linear_mapping_page_table()
1276 create_linear_mapping_range(kfence_pool, in create_linear_mapping_page_table()
1277 kfence_pool + KFENCE_POOL_SIZE, in create_linear_mapping_page_table()
1280 memblock_clear_nomap(kfence_pool, KFENCE_POOL_SIZE); in create_linear_mapping_page_table()