Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/include/linux/
H A Dkfence.h31 extern atomic_t kfence_allocation_gate;
127 if (likely(atomic_read(&kfence_allocation_gate))) in kfence_alloc()
/kernel/linux/linux-6.6/mm/kfence/
H A Dcore.c140 atomic_t kfence_allocation_gate = ATOMIC_INIT(1); variable
827 atomic_set(&kfence_allocation_gate, 0); in toggle_allocation_gate()
832 wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate)); in toggle_allocation_gate()
1054 * Perform size check before switching kfence_allocation_gate, so that in __kfence_alloc()
1080 if (atomic_inc_return(&kfence_allocation_gate) > 1) in __kfence_alloc()
1085 * kfence_allocation_gate per atomic_inc_return(). in __kfence_alloc()

Completed in 4 milliseconds