Home
last modified time | relevance | path

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

/openbmc/linux/mm/kfence/
H A Dcore.c213 static void alloc_covered_add(u32 alloc_stack_hash, int val) in alloc_covered_add() argument
218 atomic_add(val, &alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK]); in alloc_covered_add()
219 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_add()
227 static bool alloc_covered_contains(u32 alloc_stack_hash) in alloc_covered_contains() argument
234 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_contains()
392 u32 alloc_stack_hash) in kfence_guarded_alloc() argument
458 meta->alloc_stack_hash = alloc_stack_hash; in kfence_guarded_alloc()
461 alloc_covered_add(alloc_stack_hash, 1); in kfence_guarded_alloc()
531 alloc_covered_add(meta->alloc_stack_hash, -1); in kfence_guarded_free()
1051 u32 alloc_stack_hash; in __kfence_alloc() local
[all …]
H A Dkfence.h99 u32 alloc_stack_hash; member