Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dkfence.h30 extern atomic_t kfence_allocation_gate;
122 if (unlikely(!atomic_read(&kfence_allocation_gate))) in kfence_alloc()
/OK3568_Linux_fs/kernel/mm/kfence/
H A Dcore.c105 atomic_t kfence_allocation_gate = ATOMIC_INIT(1); variable
621 atomic_set(&kfence_allocation_gate, 0); in toggle_allocation_gate()
631 wait_event_idle_timeout(allocation_wait, atomic_read(&kfence_allocation_gate), in toggle_allocation_gate()
634 wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate)); in toggle_allocation_gate()
758 if (atomic_read(&kfence_allocation_gate) || atomic_inc_return(&kfence_allocation_gate) > 1) in __kfence_alloc()