Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/mm/kfence/
H A Dcore.c211 * @alloc_stack_hash from Counting Bloom filter.
213 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()
224 * Returns true if the allocation stack trace hash @alloc_stack_hash is
227 static bool alloc_covered_contains(u32 alloc_stack_hash) in alloc_covered_contains() argument
232 if (!atomic_read(&alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK])) in alloc_covered_contains()
234 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_contains()
390 kfence_guarded_alloc(struct kmem_cache *cache, size_t size, gfp_t gfp, unsigned long *stack_entries, size_t num_stack_entries, u32 alloc_stack_hash) kfence_guarded_alloc() argument
1051 u32 alloc_stack_hash; __kfence_alloc() local
[all...]
H A Dkfence.h99 u32 alloc_stack_hash; member

Completed in 2 milliseconds