/linux-master/kernel/ |
H A D | dma.c | 50 /* 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 D | lock.c | 18 * 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 D | seq_lock.h | 9 /* 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 D | ipu-smfc.c | 25 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 D | pwc-dec23.h | 20 struct mutex lock; member in struct:pwc_dec23_private
|
/linux-master/sound/usb/line6/ |
H A D | midi.h | 30 /* Spin lock to protect MIDI buffer handling */ 31 spinlock_t lock; member in struct:snd_line6_midi
|
/linux-master/samples/bpf/ |
H A D | hbm.h | 12 struct bpf_spin_lock lock; member in struct:hbm_vqueue
|
/linux-master/include/linux/reset/ |
H A D | reset-simple.h | 21 * @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 D | fuse.h | 9 spinlock_t lock; member in struct:nvkm_fuse
|
/linux-master/kernel/trace/ |
H A D | trace_clock.c | 85 /* 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 D | iwcm.h | 54 spinlock_t lock; member in struct:iwcm_id_private
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_hid.h | 33 struct mutex lock; member in struct:f_hid_opts
|
/linux-master/include/net/netfilter/ |
H A D | xt_rateest.h | 8 /* 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 D | spinlock_types.h | 29 u32 lock; member in struct:__anon5
|
/linux-master/drivers/gpu/host1x/ |
H A D | context.h | 19 struct mutex lock; member in struct:host1x_memory_context_list
|
H A D | fence.h | 24 spinlock_t lock; member in struct:host1x_fence_list
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | htab_reuse.c | 9 struct bpf_spin_lock lock; member in struct:htab_val
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs_send.h | 11 spinlock_t lock; /* protects backlog list */ member in struct:qat_instance_backlog
|
H A D | qat_algs_send.c | 28 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 D | reset-axs10x.c | 23 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 D | rsmu.h | 27 * @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 D | chan.c | 64 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 D | spinlock_types.h | 12 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 D | buckets_waiting_for_journal_types.h | 19 struct mutex lock; member in struct:buckets_waiting_for_journal
|
H A D | nocow_locking_types.h | 10 spinlock_t lock; member in struct:nocow_lock_bucket
|