/Linux-v5.4/fs/btrfs/tests/ |
D | extent-map-tests.c | 69 write_lock(&em_tree->lock); in test_case_1() 90 write_lock(&em_tree->lock); in test_case_1() 111 write_lock(&em_tree->lock); in test_case_1() 157 write_lock(&em_tree->lock); in test_case_2() 178 write_lock(&em_tree->lock); in test_case_2() 199 write_lock(&em_tree->lock); in test_case_2() 240 write_lock(&em_tree->lock); in __test_case_3() 261 write_lock(&em_tree->lock); in __test_case_3() 339 write_lock(&em_tree->lock); in __test_case_4() 360 write_lock(&em_tree->lock); in __test_case_4() [all …]
|
/Linux-v5.4/drivers/staging/greybus/ |
D | uart.c | 62 spinlock_t write_lock; member 178 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler() 184 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_receive_credits_handler() 248 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 257 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 262 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() 274 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 280 spin_lock_irqsave(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() 283 spin_unlock_irqrestore(&gb_tty->write_lock, flags); in gb_uart_tx_write_work() [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/media/usb/rainshadow-cec/ |
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()
|
/Linux-v5.4/samples/kfifo/ |
D | record-example.c | 28 static DEFINE_MUTEX(write_lock); 126 if (mutex_lock_interruptible(&write_lock)) in fifo_write() 131 mutex_unlock(&write_lock); in fifo_write()
|
D | inttype-example.c | 28 static DEFINE_MUTEX(write_lock); 112 if (mutex_lock_interruptible(&write_lock)) in fifo_write() 117 mutex_unlock(&write_lock); in fifo_write()
|
D | bytestream-example.c | 28 static DEFINE_MUTEX(write_lock); 119 if (mutex_lock_interruptible(&write_lock)) in fifo_write() 124 mutex_unlock(&write_lock); in fifo_write()
|
/Linux-v5.4/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()
|
/Linux-v5.4/net/ax25/ |
D | ax25_uid.c | 111 write_lock(&ax25_uid_lock); in ax25_uid_ioctl() 122 write_lock(&ax25_uid_lock); in ax25_uid_ioctl() 196 write_lock(&ax25_uid_lock); in ax25_uid_free()
|
/Linux-v5.4/fs/afs/ |
D | callback.c | 54 write_lock(&server->cb_break_lock); in afs_create_interest() 127 write_lock(&slist->lock); in afs_register_server_cb_interest() 145 write_lock(&slist->lock); in afs_register_server_cb_interest() 185 write_lock(&cbi->server->cb_break_lock); in afs_put_cb_interest() 282 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
|
D | volume.c | 192 write_lock(&volume->cell->proc_lock); in afs_activate_volume() 204 write_lock(&volume->cell->proc_lock); in afs_deactivate_volume() 256 write_lock(&volume->servers_lock); in afs_update_volume_status()
|
/Linux-v5.4/drivers/md/bcache/ |
D | btree.c | 463 lockdep_assert_held(&b->write_lock); in __bch_btree_node_write() 514 mutex_lock(&b->write_lock); in bch_btree_node_write_sync() 516 mutex_unlock(&b->write_lock); in bch_btree_node_write_sync() 525 mutex_lock(&b->write_lock); in btree_node_write_work() 528 mutex_unlock(&b->write_lock); in btree_node_write_work() 536 lockdep_assert_held(&b->write_lock); in bch_btree_leaf_dirty() 627 mutex_init(&b->write_lock); in mca_bucket_alloc() 628 lockdep_set_novalidate_class(&b->write_lock); in mca_bucket_alloc() 668 mutex_lock(&b->write_lock); in mca_reap() 676 mutex_unlock(&b->write_lock); in mca_reap() [all …]
|
D | journal.c | 445 mutex_lock(&b->write_lock); in btree_flush_write() 448 mutex_unlock(&b->write_lock); in btree_flush_write() 453 mutex_unlock(&b->write_lock); in btree_flush_write() 459 mutex_unlock(&b->write_lock); in btree_flush_write() 480 mutex_lock(&b->write_lock); in btree_flush_write() 483 mutex_unlock(&b->write_lock); in btree_flush_write() 490 mutex_unlock(&b->write_lock); in btree_flush_write() 497 mutex_unlock(&b->write_lock); in btree_flush_write()
|
/Linux-v5.4/net/nfc/ |
D | af_nfc.c | 56 write_lock(&proto_tab_lock); in nfc_proto_register() 69 write_lock(&proto_tab_lock); in nfc_proto_unregister()
|
/Linux-v5.4/kernel/ |
D | resource.c | 267 write_lock(&resource_lock); in release_child_resources() 283 write_lock(&resource_lock); in request_resource_conflict() 314 write_lock(&resource_lock); in release_resource() 676 write_lock(&resource_lock); in reallocate_resource() 746 write_lock(&resource_lock); in allocate_resource() 850 write_lock(&resource_lock); in insert_resource_conflict() 888 write_lock(&resource_lock); in insert_resource_expand_to_fit() 928 write_lock(&resource_lock); in remove_resource() 987 write_lock(&resource_lock); in adjust_resource() 1061 write_lock(&resource_lock); in reserve_region_with_split() [all …]
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | spinlock.h | 259 x->write_lock = 0; in arch_write_unlock() 271 old.lock.write_lock = new.lock.write_lock = 0; in arch_read_trylock()
|
D | spinlock_types.h | 17 volatile unsigned int write_lock : 1; member
|
/Linux-v5.4/fs/jbd2/ |
D | journal.c | 197 write_lock(&journal->j_state_lock); in kjournald2() 211 write_lock(&journal->j_state_lock); in kjournald2() 225 write_lock(&journal->j_state_lock); in kjournald2() 247 write_lock(&journal->j_state_lock); in kjournald2() 288 write_lock(&journal->j_state_lock); in journal_kill_thread() 295 write_lock(&journal->j_state_lock); in journal_kill_thread() 522 write_lock(&journal->j_state_lock); in jbd2_log_start_commit() 608 write_lock(&journal->j_state_lock); in jbd2_journal_start_commit() 774 write_lock(&journal->j_state_lock); in jbd2_journal_next_log_block() 937 write_lock(&journal->j_state_lock); in __jbd2_update_log_tail() [all …]
|
D | commit.c | 422 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 447 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 521 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 555 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 759 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 870 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1040 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1116 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
|
/Linux-v5.4/net/rxrpc/ |
D | call_accept.c | 104 write_lock(&rx->call_lock); in rxrpc_service_prealloc_one() 138 write_lock(&rxnet->call_lock); in rxrpc_service_prealloc_one() 213 write_lock(&rxnet->conn_lock); in rxrpc_discard_prealloc() 402 write_lock(&call->state_lock); in rxrpc_new_incoming_call() 460 write_lock(&rx->call_lock); in rxrpc_accept_call() 502 write_lock(&rx->call_lock); in rxrpc_accept_call() 583 write_lock(&rx->call_lock); in rxrpc_reject_call()
|
D | call_object.c | 253 write_lock(&rx->call_lock); in rxrpc_new_client_call() 280 write_lock(&rxnet->call_lock); in rxrpc_new_client_call() 483 write_lock(&rx->call_lock); in rxrpc_release_call() 555 write_lock(&rxnet->call_lock); in rxrpc_put_call() 613 write_lock(&rxnet->call_lock); in rxrpc_destroy_all_calls() 630 write_lock(&rxnet->call_lock); in rxrpc_destroy_all_calls()
|
/Linux-v5.4/drivers/usb/class/ |
D | cdc-acm.c | 192 spin_lock_irqsave(&acm->write_lock, flags); in acm_wb_is_avail() 195 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_wb_is_avail() 547 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk() 549 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk() 712 spin_lock_irq(&acm->write_lock); in acm_port_shutdown() 713 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown() 766 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write() 769 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 776 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 788 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_submitqueue.c | 80 write_lock(&ctx->queuelock); in msm_submitqueue_create() 171 write_lock(&ctx->queuelock); in msm_submitqueue_remove()
|
/Linux-v5.4/security/integrity/ |
D | iint.c | 109 write_lock(&integrity_iint_lock); in integrity_inode_get() 145 write_lock(&integrity_iint_lock); in integrity_inode_free()
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 21 write_lock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 76 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
|