Searched refs:spinlock (Results 1 – 3 of 3) sorted by relevance
19 spinlock_t spinlock; member64 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()
24 obj-$(CONFIG_SMP) += spinlock.o26 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o30 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
40 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()