Home
last modified time | relevance | path

Searched refs:write_lock (Results 1 – 25 of 34) sorted by relevance

12

/drivers/staging/greybus/
Duart.c64 spinlock_t write_lock; member
180 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler()
186 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler()
250 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
259 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
264 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
274 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
276 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
282 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
285 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work()
[all …]
/drivers/gpu/drm/
Ddrm_vma_manager.c106 write_lock(&mgr->vm_lock); in drm_vma_offset_manager_destroy()
208 write_lock(&mgr->vm_lock); in drm_vma_offset_add()
240 write_lock(&mgr->vm_lock); in drm_vma_offset_remove()
284 write_lock(&node->vm_lock); in drm_vma_node_allow()
339 write_lock(&node->vm_lock); in drm_vma_node_revoke()
/drivers/md/bcache/
Dbtree.c445 lockdep_assert_held(&b->write_lock); in __bch_btree_node_write()
496 mutex_lock(&b->write_lock); in bch_btree_node_write_sync()
498 mutex_unlock(&b->write_lock); in bch_btree_node_write_sync()
507 mutex_lock(&b->write_lock); in btree_node_write_work()
510 mutex_unlock(&b->write_lock); in btree_node_write_work()
518 lockdep_assert_held(&b->write_lock); in bch_btree_leaf_dirty()
604 mutex_init(&b->write_lock); in mca_bucket_alloc()
605 lockdep_set_novalidate_class(&b->write_lock); in mca_bucket_alloc()
639 mutex_lock(&b->write_lock); in mca_reap()
642 mutex_unlock(&b->write_lock); in mca_reap()
[all …]
Dbtree.h130 struct mutex write_lock; member
Djournal.c390 mutex_lock(&b->write_lock); in btree_flush_write()
392 mutex_unlock(&b->write_lock); in btree_flush_write()
398 mutex_unlock(&b->write_lock); in btree_flush_write()
Dsuper.c1414 mutex_lock(&b->write_lock); in cache_set_flush()
1417 mutex_unlock(&b->write_lock); in cache_set_flush()
1689 mutex_lock(&c->root->write_lock); in run_cache_set()
1692 mutex_unlock(&c->root->write_lock); in run_cache_set()
/drivers/usb/class/
Dcdc-acm.c191 spin_lock_irqsave(&acm->write_lock, flags); in acm_wb_is_avail()
194 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_wb_is_avail()
474 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk()
476 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk()
622 spin_lock_irq(&acm->write_lock); in acm_port_shutdown()
623 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown()
680 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write()
683 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
690 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
702 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
[all …]
Dcdc-acm.h102 spinlock_t write_lock; member
/drivers/mmc/host/
Dsdhci-bcm-kona.c56 struct mutex write_lock; /* protect back to back writes */ member
138 mutex_lock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate()
156 mutex_unlock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate()
236 mutex_init(&kona_dev->write_lock); in sdhci_bcm_kona_probe()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c110 write_lock(&dev_priv->resource_lock); in vmw_resource_release_id()
125 write_lock(&dev_priv->resource_lock); in vmw_resource_release()
160 write_lock(&dev_priv->resource_lock); in vmw_resource_release()
192 write_lock(&dev_priv->resource_lock); in vmw_resource_alloc_id()
256 write_lock(&dev_priv->resource_lock); in vmw_resource_activate()
1203 write_lock(&dev_priv->resource_lock); in vmw_resource_unreserve()
1282 write_lock(&dev_priv->resource_lock); in vmw_resource_reserve()
1390 write_lock(&dev_priv->resource_lock); in vmw_resource_validate()
1408 write_lock(&dev_priv->resource_lock); in vmw_resource_validate()
1640 write_lock(&dev_priv->resource_lock); in vmw_resource_evict_type()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c327 write_lock(&s->rw_lock); in cxgb4_sched_class_bind()
371 write_lock(&s->rw_lock); in cxgb4_sched_class_unbind()
448 write_lock(&s->rw_lock); in t4_sched_class_alloc()
550 write_lock(&s->rw_lock); in t4_cleanup_sched()
/drivers/parisc/
Dpdc_stable.c327 write_lock(&entry->rw_lock); in pdcspath_hwpath_write()
425 write_lock(&entry->rw_lock); in pdcspath_layer_write()
797 write_lock(&pathentry->rw_lock); in pdcs_auto_write()
985 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
999 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
/drivers/staging/gdm724x/
Dgdm_mux.c371 spin_lock_irqsave(&mux_dev->write_lock, flags); in gdm_mux_send()
378 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send()
406 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send()
481 spin_lock_init(&mux_dev->write_lock); in init_usb()
Dgdm_mux.h91 spinlock_t write_lock; member
/drivers/staging/media/pulse8-cec/
Dpulse8-cec.c133 struct mutex write_lock; member
309 mutex_lock(&pulse8->write_lock); in pulse8_send_and_wait()
324 mutex_unlock(&pulse8->write_lock); in pulse8_send_and_wait()
662 mutex_init(&pulse8->write_lock); in pulse8_connect()
/drivers/tty/serial/
Difx6x60.h94 spinlock_t write_lock; member
/drivers/staging/lustre/lustre/fld/
Dfld_cache.c243 write_lock(&cache->fci_lock); in fld_cache_flush()
435 write_lock(&cache->fci_lock); in fld_cache_insert()
/drivers/mmc/card/
Dsdio_uart.c75 spinlock_t write_lock; member
95 spin_lock_init(&port->write_lock); in sdio_uart_add_port()
454 len = kfifo_out_locked(xmit, iobuf, 16, &port->write_lock); in sdio_uart_transmit_chars()
792 ret = kfifo_in_locked(&port->xmit_fifo, buf, count, &port->write_lock); in sdio_uart_write()
/drivers/s390/scsi/
Dzfcp_ccw.c127 write_lock(&port->unit_list_lock); in zfcp_ccw_remove()
/drivers/input/serio/
Dhp_sdc.c172 write_lock(lock); in hp_sdc_spin_ibf()
211 write_lock(&hp_sdc.rtq_lock); in hp_sdc_take()
359 write_lock(&hp_sdc.lock); in hp_sdc_put()
Dhp_sdc_mlc.c67 write_lock(&mlc->lock); in hp_sdc_mlc_isr()
/drivers/staging/lustre/lustre/ptlrpc/
Dsec_plain.c381 write_lock(&plsec->pls_lock); in plain_sec_install_ctx()
527 write_lock(&plsec->pls_lock); in plain_flush_ctx_cache()
/drivers/staging/lustre/lustre/llite/
Drw.c1075 write_lock(&fd->fd_lock); in ll_cl_add()
1085 write_lock(&fd->fd_lock); in ll_cl_remove()
/drivers/s390/char/
Dtape_core.c337 write_lock(&tape_device_lock); in tape_assign_minor()
357 write_lock(&tape_device_lock); in tape_remove_minor()
/drivers/staging/lustre/lustre/obdclass/
Dgenops.c291 write_lock(&obd_dev_lock); in class_newdev()
358 write_lock(&obd_dev_lock); in class_release_dev()

12