Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 3 of 3) sorted by relevance

/kernel/dma/
Dcoherent.c19 spinlock_t spinlock; member
64 spin_lock_init(&dma_mem->spinlock); in dma_init_coherent_memory()
150 spin_lock_irqsave(&mem->spinlock, flags); in __dma_alloc_from_coherent()
165 spin_unlock_irqrestore(&mem->spinlock, flags); in __dma_alloc_from_coherent()
169 spin_unlock_irqrestore(&mem->spinlock, flags); in __dma_alloc_from_coherent()
207 spin_lock_irqsave(&mem->spinlock, flags); in __dma_release_from_coherent()
209 spin_unlock_irqrestore(&mem->spinlock, flags); in __dma_release_from_coherent()
/kernel/locking/
DMakefile24 obj-$(CONFIG_SMP) += spinlock.o
26 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
30 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
/kernel/bpf/
Dringbuf.c40 spinlock_t spinlock ____cacheline_aligned_in_smp;
171 spin_lock_init(&rb->spinlock); in bpf_ringbuf_alloc()
407 if (!spin_trylock_irqsave(&rb->spinlock, flags)) in __bpf_ringbuf_reserve()
410 spin_lock_irqsave(&rb->spinlock, flags); in __bpf_ringbuf_reserve()
420 spin_unlock_irqrestore(&rb->spinlock, flags); in __bpf_ringbuf_reserve()
432 spin_unlock_irqrestore(&rb->spinlock, flags); in __bpf_ringbuf_reserve()