/drivers/staging/greybus/ |
D | uart.c | 54 spinlock_t write_lock; member 170 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler() 176 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler() 240 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 249 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 254 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 264 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 266 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 272 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 275 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() [all …]
|
/drivers/media/cec/usb/rainshadow/ |
D | rainshadow-cec.c | 62 struct mutex write_lock; member 219 mutex_lock(&rain->write_lock); in rain_send_and_wait() 235 mutex_unlock(&rain->write_lock); in rain_send_and_wait() 294 mutex_lock(&rain->write_lock); in rain_cec_adap_transmit() 296 mutex_unlock(&rain->write_lock); in rain_cec_adap_transmit() 329 mutex_init(&rain->write_lock); in rain_connect()
|
/drivers/platform/surface/ |
D | surface_dtx.c | 155 struct mutex write_lock; /* Guards order of events/notifications. */ member 191 mutex_destroy(&ddev->write_lock); in __sdtx_device_release() 602 lockdep_assert_held(&ddev->write_lock); in sdtx_push_event() 656 mutex_lock(&ddev->write_lock); in sdtx_notifier() 714 mutex_unlock(&ddev->write_lock); in sdtx_notifier() 763 mutex_lock(&ddev->write_lock); in sdtx_device_mode_workfn() 768 mutex_unlock(&ddev->write_lock); in sdtx_device_mode_workfn() 785 mutex_unlock(&ddev->write_lock); in sdtx_device_mode_workfn() 799 lockdep_assert_held(&ddev->write_lock); in __sdtx_device_state_update_base() 828 lockdep_assert_held(&ddev->write_lock); in __sdtx_device_state_update_mode() [all …]
|
D | surface_aggregator_cdev.c | 64 struct mutex write_lock; /* Guards FIFO buffer write access */ member 107 mutex_lock(&client->write_lock); in ssam_cdev_notifier() 114 mutex_unlock(&client->write_lock); in ssam_cdev_notifier() 122 mutex_unlock(&client->write_lock); in ssam_cdev_notifier() 477 mutex_init(&client->write_lock); in ssam_cdev_device_open() 488 mutex_destroy(&client->write_lock); in ssam_cdev_device_open() 516 mutex_destroy(&client->write_lock); in ssam_cdev_device_release()
|
/drivers/gpu/drm/ |
D | drm_vma_manager.c | 206 write_lock(&mgr->vm_lock); in drm_vma_offset_add() 232 write_lock(&mgr->vm_lock); in drm_vma_offset_remove() 276 write_lock(&node->vm_lock); in drm_vma_node_allow() 331 write_lock(&node->vm_lock); in drm_vma_node_revoke()
|
/drivers/md/bcache/ |
D | btree.c | 407 lockdep_assert_held(&b->write_lock); in __bch_btree_node_write() 458 mutex_lock(&b->write_lock); in bch_btree_node_write_sync() 460 mutex_unlock(&b->write_lock); in bch_btree_node_write_sync() 469 mutex_lock(&b->write_lock); in btree_node_write_work() 472 mutex_unlock(&b->write_lock); in btree_node_write_work() 480 lockdep_assert_held(&b->write_lock); in bch_btree_leaf_dirty() 576 mutex_init(&b->write_lock); in mca_bucket_alloc() 577 lockdep_set_novalidate_class(&b->write_lock); in mca_bucket_alloc() 617 mutex_lock(&b->write_lock); in mca_reap() 625 mutex_unlock(&b->write_lock); in mca_reap() [all …]
|
D | journal.c | 483 mutex_lock(&b->write_lock); in btree_flush_write() 486 mutex_unlock(&b->write_lock); in btree_flush_write() 491 mutex_unlock(&b->write_lock); in btree_flush_write() 510 mutex_unlock(&b->write_lock); in btree_flush_write() 516 mutex_unlock(&b->write_lock); in btree_flush_write() 544 mutex_lock(&b->write_lock); in btree_flush_write() 547 mutex_unlock(&b->write_lock); in btree_flush_write() 554 mutex_unlock(&b->write_lock); in btree_flush_write() 561 mutex_unlock(&b->write_lock); in btree_flush_write()
|
D | btree.h | 129 struct mutex write_lock; member
|
/drivers/mmc/host/ |
D | sdhci-bcm-kona.c | 54 struct mutex write_lock; /* protect back to back writes */ member 136 mutex_lock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate() 154 mutex_unlock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate() 234 mutex_init(&kona_dev->write_lock); in sdhci_bcm_kona_probe()
|
/drivers/usb/class/ |
D | cdc-acm.c | 204 spin_lock_irqsave(&acm->write_lock, flags); in acm_wb_is_avail() 208 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_wb_is_avail() 581 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk() 583 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk() 755 spin_lock_irq(&acm->write_lock); in acm_port_shutdown() 756 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown() 810 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write() 813 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 820 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 832 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() [all …]
|
D | cdc-acm.h | 107 spinlock_t write_lock; member
|
/drivers/parisc/ |
D | pdc_stable.c | 314 write_lock(&entry->rw_lock); in pdcspath_hwpath_write() 412 write_lock(&entry->rw_lock); in pdcspath_layer_write() 784 write_lock(&pathentry->rw_lock); in pdcs_auto_write() 972 write_lock(&entry->rw_lock); in pdcs_register_pathentries() 988 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 138 struct mutex write_lock; /* lock for writing */ member 512 if (!mutex_trylock(&fifo->write_lock)) in axis_fifo_write() 526 mutex_lock(&fifo->write_lock); in axis_fifo_write() 574 mutex_unlock(&fifo->write_lock); in axis_fifo_write() 837 mutex_init(&fifo->write_lock); in axis_fifo_probe()
|
/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 23 write_lock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 131 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
|
/drivers/gpu/drm/msm/ |
D | msm_submitqueue.c | 153 write_lock(&ctx->queuelock); in msm_submitqueue_create() 250 write_lock(&ctx->queuelock); in msm_submitqueue_remove()
|
/drivers/staging/gdm724x/ |
D | gdm_mux.c | 360 spin_lock_irqsave(&mux_dev->write_lock, flags); in gdm_mux_send() 367 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send() 395 spin_unlock_irqrestore(&mux_dev->write_lock, flags); in gdm_mux_send() 470 spin_lock_init(&mux_dev->write_lock); in init_usb()
|
D | gdm_mux.h | 81 spinlock_t write_lock; member
|
/drivers/tty/serdev/ |
D | core.c | 284 mutex_lock(&serdev->write_lock); in serdev_device_write() 302 mutex_unlock(&serdev->write_lock); in serdev_device_write() 461 mutex_init(&serdev->write_lock); in serdev_device_alloc()
|
/drivers/mmc/core/ |
D | sdio_uart.c | 71 spinlock_t write_lock; member 91 spin_lock_init(&port->write_lock); in sdio_uart_add_port() 448 len = kfifo_out_locked(xmit, iobuf, 16, &port->write_lock); in sdio_uart_transmit_chars() 786 ret = kfifo_in_locked(&port->xmit_fifo, buf, count, &port->write_lock); in sdio_uart_write()
|
/drivers/s390/scsi/ |
D | zfcp_ccw.c | 128 write_lock(&port->unit_list_lock); in zfcp_ccw_remove()
|
/drivers/input/serio/ |
D | hp_sdc.c | 172 write_lock(lock); in hp_sdc_spin_ibf() 211 write_lock(&hp_sdc.rtq_lock); in hp_sdc_take() 356 write_lock(&hp_sdc.lock); in hp_sdc_put()
|
D | hp_sdc_mlc.c | 67 write_lock(&mlc->lock); in hp_sdc_mlc_isr()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 281 write_lock(&port->sw->port_list_lock); in prestera_port_list_add() 288 write_lock(&port->sw->port_list_lock); in prestera_port_list_del()
|
/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 222 write_lock(&req_q->req_lock); in hisi_zip_create_req() 254 write_lock(&req_q->req_lock); in hisi_zip_remove_req()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 70 write_lock(&i915->mm.notifier_lock); in i915_gem_userptr_invalidate()
|