Home
last modified time | relevance | path

Searched refs:slock (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/include/linux/
Dspinlock_up.h27 #define arch_spin_is_locked(x) ((x)->slock == 0)
31 lock->slock = 0; in arch_spin_lock()
37 char oldval = lock->slock; in arch_spin_trylock()
39 lock->slock = 0; in arch_spin_trylock()
48 lock->slock = 1; in arch_spin_unlock()
Dspinlock_types_up.h18 volatile unsigned int slock; member
Dpm_domain.h95 spinlock_t slock; member
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_vb2.c77 spin_lock_irqsave(&ctx->slock, flags); in _buffer_queue()
79 spin_unlock_irqrestore(&ctx->slock, flags); in _buffer_queue()
100 spin_lock_irqsave(&ctx->slock, flags); in _stop_streaming()
107 spin_unlock_irqrestore(&ctx->slock, flags); in _stop_streaming()
194 spin_lock_init(&ctx->slock); in dvb_vb2_init()
274 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_fill_buffer()
323 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_fill_buffer()
410 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_dqbuf()
414 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_dqbuf()
/linux-4.19.296/drivers/clk/samsung/
Dclk-exynos-clkout.c31 spinlock_t slock; member
69 spin_lock_init(&clkout->slock); in exynos_clkout_init()
96 clkout->gate.lock = &clkout->slock; in exynos_clkout_init()
101 clkout->mux.lock = &clkout->slock; in exynos_clkout_init()
/linux-4.19.296/drivers/iio/adc/
Dti-ads7950.c60 struct mutex slock; member
283 mutex_lock(&st->slock); in ti_ads7950_trigger_handler()
292 mutex_unlock(&st->slock); in ti_ads7950_trigger_handler()
303 mutex_lock(&st->slock); in ti_ads7950_scan_direct()
315 mutex_unlock(&st->slock); in ti_ads7950_scan_direct()
431 mutex_init(&st->slock); in ti_ads7950_probe()
466 mutex_destroy(&st->slock); in ti_ads7950_probe()
479 mutex_destroy(&st->slock); in ti_ads7950_remove()
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_vbi.c328 spin_lock_irqsave(&dev->slock,flags); in vbi_stop()
349 spin_unlock_irqrestore(&dev->slock, flags); in vbi_stop()
399 &dev->pci->dev, &dev->slock, in vbi_open()
440 spin_lock(&dev->slock); in vbi_irq_done()
453 spin_unlock(&dev->slock); in vbi_irq_done()
Dsaa7146_fops.c73 assert_spin_locked(&dev->slock); in saa7146_buffer_queue()
95 assert_spin_locked(&dev->slock); in saa7146_buffer_finish()
123 assert_spin_locked(&dev->slock); in saa7146_buffer_next()
174 spin_lock_irqsave(&dev->slock,flags); in saa7146_buffer_timeout()
189 spin_unlock_irqrestore(&dev->slock,flags); in saa7146_buffer_timeout()
Dsaa7146_video.c420 spin_lock_irqsave(&dev->slock,flags); in video_end()
434 spin_unlock_irqrestore(&dev->slock, flags); in video_end()
1220 &dev->pci->dev, &dev->slock, in video_open()
1251 spin_lock(&dev->slock); in video_irq_done()
1260 spin_unlock(&dev->slock); in video_irq_done()
Dsaa7146_core.c451 spin_lock_init(&dev->slock); in saa7146_init_one()
/linux-4.19.296/include/media/
Ddvb_vb2.h100 spinlock_t slock; member
/linux-4.19.296/include/net/
Dsock.h101 spinlock_t slock; member
1521 spin_lock_init(&(sk)->sk_lock.slock); \
1524 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \
1533 lockdep_is_held(&sk->sk_lock.slock); in lockdep_sock_is_held()
1548 #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock))
1550 spin_lock_nested(&((__sk)->sk_lock.slock), \
1552 #define bh_unlock_sock(__sk) spin_unlock(&((__sk)->sk_lock.slock))
1568 spin_unlock_bh(&sk->sk_lock.slock); in unlock_sock_fast()
1608 return !sk->sk_lock.owned && !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
/linux-4.19.296/drivers/base/power/
Ddomain.c79 __acquires(&genpd->slock) in genpd_lock_spin()
83 spin_lock_irqsave(&genpd->slock, flags); in genpd_lock_spin()
89 __acquires(&genpd->slock) in genpd_lock_nested_spin()
93 spin_lock_irqsave_nested(&genpd->slock, flags, depth); in genpd_lock_nested_spin()
98 __acquires(&genpd->slock) in genpd_lock_interruptible_spin()
102 spin_lock_irqsave(&genpd->slock, flags); in genpd_lock_interruptible_spin()
108 __releases(&genpd->slock) in genpd_unlock_spin()
110 spin_unlock_irqrestore(&genpd->slock, genpd->lock_flags); in genpd_unlock_spin()
1630 spin_lock_init(&genpd->slock); in genpd_lock_init()
/linux-4.19.296/include/media/drv-intf/
Dsaa7146.h125 spinlock_t slock; member