Home
last modified time | relevance | path

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

/linux/include/linux/
A Dkfence.h29 extern atomic_t kfence_allocation_gate;
124 if (likely(atomic_read(&kfence_allocation_gate))) in kfence_alloc()
/linux/mm/kfence/
A Dcore.c114 atomic_t kfence_allocation_gate = ATOMIC_INIT(1); variable
730 atomic_set(&kfence_allocation_gate, 0); in toggle_allocation_gate()
740 wait_event_idle_timeout(allocation_wait, atomic_read(&kfence_allocation_gate), in toggle_allocation_gate()
743 wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate)); in toggle_allocation_gate()
873 if (atomic_inc_return(&kfence_allocation_gate) > 1) in __kfence_alloc()

Completed in 5 milliseconds