Home
last modified time | relevance | path

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

12

/drivers/staging/unisys/visorbus/
Dperiodic_work.c83 write_lock(&pw->lock); in visor_periodic_work_nextperiod()
110 write_lock(&pw->lock); in visor_periodic_work_start()
171 write_lock(&pw->lock); in visor_periodic_work_stop()
195 write_lock(&pw->lock); in visor_periodic_work_stop()
/drivers/gpu/drm/
Ddrm_vma_manager.c108 write_lock(&mgr->vm_lock); in drm_vma_offset_manager_destroy()
228 write_lock(&mgr->vm_lock); in drm_vma_offset_add()
262 write_lock(&mgr->vm_lock); in drm_vma_offset_remove()
307 write_lock(&node->vm_lock); in drm_vma_node_allow()
361 write_lock(&node->vm_lock); in drm_vma_node_revoke()
/drivers/md/bcache/
Dbtree.c450 lockdep_assert_held(&b->write_lock); in __bch_btree_node_write()
501 mutex_lock(&b->write_lock); in bch_btree_node_write_sync()
503 mutex_unlock(&b->write_lock); in bch_btree_node_write_sync()
512 mutex_lock(&b->write_lock); in btree_node_write_work()
515 mutex_unlock(&b->write_lock); in btree_node_write_work()
523 lockdep_assert_held(&b->write_lock); in bch_btree_leaf_dirty()
609 mutex_init(&b->write_lock); in mca_bucket_alloc()
610 lockdep_set_novalidate_class(&b->write_lock); in mca_bucket_alloc()
644 mutex_lock(&b->write_lock); in mca_reap()
647 mutex_unlock(&b->write_lock); in mca_reap()
[all …]
Dbtree.h130 struct mutex write_lock; member
Djournal.c410 mutex_lock(&b->write_lock); in btree_flush_write()
412 mutex_unlock(&b->write_lock); in btree_flush_write()
418 mutex_unlock(&b->write_lock); in btree_flush_write()
Dsuper.c1415 mutex_lock(&b->write_lock); in cache_set_flush()
1418 mutex_unlock(&b->write_lock); in cache_set_flush()
1692 mutex_lock(&c->root->write_lock); in run_cache_set()
1695 mutex_unlock(&c->root->write_lock); in run_cache_set()
/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/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()
486 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk()
488 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk()
654 spin_lock_irq(&acm->write_lock); in acm_port_shutdown()
655 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown()
712 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write()
715 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
722 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
734 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
[all …]
Dcdc-acm.h101 spinlock_t write_lock; member
/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()
1205 write_lock(&dev_priv->resource_lock); in vmw_resource_unreserve()
1284 write_lock(&dev_priv->resource_lock); in vmw_resource_reserve()
1392 write_lock(&dev_priv->resource_lock); in vmw_resource_validate()
1410 write_lock(&dev_priv->resource_lock); in vmw_resource_validate()
1642 write_lock(&dev_priv->resource_lock); in vmw_resource_evict_type()
[all …]
/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()
1001 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
/drivers/staging/gdm724x/
Dgdm_mux.c372 spin_lock_irqsave(&mux_dev->write_lock, flags); in gdm_mux_send()
379 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send()
407 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send()
482 spin_lock_init(&mux_dev->write_lock); in init_usb()
Dgdm_mux.h91 spinlock_t write_lock; member
/drivers/staging/lustre/lustre/fld/
Dfld_cache.c248 write_lock(&cache->fci_lock); in fld_cache_flush()
438 write_lock(&cache->fci_lock); in fld_cache_insert()
473 write_lock(&cache->fci_lock); in fld_cache_delete()
/drivers/tty/serial/
Difx6x60.h94 spinlock_t write_lock; member
Difx6x60.c1026 spin_lock_init(&ifx_dev->write_lock); in ifx_spi_spi_probe()
/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()
Dsec.c77 write_lock(&policy_lock); in sptlrpc_register_policy()
96 write_lock(&policy_lock); in sptlrpc_unregister_policy()
/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.c305 write_lock(&obd_dev_lock); in class_newdev()
372 write_lock(&obd_dev_lock); in class_release_dev()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c993 write_lock(&obd->obd_pool_lock); in ldlm_cli_update_pool()

12