Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dkfence.h30 extern atomic_t kfence_allocation_gate;
122 if (unlikely(!atomic_read(&kfence_allocation_gate))) in kfence_alloc()
/Linux-v5.15/mm/kfence/
Dcore.c106 atomic_t kfence_allocation_gate = ATOMIC_INIT(1); variable
623 atomic_set(&kfence_allocation_gate, 0); in toggle_allocation_gate()
633 wait_event_idle_timeout(allocation_wait, atomic_read(&kfence_allocation_gate), in toggle_allocation_gate()
636 wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate)); in toggle_allocation_gate()
760 if (atomic_read(&kfence_allocation_gate) || atomic_inc_return(&kfence_allocation_gate) > 1) in __kfence_alloc()