Searched refs:lock (Results 226 - 250 of 6560) sorted by relevance

1234567891011>>

/linux-master/kernel/
H A Ddma.c50 /* Channel n is busy iff dma_chan_busy[n].lock != 0.
56 int lock; member in struct:dma_chan
75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0)
95 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
123 if (dma_chan_busy[i].lock) {
/linux-master/fs/reiserfs/
H A Dlock.c18 * Also this lock is often released before a call that could block because
27 mutex_lock(&sb_i->lock);
40 * Are we unlocking without even holding the lock?
48 mutex_unlock(&sb_i->lock);
57 /* this can happen when the lock isn't always held */
65 mutex_unlock(&sb_i->lock);
74 /* this can happen when the lock isn't always held */
78 mutex_lock(&sb_i->lock);
85 * write lock held. caller is the string printed just before calling BUG()
99 WARN_ONCE((sb_i->lock_depth > 0), "Unwanted recursive reiserfs lock!\
[all...]
/linux-master/sound/core/seq/
H A Dseq_lock.h9 /* initialize lock */
12 /* increment lock */
15 /* release lock */
19 void snd_use_lock_sync_helper(snd_use_lock_t *lock, const char *file, int line);
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-smfc.c25 spinlock_t lock; member in struct:ipu_smfc_priv
42 spin_lock_irqsave(&priv->lock, flags);
50 spin_unlock_irqrestore(&priv->lock, flags);
62 spin_lock_irqsave(&priv->lock, flags);
70 spin_unlock_irqrestore(&priv->lock, flags);
82 spin_lock_irqsave(&priv->lock, flags);
90 spin_unlock_irqrestore(&priv->lock, flags);
101 spin_lock_irqsave(&priv->lock, flags);
108 spin_unlock_irqrestore(&priv->lock, flags);
119 spin_lock_irqsave(&priv->lock, flag
[all...]
/linux-master/drivers/media/usb/pwc/
H A Dpwc-dec23.h20 struct mutex lock; member in struct:pwc_dec23_private
/linux-master/sound/usb/line6/
H A Dmidi.h30 /* Spin lock to protect MIDI buffer handling */
31 spinlock_t lock; member in struct:snd_line6_midi
/linux-master/samples/bpf/
H A Dhbm.h12 struct bpf_spin_lock lock; member in struct:hbm_vqueue
/linux-master/include/linux/reset/
H A Dreset-simple.h21 * @lock: spinlock to protect registers during read-modify-write cycles
38 spinlock_t lock; member in struct:reset_simple_data
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dfuse.h9 spinlock_t lock; member in struct:nvkm_fuse
/linux-master/kernel/trace/
H A Dtrace_clock.c85 /* keep prev_time and lock in the same cacheline. */
88 arch_spinlock_t lock; member in struct:__anon120
91 .lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED,
129 /* Tracing can cause strange recursion, always use a try lock */
130 if (arch_spin_trylock(&trace_clock_struct.lock)) {
139 arch_spin_unlock(&trace_clock_struct.lock);
/linux-master/drivers/infiniband/core/
H A Diwcm.h54 spinlock_t lock; member in struct:iwcm_id_private
/linux-master/drivers/usb/gadget/function/
H A Du_hid.h33 struct mutex lock; member in struct:f_hid_opts
/linux-master/include/net/netfilter/
H A Dxt_rateest.h8 /* keep lock and bstats on same cache line to speedup xt_rateest_tg() */
10 spinlock_t lock; member in struct:xt_rateest
/linux-master/arch/arm/include/asm/
H A Dspinlock_types.h29 u32 lock; member in struct:__anon5
/linux-master/drivers/gpu/host1x/
H A Dcontext.h19 struct mutex lock; member in struct:host1x_memory_context_list
H A Dfence.h24 spinlock_t lock; member in struct:host1x_fence_list
/linux-master/tools/testing/selftests/bpf/progs/
H A Dhtab_reuse.c9 struct bpf_spin_lock lock; member in struct:htab_val
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs_send.h11 spinlock_t lock; /* protects backlog list */ member in struct:qat_instance_backlog
H A Dqat_algs_send.c28 spin_lock_bh(&backlog->lock);
40 spin_unlock_bh(&backlog->lock);
73 spin_lock_bh(&backlog->lock);
78 spin_unlock_bh(&backlog->lock);
/linux-master/drivers/reset/
H A Dreset-axs10x.c23 spinlock_t lock; member in struct:axs10x_rst
33 spin_lock_irqsave(&rst->lock, flags);
35 spin_unlock_irqrestore(&rst->lock, flags);
56 spin_lock_init(&rst->lock);
/linux-master/include/linux/mfd/
H A Drsmu.h27 * @lock: mutex used by sub devices to make sure a series of
35 struct mutex lock; member in struct:rsmu_ddata
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dchan.c64 spin_lock_irqsave(&sw->engine.lock, flags);
66 spin_unlock_irqrestore(&sw->engine.lock, flags);
86 spin_lock_irqsave(&sw->engine.lock, flags);
88 spin_unlock_irqrestore(&sw->engine.lock, flags);
/linux-master/arch/parisc/include/asm/
H A Dspinlock_types.h12 volatile unsigned int lock[4]; member in struct:__anon1
21 * Read lock(s) : 0x00FF_FFFF to 0x01 (Multiple Readers decrement it)
22 * Write lock : 0x0, but only if prior value is "unlocked" 0x0100_0000
/linux-master/fs/bcachefs/
H A Dbuckets_waiting_for_journal_types.h19 struct mutex lock; member in struct:buckets_waiting_for_journal
H A Dnocow_locking_types.h10 spinlock_t lock; member in struct:nocow_lock_bucket

Completed in 514 milliseconds

1234567891011>>