Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/include/asm/
H A Dkfence.h22 area = __get_vm_area_caller(KFENCE_POOL_SIZE, VM_IOREMAP, in arch_kfence_init_pool()
30 (unsigned long)__kfence_pool + KFENCE_POOL_SIZE, in arch_kfence_init_pool()
/openbmc/linux/mm/kfence/
H A Dcore.c595 for (i = 0; i < KFENCE_POOL_SIZE / PAGE_SIZE; i++) { in kfence_init_pool()
647 for (i = 0; i < KFENCE_POOL_SIZE / PAGE_SIZE; i++) { in kfence_init_pool()
688 memblock_free_late(__pa(addr), KFENCE_POOL_SIZE - (addr - (unsigned long)__kfence_pool)); in kfence_init_pool_early()
853 __kfence_pool = memblock_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in kfence_alloc_pool_and_metadata()
864 memblock_free(__kfence_pool, KFENCE_POOL_SIZE); in kfence_alloc_pool_and_metadata()
885 pr_info("initialized - using %lu bytes for %d objects at 0x%p-0x%p\n", KFENCE_POOL_SIZE, in kfence_init_enable()
887 (void *)(__kfence_pool + KFENCE_POOL_SIZE)); in kfence_init_enable()
908 const unsigned long nr_pages_pool = KFENCE_POOL_SIZE / PAGE_SIZE; in kfence_init_late()
911 unsigned long free_size = KFENCE_POOL_SIZE; in kfence_init_late()
934 __kfence_pool = alloc_pages_exact(KFENCE_POOL_SIZE, GFP_KERNEL); in kfence_init_late()
[all …]
/openbmc/linux/include/linux/
H A Dkfence.h27 #define KFENCE_POOL_SIZE ((CONFIG_KFENCE_NUM_OBJECTS + 1) * 2 * PAGE_SIZE) macro
58 return unlikely((unsigned long)((char *)addr - __kfence_pool) < KFENCE_POOL_SIZE && __kfence_pool); in is_kfence_address()
/openbmc/linux/arch/s390/include/asm/
H A Dkfence.h30 unsigned long pool_pages = KFENCE_POOL_SIZE >> PAGE_SHIFT; in kfence_split_mapping()
/openbmc/linux/arch/arm64/mm/
H A Dmmu.c534 kfence_pool = memblock_phys_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in arm64_kfence_alloc_pool()
542 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in arm64_kfence_alloc_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()
/openbmc/linux/arch/riscv/mm/
H A Dinit.c1267 kfence_pool = memblock_phys_alloc(KFENCE_POOL_SIZE, PAGE_SIZE); in create_linear_mapping_page_table()
1270 memblock_mark_nomap(kfence_pool, KFENCE_POOL_SIZE); in create_linear_mapping_page_table()
1296 kfence_pool + KFENCE_POOL_SIZE, in create_linear_mapping_page_table()
1299 memblock_clear_nomap(kfence_pool, KFENCE_POOL_SIZE); in create_linear_mapping_page_table()
/openbmc/linux/arch/s390/mm/
H A Ddump_pagetables.c307 address_markers[KFENCE_END_NR].start_address = kfence_start + KFENCE_POOL_SIZE; in pt_dump_init()