Searched refs:lock (Results 976 - 1000 of 6560) sorted by relevance

<<31323334353637383940>>

/linux-master/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c78 spinlock_t lock; member in struct:alua_port_group
250 spin_lock_init(&pg->lock);
371 spin_lock_irqsave(&old_pg->lock, flags);
373 spin_unlock_irqrestore(&old_pg->lock, flags);
379 spin_lock_irqsave(&pg->lock, flags);
382 spin_unlock_irqrestore(&pg->lock, flags);
678 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) {
696 spin_unlock_irqrestore(&tmp_pg->lock, flags);
704 spin_lock_irqsave(&pg->lock, flags);
759 spin_unlock_irqrestore(&pg->lock, flag
[all...]
/linux-master/drivers/clk/at91/
H A Dclk-sam9x60-pll.c33 spinlock_t *lock; member in struct:sam9x60_pll_core
91 spin_lock_irqsave(core->lock, flags);
144 spin_unlock_irqrestore(core->lock, flags);
162 spin_lock_irqsave(core->lock, flags);
177 spin_unlock_irqrestore(core->lock, flags);
258 spin_lock_irqsave(core->lock, irqflags);
290 spin_unlock_irqrestore(core->lock, irqflags);
363 spin_lock_irqsave(core->lock, flags);
376 spin_unlock_irqrestore(core->lock, flags);
394 spin_lock_irqsave(core->lock, flag
611 sam9x60_clk_register_frac_pll(struct regmap *regmap, spinlock_t *lock, const char *name, const char *parent_name, struct clk_hw *parent_hw, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, u32 flags) argument
697 sam9x60_clk_register_div_pll(struct regmap *regmap, spinlock_t *lock, const char *name, const char *parent_name, struct clk_hw *parent_hw, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, u32 flags, u32 safe_div) argument
[all...]
/linux-master/drivers/net/can/
H A Dcan327.c76 /* Per-channel lock */
77 spinlock_t lock; member in struct:can327
125 lockdep_assert_held(&elm->lock);
160 lockdep_assert_held(&elm->lock);
173 lockdep_assert_held(&elm->lock);
236 lockdep_assert_held(&elm->lock);
264 lockdep_assert_held(&elm->lock);
287 lockdep_assert_held(&elm->lock);
332 lockdep_assert_held(&elm->lock);
399 lockdep_assert_held(&elm->lock);
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Daffinity.c18 .lock = __MUTEX_INITIALIZER(node_affinity.lock)
196 mutex_lock(&node_affinity.lock);
203 mutex_unlock(&node_affinity.lock);
223 * It *must* be called with node_affinity.lock held.
230 /* It must be called with node_affinity.lock held */
324 __must_hold(&node_affinity.lock)
329 lockdep_assert_held(&node_affinity.lock);
401 __must_hold(&node_affinity.lock)
407 lockdep_assert_held(&node_affinity.lock);
[all...]
/linux-master/net/smc/
H A Dsmc_pnet.c116 mutex_lock(&pnettable->lock);
135 mutex_unlock(&pnettable->lock);
197 mutex_lock(&pnettable->lock);
211 mutex_unlock(&pnettable->lock);
229 mutex_lock(&pnettable->lock);
242 mutex_unlock(&pnettable->lock);
376 mutex_lock(&pnettable->lock);
391 mutex_unlock(&pnettable->lock);
393 mutex_unlock(&pnettable->lock);
457 mutex_lock(&pnettable->lock);
[all...]
/linux-master/kernel/
H A Dkcov.c55 /* The lock protects mode, size, area and t. */
56 spinlock_t lock; member in struct:kcov
92 local_lock_t lock; member in struct:kcov_percpu_data
102 .lock = INIT_LOCAL_LOCK(lock),
443 spin_lock_irqsave(&kcov->lock, flags);
468 spin_unlock_irqrestore(&kcov->lock, flags);
473 spin_unlock_irqrestore(&kcov->lock, flags);
485 spin_lock_irqsave(&kcov->lock, flags);
492 spin_unlock_irqrestore(&kcov->lock, flag
[all...]
/linux-master/drivers/dma/qcom/
H A Dhidma.c121 spin_lock_irqsave(&mchan->lock, irqflags);
123 spin_unlock_irqrestore(&mchan->lock, irqflags);
136 spin_lock_irqsave(&mchan->lock, irqflags);
145 spin_unlock_irqrestore(&mchan->lock, irqflags);
151 spin_lock_irqsave(&mchan->lock, irqflags);
153 spin_unlock_irqrestore(&mchan->lock, irqflags);
173 spin_lock_irqsave(&mchan->lock, irqflags);
183 spin_unlock_irqrestore(&mchan->lock, irqflags);
214 spin_lock_init(&mchan->lock);
235 spin_lock_irqsave(&mchan->lock, flag
[all...]
/linux-master/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.c136 * must only be modified with the queue lock held, and must be coherent to the
141 * This flag must only be modified with the pending lock held, and must be
168 * pending lock must be acquired before the queue lock.
170 * - The packet priority must be accessed only while holding the queue lock.
173 * lock.
669 spin_lock(&ptl->rtx_timeout.lock);
677 spin_unlock(&ptl->rtx_timeout.lock);
680 /* Must be called with queue lock held. */
686 lockdep_assert_held(&p->ptl->queue.lock);
[all...]
/linux-master/drivers/hwmon/
H A Dadt7470.c146 struct mutex lock; member in struct:adt7470_data
205 /* Probe for temperature sensors. Assumes lock is held */
294 mutex_lock(&data->lock);
296 mutex_unlock(&data->lock);
450 mutex_lock(&data->lock);
467 mutex_unlock(&data->lock);
496 mutex_lock(&data->lock);
498 mutex_unlock(&data->lock);
527 mutex_lock(&data->lock);
531 mutex_unlock(&data->lock);
[all...]
/linux-master/fs/fuse/
H A Dvirtio_fs.c31 /* List of virtio-fs device instances and a lock for the list. Also provides
49 spinlock_t lock; member in struct:virtio_fs_vq
50 struct virtqueue *vq; /* protected by ->lock */
157 /* Should be called with fsvq->lock held. */
163 /* Should be called with fsvq->lock held. */
223 spin_lock(&fsvq->lock);
229 spin_unlock(&fsvq->lock);
232 spin_unlock(&fsvq->lock);
270 spin_lock(&fsvq->lock);
272 spin_unlock(&fsvq->lock);
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c266 spin_lock_init(&srq->lock);
283 spin_lock_irq(&dev->srq_table.lock);
287 spin_unlock_irq(&dev->srq_table.lock);
290 spin_unlock_irq(&dev->srq_table.lock);
331 spin_lock_irq(&dev->srq_table.lock);
333 spin_unlock_irq(&dev->srq_table.lock);
353 spin_lock_irq(&dev->srq_table.lock);
357 spin_unlock_irq(&dev->srq_table.lock);
436 spin_lock(&dev->srq_table.lock);
440 spin_unlock(&dev->srq_table.lock);
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dccm_mbox.c330 spin_lock_bh(&nn->mbox_cmsg.queue.lock);
351 spin_unlock_bh(&nn->mbox_cmsg.queue.lock);
360 spin_lock_bh(&nn->mbox_cmsg.queue.lock);
371 spin_unlock_bh(&nn->mbox_cmsg.queue.lock);
375 __releases(&nn->mbox_cmsg.queue.lock)
399 spin_unlock_bh(&nn->mbox_cmsg.queue.lock);
436 __releases(&nn->mbox_cmsg.queue.lock)
441 spin_unlock_bh(&nn->mbox_cmsg.queue.lock);
453 spin_unlock_bh(&nn->mbox_cmsg.queue.lock);
522 assert_spin_locked(&nn->mbox_cmsg.queue.lock);
[all...]
/linux-master/drivers/power/supply/
H A D88pm860x_charger.c103 struct mutex lock; member in struct:pm860x_charger_info
311 mutex_lock(&info->lock);
391 mutex_unlock(&info->lock);
401 mutex_lock(&info->lock);
404 mutex_unlock(&info->lock);
414 mutex_unlock(&info->lock);
441 mutex_lock(&info->lock);
448 mutex_unlock(&info->lock);
460 mutex_lock(&info->lock);
462 mutex_unlock(&info->lock);
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-dmaengine.c95 spin_lock_irqsave(&chan->lock, flags);
102 spin_unlock_irqrestore(&chan->lock, flags);
132 spin_lock_irqsave(&chan->lock, flags);
136 spin_unlock_irqrestore(&chan->lock, flags);
217 spin_lock_irqsave(&chan->lock, flags);
233 spin_unlock_irqrestore(&chan->lock, flags);
307 spin_lock_irqsave(&chan->lock, flags);
312 spin_unlock_irqrestore(&chan->lock, flags);
463 spin_lock_irqsave(&chan->lock, sflags);
467 spin_unlock_irqrestore(&chan->lock, sflag
[all...]
/linux-master/kernel/bpf/
H A Dbpf_lru_list.c318 raw_spin_lock_irqsave(&l->lock, flags);
320 raw_spin_unlock_irqrestore(&l->lock, flags);
330 raw_spin_lock(&l->lock);
349 raw_spin_unlock(&l->lock);
415 raw_spin_lock_irqsave(&l->lock, flags);
431 raw_spin_unlock_irqrestore(&l->lock, flags);
448 raw_spin_lock_irqsave(&loc_l->lock, flags);
459 raw_spin_unlock_irqrestore(&loc_l->lock, flags);
477 raw_spin_lock_irqsave(&steal_loc_l->lock, flags);
483 raw_spin_unlock_irqrestore(&steal_loc_l->lock, flag
[all...]
/linux-master/drivers/clk/
H A Dclk-milbeaut.c299 if (mux->lock)
300 spin_lock_irqsave(mux->lock, flags);
302 __acquire(mux->lock);
311 if (mux->lock)
312 spin_unlock_irqrestore(mux->lock, flags);
314 __release(mux->lock);
329 spinlock_t *lock)
350 mux->lock = lock;
372 spinlock_t *lock; member in struct:m10v_clk_divider
325 m10v_clk_hw_register_mux(struct device *dev, const char *name, const char * const *parent_names, u8 num_parents, unsigned long flags, void __iomem *reg, u8 shift, u32 mask, u8 clk_mux_flags, u32 *table, spinlock_t *lock) argument
457 m10v_clk_hw_register_divider(struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 shift, u8 width, u8 clk_divider_flags, const struct clk_div_table *table, spinlock_t *lock, void __iomem *write_valid_reg) argument
[all...]
/linux-master/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c25 spinlock_t lock; member in struct:smsdvb_debugfs
40 spin_lock(&debug_data->lock);
42 spin_unlock(&debug_data->lock);
92 spin_unlock(&debug_data->lock);
102 spin_lock(&debug_data->lock);
104 spin_unlock(&debug_data->lock);
156 spin_unlock(&debug_data->lock);
166 spin_lock(&debug_data->lock);
168 spin_unlock(&debug_data->lock);
222 spin_unlock(&debug_data->lock);
[all...]
/linux-master/drivers/s390/cio/
H A Dchp.c229 mutex_lock(&chp->lock);
231 mutex_unlock(&chp->lock);
253 mutex_lock(&cp->lock);
255 mutex_unlock(&cp->lock);
257 mutex_lock(&cp->lock);
259 mutex_unlock(&cp->lock);
311 mutex_lock(&chp->lock);
313 mutex_unlock(&chp->lock);
353 mutex_lock(&chp->lock);
358 mutex_unlock(&chp->lock);
[all...]
/linux-master/drivers/usb/typec/altmodes/
H A Ddisplayport.c69 struct mutex lock; /* device lock */ member in struct:dp_altmode
249 mutex_lock(&dp->lock);
312 mutex_unlock(&dp->lock);
319 mutex_unlock(&dp->lock);
327 mutex_lock(&dp->lock);
345 mutex_unlock(&dp->lock);
356 mutex_lock(&dp->lock);
412 mutex_unlock(&dp->lock);
424 mutex_lock(&dp->lock);
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_isr.c59 spin_lock_irqsave(&hw->lock, flags);
65 spin_unlock_irqrestore(&hw->lock, flags);
69 spin_unlock_irqrestore(&hw->lock, flags);
88 spin_lock_irqsave(&hw->lock, flags);
91 spin_unlock_irqrestore(&hw->lock, flags);
95 spin_unlock_irqrestore(&hw->lock, flags);
166 spin_lock_irqsave(&hw->lock, flags);
188 spin_unlock_irqrestore(&hw->lock, flags);
194 spin_lock_irqsave(&hw->lock, flags);
196 spin_unlock_irqrestore(&hw->lock, flag
[all...]
/linux-master/drivers/usb/serial/
H A Dkl5kusb105.c112 spinlock_t lock; member in struct:klsi_105_private
206 spin_lock_init(&priv->lock);
245 spin_lock_irqsave(&priv->lock, flags);
251 spin_unlock_irqrestore(&priv->lock, flags);
280 spin_lock_irqsave(&priv->lock, flags);
282 spin_unlock_irqrestore(&priv->lock, flags);
335 &port->lock);
386 /* lock while we are modifying the settings */
387 spin_lock_irqsave(&priv->lock, flags);
442 spin_unlock_irqrestore(&priv->lock, flag
[all...]
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_ioctl_set.c46 spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
59 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
82 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
91 /* pmlmepriv->lock has been acquired by caller... */
153 spin_lock_bh(&pmlmepriv->lock);
218 spin_unlock_bh(&pmlmepriv->lock);
248 spin_lock_bh(&pmlmepriv->lock);
282 spin_unlock_bh(&pmlmepriv->lock);
303 spin_lock_bh(&pmlmepriv->lock);
344 spin_unlock_bh(&pmlmepriv->lock);
[all...]
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c223 spin_lock(&pd->lock);
236 spin_unlock(&pd->lock);
372 spin_lock(&pd->lock);
401 spin_unlock(&pd->lock);
411 spin_unlock(&pd->lock);
455 spin_lock_init(&pd->lock);
488 spin_lock(&pd->lock);
491 spin_unlock(&pd->lock);
507 spin_lock(&pd->lock);
518 spin_unlock(&pd->lock);
[all...]
/linux-master/drivers/iio/chemical/
H A Dsunrise_co2.c43 struct mutex lock; member in struct:sunrise_dev
114 * Sunrise i2c read/write operations: lock the i2c segment to avoid losing the
254 mutex_lock(&sunrise->lock);
256 mutex_unlock(&sunrise->lock);
279 mutex_lock(&sunrise->lock);
281 mutex_unlock(&sunrise->lock);
332 mutex_lock(&sunrise->lock);
335 mutex_unlock(&sunrise->lock);
346 mutex_unlock(&sunrise->lock);
407 mutex_lock(&sunrise->lock);
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_loopback.c225 mutex_lock(&opts->lock);
227 mutex_unlock(&opts->lock);
434 mutex_lock(&lb_opts->lock);
436 mutex_unlock(&lb_opts->lock);
476 mutex_lock(&opts->lock);
478 mutex_unlock(&opts->lock);
490 mutex_lock(&opts->lock);
503 mutex_unlock(&opts->lock);
514 mutex_lock(&opts->lock);
516 mutex_unlock(&opts->lock);
[all...]

Completed in 247 milliseconds

<<31323334353637383940>>