Searched refs:lock (Results 501 - 525 of 6514) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/hid/
H A Dhid-picolcd_cir.c41 spin_lock_irqsave(&data->lock, flags);
43 spin_unlock_irqrestore(&data->lock, flags);
46 spin_unlock_irqrestore(&data->lock, flags);
78 spin_lock_irqsave(&data->lock, flags);
80 spin_unlock_irqrestore(&data->lock, flags);
89 spin_lock_irqsave(&data->lock, flags);
91 spin_unlock_irqrestore(&data->lock, flags);
/linux-master/drivers/hwspinlock/
H A Dstm32_hwspinlock.c28 static int stm32_hwspinlock_trylock(struct hwspinlock *lock) argument
30 void __iomem *lock_addr = lock->priv;
39 static void stm32_hwspinlock_unlock(struct hwspinlock *lock) argument
41 void __iomem *lock_addr = lock->priv;
46 static void stm32_hwspinlock_relax(struct hwspinlock *lock) argument
82 hw = devm_kzalloc(dev, struct_size(hw, bank.lock, STM32_MUTEX_NUM_LOCKS), GFP_KERNEL);
110 hw->bank.lock[i].priv = io_base + i * sizeof(u32);
/linux-master/drivers/base/power/
H A Dwakeup.c71 .lock = __SPIN_LOCK_UNLOCKED(deleted_ws.lock),
118 spin_lock_irqsave(&deleted_ws.lock, flags);
136 spin_unlock_irqrestore(&deleted_ws.lock, flags);
174 spin_lock_init(&ws->lock);
254 * Returns an index of srcu lock for struct wakeup_srcu.
314 spin_lock_irq(&dev->power.lock);
316 spin_unlock_irq(&dev->power.lock);
322 spin_unlock_irq(&dev->power.lock);
364 * Call under the device's power.lock loc
[all...]
/linux-master/drivers/gpio/
H A Dgpio-pisosr.c25 * @lock: Protects read sequences
33 struct mutex lock; member in struct:pisosr_gpio
40 mutex_lock(&gpio->lock);
51 mutex_unlock(&gpio->lock);
119 static void pisosr_mutex_destroy(void *lock) argument
121 mutex_destroy(lock);
150 mutex_init(&gpio->lock);
151 ret = devm_add_action_or_reset(dev, pisosr_mutex_destroy, &gpio->lock);
H A Dgpio-ath79.c33 raw_spinlock_t lock; member in struct:ath79_gpio_ctrl
76 raw_spin_lock_irqsave(&ctrl->lock, flags);
78 raw_spin_unlock_irqrestore(&ctrl->lock, flags);
87 raw_spin_lock_irqsave(&ctrl->lock, flags);
89 raw_spin_unlock_irqrestore(&ctrl->lock, flags);
99 raw_spin_lock_irqsave(&ctrl->lock, flags);
102 raw_spin_unlock_irqrestore(&ctrl->lock, flags);
111 raw_spin_lock_irqsave(&ctrl->lock, flags);
114 raw_spin_unlock_irqrestore(&ctrl->lock, flags);
145 raw_spin_lock_irqsave(&ctrl->lock, flag
[all...]
H A Dgpio-ts5500.c35 spinlock_t lock; member in struct:ts5500_priv
210 spin_lock_irqsave(&priv->lock, flags);
212 spin_unlock_irqrestore(&priv->lock, flags);
234 spin_lock_irqsave(&priv->lock, flags);
242 spin_unlock_irqrestore(&priv->lock, flags);
253 spin_lock_irqsave(&priv->lock, flags);
258 spin_unlock_irqrestore(&priv->lock, flags);
283 spin_lock_irqsave(&priv->lock, flags);
292 spin_unlock_irqrestore(&priv->lock, flags);
301 spin_lock_irqsave(&priv->lock, flag
[all...]
/linux-master/drivers/dma/
H A Dlpc18xx-dmamux.c39 spinlock_t lock; member in struct:lpc18xx_dmamux_data
48 spin_lock_irqsave(&dmamux->lock, flags);
50 spin_unlock_irqrestore(&dmamux->lock, flags);
86 spin_lock_irqsave(&dmamux->lock, flags);
88 spin_unlock_irqrestore(&dmamux->lock, flags);
101 spin_unlock_irqrestore(&dmamux->lock, flags);
155 spin_lock_init(&dmamux->lock);
/linux-master/drivers/gpu/host1x/
H A Dcontext.c31 mutex_init(&cdl->lock);
129 mutex_lock(&cdl->lock);
139 mutex_unlock(&cdl->lock);
147 mutex_unlock(&cdl->lock);
154 mutex_unlock(&cdl->lock);
170 if (refcount_dec_and_mutex_lock(&cd->ref, &cdl->lock)) {
173 mutex_unlock(&cdl->lock);
/linux-master/lib/kunit/
H A Dstring-stream.c82 spin_lock(&stream->lock);
85 spin_unlock(&stream->lock);
106 spin_lock(&stream->lock);
114 spin_unlock(&stream->lock);
127 spin_lock(&stream->lock);
130 spin_unlock(&stream->lock);
167 spin_lock_init(&stream->lock);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmrid_manager.c39 spinlock_t lock; member in struct:vmwgfx_gmrid_man
73 spin_lock(&gman->lock);
115 spin_unlock(&gman->lock);
120 spin_unlock(&gman->lock);
133 spin_lock(&gman->lock);
135 spin_unlock(&gman->lock);
168 spin_lock_init(&gman->lock);
/linux-master/fs/xfs/scrub/
H A Dquotacheck_repair.c69 mutex_lock(&xqc->lock);
107 mutex_unlock(&xqc->lock);
120 * Transaction commit unlocks the dquot, so we must re-lock it so that
129 mutex_unlock(&xqc->lock);
133 /* Re-lock the dquot so the caller can put the reference. */
170 mutex_lock(&xqc->lock);
177 mutex_unlock(&xqc->lock);
194 mutex_lock(&xqc->lock);
196 mutex_unlock(&xqc->lock);
/linux-master/drivers/rtc/
H A Drtc-lpc32xx.c52 spinlock_t lock; member in struct:lpc32xx_rtc
72 spin_lock_irq(&rtc->lock);
81 spin_unlock_irq(&rtc->lock);
108 spin_lock_irq(&rtc->lock);
124 spin_unlock_irq(&rtc->lock);
135 spin_lock_irq(&rtc->lock);
147 spin_unlock_irq(&rtc->lock);
156 spin_lock(&rtc->lock);
171 spin_unlock(&rtc->lock);
200 spin_lock_init(&rtc->lock);
[all...]
/linux-master/drivers/usb/serial/
H A Dmetro-usb.c40 spinlock_t lock; member in struct:metrousb_private
148 spin_lock_irqsave(&metro_priv->lock, flags);
150 spin_unlock_irqrestore(&metro_priv->lock, flags);
178 spin_lock_irqsave(&metro_priv->lock, flags);
181 spin_unlock_irqrestore(&metro_priv->lock, flags);
252 spin_lock_init(&metro_priv->lock);
274 spin_lock_irqsave(&metro_priv->lock, flags);
276 spin_unlock_irqrestore(&metro_priv->lock, flags);
286 spin_lock_irqsave(&metro_priv->lock, flags);
288 spin_unlock_irqrestore(&metro_priv->lock, flag
[all...]
/linux-master/net/mptcp/
H A Dtoken.c39 spinlock_t lock; member in struct:token_bucket
53 /* called with bucket lock held */
66 /* called with bucket lock held */
123 spin_lock_bh(&bucket->lock);
125 spin_unlock_bh(&bucket->lock);
131 spin_unlock_bh(&bucket->lock);
164 spin_lock_bh(&bucket->lock);
166 spin_unlock_bh(&bucket->lock);
178 spin_unlock_bh(&bucket->lock);
200 spin_lock_bh(&bucket->lock);
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gpu_devfreq.c47 mutex_lock(&df->lock);
49 mutex_unlock(&df->lock);
86 mutex_lock(&df->lock);
94 mutex_unlock(&df->lock);
103 mutex_unlock(&df->lock);
157 mutex_init(&df->lock);
230 mutex_lock(&df->lock);
234 mutex_unlock(&df->lock);
246 mutex_lock(&df->lock);
248 mutex_unlock(&df->lock);
[all...]
/linux-master/drivers/soc/fsl/qe/
H A Dgpio.c27 spinlock_t lock; member in struct:qe_gpio_chip
68 spin_lock_irqsave(&qe_gc->lock, flags);
77 spin_unlock_irqrestore(&qe_gc->lock, flags);
89 spin_lock_irqsave(&qe_gc->lock, flags);
104 spin_unlock_irqrestore(&qe_gc->lock, flags);
113 spin_lock_irqsave(&qe_gc->lock, flags);
117 spin_unlock_irqrestore(&qe_gc->lock, flags);
130 spin_lock_irqsave(&qe_gc->lock, flags);
134 spin_unlock_irqrestore(&qe_gc->lock, flags);
246 spin_lock_irqsave(&qe_gc->lock, flag
[all...]
/linux-master/drivers/regulator/
H A Drpi-panel-attiny-regulator.c64 /* lock to serialise overall accesses to the Atmel */
65 struct mutex lock; member in struct:attiny_lcd
96 mutex_lock(&state->lock);
117 mutex_unlock(&state->lock);
126 mutex_lock(&state->lock);
138 mutex_unlock(&state->lock);
149 mutex_lock(&state->lock);
158 mutex_unlock(&state->lock);
192 mutex_lock(&state->lock);
200 mutex_unlock(&state->lock);
[all...]
/linux-master/block/
H A Ddisk-events.c13 spinlock_t lock; member in struct:disk_events
88 spin_lock_irqsave(&ev->lock, flags);
90 spin_unlock_irqrestore(&ev->lock, flags);
104 spin_lock_irqsave(&ev->lock, flags);
120 spin_unlock_irqrestore(&ev->lock, flags);
158 spin_lock_irq(&ev->lock);
163 spin_unlock_irq(&ev->lock);
196 spin_lock_irq(&ev->lock);
207 spin_unlock_irq(&ev->lock);
243 spin_lock_irq(&ev->lock);
[all...]
/linux-master/lib/
H A Dpercpu_counter.c65 raw_spin_lock_irqsave(&fbc->lock, flags);
71 raw_spin_unlock_irqrestore(&fbc->lock, flags);
95 raw_spin_lock(&fbc->lock);
98 raw_spin_unlock(&fbc->lock);
117 raw_spin_lock_irqsave(&fbc->lock, flags);
121 raw_spin_unlock_irqrestore(&fbc->lock, flags);
143 raw_spin_lock_irqsave(&fbc->lock, flags);
149 raw_spin_unlock_irqrestore(&fbc->lock, flags);
172 raw_spin_lock_init(&fbc[i].lock);
173 lockdep_set_class(&fbc[i].lock, ke
[all...]
/linux-master/drivers/dma-buf/
H A Dsw_sync.c113 spin_lock_init(&obj->lock);
158 spin_lock_irqsave(fence->lock, flags);
163 spin_unlock_irqrestore(fence->lock, flags);
200 spin_lock_irqsave(fence->lock, flags);
208 spin_unlock_irqrestore(fence->lock, flags);
237 spin_lock_irq(&obj->lock);
253 spin_unlock_irq(&obj->lock);
281 dma_fence_init(&pt->base, &timeline_fence_ops, &obj->lock,
285 spin_lock_irq(&obj->lock);
319 spin_unlock_irq(&obj->lock);
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c24 spinlock_t lock; member in struct:qede_ptp
49 spin_lock_bh(&ptp->lock);
51 spin_unlock_bh(&ptp->lock);
72 spin_lock_bh(&ptp->lock);
74 spin_unlock_bh(&ptp->lock);
88 spin_lock_bh(&ptp->lock);
90 spin_unlock_bh(&ptp->lock);
114 spin_lock_bh(&ptp->lock);
116 spin_unlock_bh(&ptp->lock);
152 spin_lock_bh(&ptp->lock);
[all...]
/linux-master/drivers/staging/media/imx/
H A Dimx-ic-prp.c41 /* lock to protect all members below */
42 struct mutex lock; member in struct:prp_priv
103 mutex_lock(&priv->lock);
124 mutex_unlock(&priv->lock);
139 mutex_lock(&priv->lock);
149 mutex_unlock(&priv->lock);
166 mutex_lock(&priv->lock);
206 mutex_unlock(&priv->lock);
225 mutex_lock(&priv->lock);
285 mutex_unlock(&priv->lock);
[all...]
/linux-master/fs/btrfs/
H A Dblock-rsv.c113 spin_lock(&block_rsv->lock);
134 spin_unlock(&block_rsv->lock);
139 spin_lock(&dest->lock);
150 spin_unlock(&dest->lock);
179 spin_lock_init(&rsv->lock);
236 spin_lock(&block_rsv->lock);
240 spin_unlock(&block_rsv->lock);
254 spin_lock(&block_rsv->lock);
259 spin_unlock(&block_rsv->lock);
302 spin_lock(&block_rsv->lock);
[all...]
/linux-master/drivers/block/aoe/
H A Daoeblk.c128 spin_lock_irqsave(&d->lock, flags);
150 spin_unlock_irqrestore(&d->lock, flags);
222 spin_lock_irqsave(&d->lock, flags);
225 spin_unlock_irqrestore(&d->lock, flags);
229 spin_unlock_irqrestore(&d->lock, flags);
240 spin_lock_irqsave(&d->lock, flags);
243 spin_unlock_irqrestore(&d->lock, flags);
247 spin_unlock_irqrestore(&d->lock, flags);
255 spin_lock_irq(&d->lock);
260 spin_unlock_irq(&d->lock);
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_attr.c215 spin_lock_irq(&hw->lock);
217 spin_unlock_irq(&hw->lock);
231 spin_lock_irq(&hw->lock);
236 spin_unlock_irq(&hw->lock);
251 spin_lock_irq(&hw->lock);
261 spin_unlock_irq(&hw->lock);
275 spin_lock_irq(&hw->lock);
299 spin_unlock_irq(&hw->lock);
314 spin_lock_irq(&hw->lock);
320 spin_unlock_irq(&hw->lock);
[all...]

Completed in 448 milliseconds

<<21222324252627282930>>