Home
last modified time | relevance | path

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

/linux-6.1.9/mm/kfence/
Dcore.c206 static void alloc_covered_add(u32 alloc_stack_hash, int val) in alloc_covered_add() argument
211 atomic_add(val, &alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK]); in alloc_covered_add()
212 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_add()
220 static bool alloc_covered_contains(u32 alloc_stack_hash) in alloc_covered_contains() argument
225 if (!atomic_read(&alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK])) in alloc_covered_contains()
227 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_contains()
357 u32 alloc_stack_hash) in kfence_guarded_alloc() argument
423 meta->alloc_stack_hash = alloc_stack_hash; in kfence_guarded_alloc()
426 alloc_covered_add(alloc_stack_hash, 1); in kfence_guarded_alloc()
496 alloc_covered_add(meta->alloc_stack_hash, -1); in kfence_guarded_free()
[all …]
Dkfence.h91 u32 alloc_stack_hash; member