Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dkfence.h21 char *kfence_pool = __kfence_pool; in arch_kfence_init_pool() local
33 virt_to_phys((void *)kfence_pool), PAGE_KERNEL); in arch_kfence_init_pool()
36 __kfence_pool = kfence_pool; in arch_kfence_init_pool()
40 kaddr = kfence_pool; in arch_kfence_init_pool()
42 while (kaddr < kfence_pool + KFENCE_POOL_SIZE) { in arch_kfence_init_pool()
/linux/arch/arm64/mm/
H A Dmmu.c1053 phys_addr_t kfence_pool; in arm64_kfence_alloc_pool() local
1058 kfence_pool = memblock_phys_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in arm64_kfence_alloc_pool()
1059 if (!kfence_pool) { in arm64_kfence_alloc_pool()
1066 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in arm64_kfence_alloc_pool()
1068 return kfence_pool; in arm64_kfence_alloc_pool()
1071 static void __init arm64_kfence_map_pool(phys_addr_t kfence_pool, pgd_t *pgdp) in arm64_kfence_map_pool() argument
1073 if (!kfence_pool) in arm64_kfence_map_pool()
1077 __map_memblock(pgdp, kfence_pool, kfence_pool + KFENCE_POOL_SIZE, in arm64_kfence_map_pool()
1080 memblock_clear_nomap(kfence_pool, KFENCE_POOL_SIZE); in arm64_kfence_map_pool()
1081 __kfence_pool = phys_to_virt(kfence_pool); in arm64_kfence_map_pool()
[all …]
/linux/arch/powerpc/mm/book3s64/
H A Dhash_utils.c411 static phys_addr_t kfence_pool; variable
431 kfence_pool = memblock_phys_alloc_range(KFENCE_POOL_SIZE, PAGE_SIZE, in hash_kfence_alloc_pool()
433 if (!kfence_pool) { in hash_kfence_alloc_pool()
441 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in hash_kfence_alloc_pool()
455 if (!kfence_pool) in hash_kfence_map_pool()
458 kfence_pool_start = (unsigned long) __va(kfence_pool); in hash_kfence_map_pool()
462 kfence_pool, prot, mmu_linear_psize, in hash_kfence_map_pool()
465 memblock_clear_nomap(kfence_pool, KFENCE_POOL_SIZE); in hash_kfence_map_pool()
474 if (!kfence_pool) in hash_kfence_add_slot()