Searched refs:lock (Results 801 - 825 of 6560) sorted by relevance

<<31323334353637383940>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c113 spin_lock_irqsave(&device->intr.lock, flags);
115 spin_unlock_irqrestore(&device->intr.lock, flags);
139 spin_lock_irqsave(&device->intr.lock, flags);
141 spin_unlock_irqrestore(&device->intr.lock, flags);
174 spin_lock(&device->intr.lock);
227 spin_unlock(&device->intr.lock);
254 spin_lock_irq(&device->intr.lock);
256 spin_unlock_irq(&device->intr.lock);
327 spin_lock_irq(&device->intr.lock);
337 spin_unlock_irq(&device->intr.lock);
[all...]
/linux-master/drivers/net/
H A Deql.c77 * infinite sleep in a lock somewhere..
149 spin_lock(&eql->queue.lock);
163 spin_unlock(&eql->queue.lock);
186 spin_lock_init(&eql->queue.lock);
236 spin_lock_bh(&queue->lock);
245 spin_unlock_bh(&queue->lock);
301 /* queue->lock must be held */
342 spin_lock(&eql->queue.lock);
358 spin_unlock(&eql->queue.lock);
367 /* queue->lock mus
[all...]
/linux-master/drivers/tty/
H A Dtty_jobctrl.c31 * Locking: ctrl.lock
45 spin_lock_irqsave(&tty->ctrl.lock, flags);
47 spin_unlock_irqrestore(&tty->ctrl.lock, flags);
96 * sighand lock
102 spin_lock_irqsave(&tty->ctrl.lock, flags);
111 spin_unlock_irqrestore(&tty->ctrl.lock, flags);
210 * the tasklist lock.
221 spin_lock(&tty->ctrl.lock);
226 spin_unlock(&tty->ctrl.lock);
308 spin_lock_irqsave(&tty->ctrl.lock, flag
[all...]
/linux-master/drivers/crypto/stm32/
H A Dstm32-crc32.c50 spinlock_t lock; member in struct:stm32_crc
55 spinlock_t lock; /* protect dev_list */ member in struct:stm32_crc_list
60 .lock = __SPIN_LOCK_UNLOCKED(crc_list.lock),
106 spin_lock_bh(&crc_list.lock);
110 spin_unlock_bh(&crc_list.lock);
128 spin_lock_irqsave(&crc->lock, flags);
139 spin_unlock_irqrestore(&crc->lock, flags);
160 if (!spin_trylock(&crc->lock)) {
208 spin_unlock(&crc->lock);
[all...]
/linux-master/io_uring/
H A Dsqpoll.c30 __releases(&sqd->lock)
41 mutex_unlock(&sqd->lock);
45 __acquires(&sqd->lock)
51 mutex_lock(&sqd->lock);
62 mutex_lock(&sqd->lock);
65 mutex_unlock(&sqd->lock);
158 mutex_init(&sqd->lock);
217 mutex_unlock(&sqd->lock);
221 mutex_lock(&sqd->lock);
302 mutex_lock(&sqd->lock);
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c66 * @lock: Lock that protects the ref_list list and the
79 spinlock_t lock; member in struct:ttm_object_file
88 * @object_lock: lock that protects idr.
261 spin_lock(&tfile->lock);
269 spin_unlock(&tfile->lock);
331 spin_lock(&tfile->lock);
337 spin_unlock(&tfile->lock);
345 static void __releases(tfile->lock) __acquires(tfile->lock)
354 spin_unlock(&tfile->lock);
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_cfg.c75 init_rwsem(&dev_cfg_data->lock);
108 down_write(&dev_cfg_data->lock);
110 up_write(&dev_cfg_data->lock);
131 down_write(&dev_cfg_data->lock);
133 up_write(&dev_cfg_data->lock);
302 down_write(&cfg->lock);
304 up_write(&cfg->lock);
334 down_write(&cfg->lock);
336 up_write(&cfg->lock);
348 down_read(&cfg->lock);
[all...]
/linux-master/fs/btrfs/
H A Ddelalloc-space.c248 lockdep_assert_held(&inode->lock);
274 spin_lock(&block_rsv->lock);
277 spin_unlock(&block_rsv->lock);
365 spin_lock(&inode->lock);
370 spin_unlock(&inode->lock);
377 spin_lock(&block_rsv->lock);
379 spin_unlock(&block_rsv->lock);
401 spin_lock(&inode->lock);
405 spin_unlock(&inode->lock);
430 spin_lock(&inode->lock);
[all...]
/linux-master/drivers/pwm/
H A Dpwm-sifive.c45 struct mutex lock; /* lock to protect user_count and approx_period */ member in struct:pwm_sifive_ddata
64 mutex_lock(&ddata->lock);
66 mutex_unlock(&ddata->lock);
75 mutex_lock(&ddata->lock);
77 mutex_unlock(&ddata->lock);
80 /* Called holding ddata->lock */
163 mutex_lock(&ddata->lock);
172 mutex_unlock(&ddata->lock);
178 mutex_unlock(&ddata->lock);
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dmax3420_udc.c161 spinlock_t lock; member in struct:max3420_ep
179 spinlock_t lock; member in struct:max3420_udc
321 spin_lock_irqsave(&ep->lock, flags);
324 spin_unlock_irqrestore(&ep->lock, flags);
353 spin_lock_irqsave(&ep->lock, flags);
356 spin_unlock_irqrestore(&ep->lock, flags);
385 spin_lock_irqsave(&udc->lock, flags);
388 spin_unlock_irqrestore(&udc->lock, flags);
480 spin_lock_irqsave(&udc->lock, flags);
483 spin_unlock_irqrestore(&udc->lock, flag
[all...]
/linux-master/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c36 spinlock_t lock; /* transmit lock */ member in struct:qcauart
118 spin_lock_bh(&qca->lock);
122 spin_unlock_bh(&qca->lock);
131 spin_unlock_bh(&qca->lock);
142 spin_unlock_bh(&qca->lock);
176 spin_lock_bh(&qca->lock);
178 spin_unlock_bh(&qca->lock);
192 spin_lock(&qca->lock);
197 spin_unlock(&qca->lock);
[all...]
/linux-master/drivers/usb/chipidea/
H A Dudc.c749 * Caller must hold lock
752 __releases(hwep->lock)
753 __acquires(hwep->lock)
778 spin_unlock(hwep->lock);
780 spin_lock(hwep->lock);
802 spin_lock_irqsave(hwep->lock, flags);
807 spin_unlock_irqrestore(hwep->lock, flags);
823 spin_unlock_irqrestore(hwep->lock, flags);
857 spin_lock_irqsave(&ci->lock, flags);
861 spin_unlock_irqrestore(&ci->lock, flag
[all...]
/linux-master/drivers/net/mctp/
H A Dmctp-i2c.c78 spinlock_t lock; member in struct:mctp_i2c_dev
328 spin_lock_irqsave(&midev->lock, flags);
331 spin_unlock_irqrestore(&midev->lock, flags);
337 spin_unlock_irqrestore(&midev->lock, flags);
372 spin_lock_irqsave(&key->lock, flags);
392 spin_unlock_irqrestore(&key->lock, flags);
404 bool lock; local
406 spin_lock_irqsave(&midev->lock, flags);
407 lock = midev->i2c_lock_count == 0;
409 spin_unlock_irqrestore(&midev->lock, flag
[all...]
/linux-master/lib/
H A Ddebugobjects.c43 raw_spinlock_t lock; member in struct:debug_bucket
147 * Recheck with the lock held as the worker thread might have
472 raw_spin_lock_irqsave(&db->lock, flags);
474 raw_spin_unlock_irqrestore(&db->lock, flags);
604 * raw_spinlock_t are basically the same type and this lock-type
631 raw_spin_lock_irqsave(&db->lock, flags);
635 raw_spin_unlock_irqrestore(&db->lock, flags);
645 raw_spin_unlock_irqrestore(&db->lock, flags);
652 raw_spin_unlock_irqrestore(&db->lock, flags);
708 raw_spin_lock_irqsave(&db->lock, flag
[all...]
/linux-master/kernel/
H A Dpadata.c39 spinlock_t lock; member in struct:padata_mt_job_state
257 spin_lock(&reorder->lock);
259 spin_unlock(&reorder->lock);
270 spin_unlock(&reorder->lock);
280 spin_unlock(&reorder->lock);
298 * get the lock just to notice that there is nothing to do at the
299 * moment. Therefore we use a trylock and let the holder of the lock
300 * care for all the objects enqueued during the holdtime of the lock.
302 if (!spin_trylock_bh(&pd->lock))
319 spin_lock(&squeue->serial.lock);
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-amd.c45 raw_spin_lock_irqsave(&gpio_dev->lock, flags);
47 raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
61 raw_spin_lock_irqsave(&gpio_dev->lock, flags);
65 raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
77 raw_spin_lock_irqsave(&gpio_dev->lock, flags);
85 raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
96 raw_spin_lock_irqsave(&gpio_dev->lock, flags);
98 raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
109 raw_spin_lock_irqsave(&gpio_dev->lock, flags);
116 raw_spin_unlock_irqrestore(&gpio_dev->lock, flag
[all...]
/linux-master/drivers/media/rc/
H A Dserial_ir.c39 spinlock_t lock; member in struct:serial_ir_hw
69 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_HOMEBREW].lock),
83 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_IRDEO].lock),
94 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_IRDEO_REMOTE].lock),
105 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_ANIMAX].lock),
113 .lock
[all...]
/linux-master/drivers/hid/
H A Dhid-picolcd_fb.c105 spin_lock_irqsave(&data->lock, flags);
107 spin_unlock_irqrestore(&data->lock, flags);
136 spin_unlock_irqrestore(&data->lock, flags);
196 spin_lock_irqsave(&data->lock, flags);
207 spin_unlock_irqrestore(&data->lock, flags);
232 mutex_lock(&info->lock);
234 spin_lock_irqsave(&fbdata->lock, flags);
237 spin_unlock_irqrestore(&fbdata->lock, flags);
255 spin_lock_irqsave(&fbdata->lock, flags);
257 spin_unlock_irqrestore(&fbdata->lock, flag
[all...]
/linux-master/drivers/clk/sunxi-ng/
H A Dccu_mult.h37 u32 lock; member in struct:ccu_mult
50 .lock = _lock, \
H A Dccu_nkmp.h22 u32 lock; member in struct:ccu_nkmp
43 .lock = _lock, \
/linux-master/include/net/
H A Dlib80211.h102 /* Most clients will already have a lock,
104 spinlock_t *lock; member in struct:lib80211_crypt_info
114 spinlock_t *lock);
/linux-master/net/netfilter/
H A Dxt_TEE.c32 /* lock protects the priv_list */
33 struct mutex lock; member in struct:tee_net
68 mutex_lock(&tn->lock);
87 mutex_unlock(&tn->lock);
122 mutex_lock(&tn->lock);
124 mutex_unlock(&tn->lock);
138 mutex_lock(&tn->lock);
140 mutex_unlock(&tn->lock);
178 mutex_init(&tn->lock);
/linux-master/drivers/gpio/
H A Dgpio-rdc321x.c19 spinlock_t lock; member in struct:rdc321x_gpio
39 spin_lock(&gpch->lock);
43 spin_unlock(&gpch->lock);
73 spin_lock(&gpch->lock);
75 spin_unlock(&gpch->lock);
87 spin_lock(&gpch->lock);
103 spin_unlock(&gpch->lock);
141 spin_lock_init(&rdc321x_gpio_dev->lock);
/linux-master/sound/drivers/vx/
H A Dvx_uer.c52 mutex_lock(&chip->lock);
62 mutex_unlock(&chip->lock);
74 mutex_lock(&chip->lock);
82 mutex_unlock(&chip->lock);
181 mutex_lock(&chip->lock);
184 mutex_unlock(&chip->lock);
200 mutex_lock(&chip->lock);
208 mutex_unlock(&chip->lock);
/linux-master/drivers/clk/sunxi/
H A Dclk-a10-mod1.c48 gate->lock = &mod1_lock;
52 mux->lock = &mod1_lock;

Completed in 239 milliseconds

<<31323334353637383940>>