Searched refs:alloc_stack_hash (Results 1 – 2 of 2) sorted by relevance
217 static void alloc_covered_add(u32 alloc_stack_hash, int val) in alloc_covered_add() argument222 atomic_add(val, &alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK]); in alloc_covered_add()223 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_add()231 static bool alloc_covered_contains(u32 alloc_stack_hash) in alloc_covered_contains() argument236 if (!atomic_read(&alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK])) in alloc_covered_contains()238 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_contains()415 u32 alloc_stack_hash) in kfence_guarded_alloc() argument481 meta->alloc_stack_hash = alloc_stack_hash; in kfence_guarded_alloc()484 alloc_covered_add(alloc_stack_hash, 1); in kfence_guarded_alloc()550 alloc_covered_add(meta->alloc_stack_hash, -1); in kfence_guarded_free()[all …]
100 u32 alloc_stack_hash; member