Searched refs:lock (Results 751 - 775 of 6515) sorted by relevance

<<31323334353637383940>>

/linux-master/include/linux/
H A Dipc.h13 spinlock_t lock; member in struct:kern_ipc_perm
/linux-master/mm/kasan/
H A Dtags.c42 .lock = __RW_LOCK_UNLOCKED(stack_ring.lock)
113 read_lock_irqsave(&stack_ring.lock, flags);
134 read_unlock_irqrestore(&stack_ring.lock, flags);
/linux-master/include/drm/
H A Ddrm_flip_work.h60 * @lock: lock to access queued and commited lists
68 spinlock_t lock; member in struct:drm_flip_work
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.h42 bool lock);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_execlist_types.h21 spinlock_t lock; member in struct:xe_execlist_port
H A Dxe_hw_fence_types.h24 /** @lock: protects all xe_hw_fences + pending list */
25 spinlock_t lock; member in struct:xe_hw_fence_irq
H A Dxe_gsc_types.h43 /** @lock: protects access to the work_actions mask */
44 spinlock_t lock; member in struct:xe_gsc
H A Dxe_gt_types.h157 /** @tlb_invalidation.seqno: TLB invalidation seqno, protected by CT lock */
162 * protected by CT lock
167 * invaliations, protected by CT lock
180 /** @tlb_invalidation.lock: protects TLB invalidation fences */
181 spinlock_t lock; member in struct:xe_gt::__anon92
213 * be processed not under the GuC CT lock. The queue is sized so
234 /** @usm.pf_queue.lock: protects page fault queue */
235 spinlock_t lock; member in struct:xe_gt::__anon93::pf_queue
242 * counters under CT lock.
261 /** @usm.acc_queue.lock
262 spinlock_t lock; member in struct:xe_gt::__anon93::acc_queue
301 struct mutex lock; member in struct:xe_gt::__anon94
[all...]
/linux-master/drivers/clk/stm32/
H A Dreset-stm32.c17 /* reset lock */
18 spinlock_t lock; member in struct:stm32_reset_data
51 spin_lock_irqsave(&data->lock, flags);
62 spin_unlock_irqrestore(&data->lock, flags);
109 spin_lock_init(&reset_data->lock);
/linux-master/drivers/mailbox/
H A Dstm32-ipcc.c54 spinlock_t lock; /* protect access to IPCC registers */ member in struct:stm32_ipcc
62 static inline void stm32_ipcc_set_bits(spinlock_t *lock, void __iomem *reg, argument
67 spin_lock_irqsave(lock, flags);
69 spin_unlock_irqrestore(lock, flags);
72 static inline void stm32_ipcc_clr_bits(spinlock_t *lock, void __iomem *reg, argument
77 spin_lock_irqsave(lock, flags);
79 spin_unlock_irqrestore(lock, flags);
106 stm32_ipcc_set_bits(&ipcc->lock, ipcc->reg_proc + IPCC_XSCR,
135 stm32_ipcc_set_bits(&ipcc->lock, ipcc->reg_proc + IPCC_XMR,
155 stm32_ipcc_set_bits(&ipcc->lock, ipc
[all...]
/linux-master/drivers/android/
H A Dbinder_alloc.h75 * @lock: protects binder_alloc fields
99 spinlock_t lock; member in struct:binder_alloc
121 spinlock_t *lock, void *cb_arg);
156 spin_lock(&alloc->lock);
158 spin_unlock(&alloc->lock);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c50 return container_of(fence->base.lock, struct nouveau_fence_chan, lock);
89 spin_lock_irqsave(&fctx->lock, flags);
100 spin_unlock_irqrestore(&fctx->lock, flags);
157 spin_lock_irqsave(&fctx->lock, flags);
163 chan = rcu_dereference_protected(fence->channel, lockdep_is_held(&fctx->lock));
170 spin_unlock_irqrestore(&fctx->lock, flags);
195 spin_lock_init(&fctx->lock);
231 &fctx->lock, fctx->context, ++fctx->sequence);
234 &fctx->lock, fct
[all...]
/linux-master/drivers/ptp/
H A Dptp_fc3.h25 struct mutex *lock; member in struct:idtfc3
/linux-master/io_uring/
H A Dsqpoll.h6 struct mutex lock; member in struct:io_sq_data
/linux-master/drivers/gpu/drm/lima/
H A Dlima_ctx.h23 struct mutex lock; member in struct:lima_ctx_mgr
/linux-master/drivers/block/zram/
H A Dzcomp.h11 /* The members ->buffer and ->tfm are protected by ->lock. */
12 local_lock_t lock; member in struct:zcomp_strm
/linux-master/drivers/pwm/
H A Dpwm-clps711x.c17 spinlock_t lock; member in struct:clps711x_chip
59 spin_lock_irqsave(&priv->lock, flags);
66 spin_unlock_irqrestore(&priv->lock, flags);
96 spin_lock_init(&priv->lock);
/linux-master/fs/xfs/scrub/
H A Dnlinks.h15 struct mutex lock; member in struct:xchk_nlink_ctrs
H A Dquotacheck.h46 struct mutex lock; member in struct:xqcheck
/linux-master/tools/perf/util/bpf_skel/
H A Dlock_data.h8 u64 lock; member in struct:tstamp_data
/linux-master/sound/core/seq/
H A Dseq_timer.c46 spin_lock_init(&tmr->lock);
78 guard(spinlock_irqsave)(&tmr->lock);
108 guard(spinlock_irqsave)(&tmr->lock);
127 scoped_guard(spinlock_irqsave, &tmr->lock) {
159 guard(spinlock_irqsave)(&tmr->lock);
176 guard(spinlock_irqsave)(&tmr->lock);
198 guard(spinlock_irqsave)(&tmr->lock);
212 guard(spinlock_irqsave)(&tmr->lock);
229 guard(spinlock_irqsave)(&tmr->lock);
275 scoped_guard(spinlock_irq, &tmr->lock) {
[all...]
/linux-master/include/net/
H A Daf_unix.h67 spinlock_t lock; member in struct:unix_sock
82 #define unix_state_lock(s) spin_lock(&unix_sk(s)->lock)
83 #define unix_state_unlock(s) spin_unlock(&unix_sk(s)->lock)
96 spin_lock_nested(&unix_sk(sk)->lock, subclass);
/linux-master/drivers/usb/serial/
H A Dgeneric.c128 spin_lock_irqsave(&port->lock, flags);
130 spin_unlock_irqrestore(&port->lock, flags);
142 return kfifo_out_locked(&port->write_fifo, dest, size, &port->lock);
165 spin_lock_irqsave(&port->lock, flags);
168 spin_unlock_irqrestore(&port->lock, flags);
173 spin_unlock_irqrestore(&port->lock, flags);
181 spin_lock_irqsave(&port->lock, flags);
183 spin_unlock_irqrestore(&port->lock, flags);
191 spin_lock_irqsave(&port->lock, flags);
193 spin_unlock_irqrestore(&port->lock, flag
[all...]
/linux-master/drivers/clk/baikal-t1/
H A Dccu-div.c82 u32 lock; local
88 lock = CCU_DIV_CTL_LOCK_SHIFTED;
90 lock = CCU_DIV_CTL_LOCK_NORMAL;
103 if (val & lock)
127 spin_lock_irqsave(&div->lock, flags);
133 spin_unlock_irqrestore(&div->lock, flags);
135 pr_err("Divider '%s' lock timed out\n", clk_hw_get_name(hw));
145 spin_lock_irqsave(&div->lock, flags);
148 spin_unlock_irqrestore(&div->lock, flags);
158 spin_lock_irqsave(&div->lock, flag
[all...]
/linux-master/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c144 spin_unlock(&bdc->lock);
146 spin_lock(&bdc->lock);
164 spin_lock_irqsave(&bdc->lock, flags);
176 spin_unlock_irqrestore(&bdc->lock, flags);
191 spin_unlock(&bdc->lock);
194 spin_lock(&bdc->lock);
297 spin_lock(&bdc->lock);
300 spin_unlock(&bdc->lock);
307 spin_unlock(&bdc->lock);
319 spin_unlock(&bdc->lock);
[all...]

Completed in 248 milliseconds

<<31323334353637383940>>