Searched refs:alloc_stack_hash (Results 1 – 2 of 2) sorted by relevance
187 static void alloc_covered_add(u32 alloc_stack_hash, int val) in alloc_covered_add() argument192 atomic_add(val, &alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK]); in alloc_covered_add()193 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_add()201 static bool alloc_covered_contains(u32 alloc_stack_hash) in alloc_covered_contains() argument206 if (!atomic_read(&alloc_covered[alloc_stack_hash & ALLOC_COVERED_MASK])) in alloc_covered_contains()208 alloc_stack_hash = ALLOC_COVERED_HNEXT(alloc_stack_hash); in alloc_covered_contains()333 u32 alloc_stack_hash) in kfence_guarded_alloc() argument396 meta->alloc_stack_hash = alloc_stack_hash; in kfence_guarded_alloc()410 alloc_covered_add(alloc_stack_hash, 1); in kfence_guarded_alloc()480 alloc_covered_add(meta->alloc_stack_hash, -1); in kfence_guarded_free()[all …]
91 u32 alloc_stack_hash; member