/linux/drivers/staging/greybus/ |
H A 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 …]
|
/linux/drivers/char/hw_random/ |
H A D | jh7110-trng.c | 108 spinlock_t write_lock; member 152 spin_lock_irq(&trng->write_lock); in starfive_trng_cmd() 154 spin_unlock_irq(&trng->write_lock); in starfive_trng_cmd() 160 spin_lock_irq(&trng->write_lock); in starfive_trng_cmd() 162 spin_unlock_irq(&trng->write_lock); in starfive_trng_cmd() 226 spin_lock(&trng->write_lock); in starfive_trng_irq() 228 spin_unlock(&trng->write_lock); in starfive_trng_irq() 298 spin_lock_init(&trng->write_lock); in starfive_trng_probe()
|
/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 21 write_lock(&em_tree->lock); in free_extent_map_tree() 83 write_lock(&em_tree->lock); in test_case_1() 105 write_lock(&em_tree->lock); in test_case_1() 127 write_lock(&em_tree->lock); in test_case_1() 182 write_lock(&em_tree->lock); in test_case_2() 204 write_lock(&em_tree->lock); in test_case_2() 226 write_lock(&em_tree->lock); in test_case_2() 275 write_lock(&em_tree->lock); in __test_case_3() 297 write_lock(&em_tree->lock); in __test_case_3() 384 write_lock(&em_tree->lock); in __test_case_4() [all …]
|
/linux/drivers/media/cec/usb/rainshadow/ |
H A 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/drivers/gpu/drm/ |
H A 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() 257 write_lock(&node->vm_lock); in vma_node_allow() 363 write_lock(&node->vm_lock); in drm_vma_node_revoke()
|
/linux/drivers/md/bcache/ |
H A 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() 597 mutex_init(&b->write_lock); in mca_bucket_alloc() 598 lockdep_set_novalidate_class(&b->write_lock); in mca_bucket_alloc() 638 mutex_lock(&b->write_lock); in mca_reap() 646 mutex_unlock(&b->write_lock); in mca_reap() [all …]
|
H A D | journal.c | 482 mutex_lock(&b->write_lock); in btree_flush_write() 485 mutex_unlock(&b->write_lock); in btree_flush_write() 490 mutex_unlock(&b->write_lock); in btree_flush_write() 509 mutex_unlock(&b->write_lock); in btree_flush_write() 515 mutex_unlock(&b->write_lock); in btree_flush_write() 543 mutex_lock(&b->write_lock); in btree_flush_write() 546 mutex_unlock(&b->write_lock); in btree_flush_write() 553 mutex_unlock(&b->write_lock); in btree_flush_write() 560 mutex_unlock(&b->write_lock); in btree_flush_write()
|
/linux/net/ax25/ |
H A 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/drivers/mmc/host/ |
H A D | sdhci-bcm-kona.c | 43 struct mutex write_lock; /* protect back to back writes */ member 125 mutex_lock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate() 143 mutex_unlock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate() 223 mutex_init(&kona_dev->write_lock); in sdhci_bcm_kona_probe()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_vmid.c | 198 write_lock(&vport->vmid_lock); in lpfc_vmid_get_appid() 264 write_lock(&vport->vmid_lock); in lpfc_vmid_get_appid() 269 write_lock(&vport->vmid_lock); in lpfc_vmid_get_appid() 305 write_lock(&vport->vmid_lock); in lpfc_reinit_vmid()
|
/linux/net/nfc/ |
H A D | af_nfc.c | 56 write_lock(&proto_tab_lock); in nfc_proto_register() 72 write_lock(&proto_tab_lock); in nfc_proto_unregister()
|
/linux/kernel/ |
H A D | resource.c | 245 write_lock(&resource_lock); in release_child_resources() 261 write_lock(&resource_lock); in request_resource_conflict() 292 write_lock(&resource_lock); in release_resource() 757 write_lock(&resource_lock); in reallocate_resource() 821 write_lock(&resource_lock); in allocate_resource() 925 write_lock(&resource_lock); in insert_resource_conflict() 963 write_lock(&resource_lock); in insert_resource_expand_to_fit() 1010 write_lock(&resource_lock); in remove_resource() 1069 write_lock(&resource_lock); in adjust_resource() 1143 write_lock(&resource_lock); in reserve_region_with_split() [all …]
|
/linux/arch/x86/kvm/mmu/ |
H A D | page_track.c | 236 write_lock(&kvm->mmu_lock); in kvm_page_track_register_notifier() 254 write_lock(&kvm->mmu_lock); in kvm_page_track_unregister_notifier() 332 write_lock(&kvm->mmu_lock); in kvm_write_track_add_gfn() 362 write_lock(&kvm->mmu_lock); in kvm_write_track_remove_gfn()
|
/linux/drivers/usb/class/ |
H A D | cdc-acm.c | 205 spin_lock_irqsave(&acm->write_lock, flags); in acm_wb_is_avail() 209 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_wb_is_avail() 592 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk() 594 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk() 762 spin_lock_irq(&acm->write_lock); in acm_port_shutdown() 763 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown() 817 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write() 820 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 827 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() 839 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write() [all …]
|
/linux/fs/jbd2/ |
H A D | commit.c | 408 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 417 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 437 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 520 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 560 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 762 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 875 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1057 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1135 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
|
H A D | journal.c | 188 write_lock(&journal->j_state_lock); in kjournald2() 202 write_lock(&journal->j_state_lock); in kjournald2() 216 write_lock(&journal->j_state_lock); in kjournald2() 231 write_lock(&journal->j_state_lock); in kjournald2() 272 write_lock(&journal->j_state_lock); in journal_kill_thread() 279 write_lock(&journal->j_state_lock); in journal_kill_thread() 492 write_lock(&journal->j_state_lock); in jbd2_log_start_commit() 580 write_lock(&journal->j_state_lock); in jbd2_journal_start_commit() 708 write_lock(&journal->j_state_lock); in jbd2_fc_begin_commit() 742 write_lock(&journal->j_state_lock); in __jbd2_fc_end_commit() [all …]
|
/linux/fs/smb/server/ |
H A D | vfs_cache.c | 161 write_lock(&inode_hash_lock); in ksmbd_inode_unhash() 202 write_lock(&inode_hash_lock); in ksmbd_inode_get() 295 write_lock(&global_ft.lock); in ksmbd_remove_durable_fd() 311 write_lock(&ft->lock); in __ksmbd_remove_fd() 405 write_lock(&ft->lock); in ksmbd_close_fd() 581 write_lock(&ft->lock); in __open_id() 653 write_lock(&ft->lock); in ksmbd_update_fstate() 769 write_lock(&global_ft.lock); in ksmbd_durable_scavenger()
|
/linux/fs/smb/server/mgmt/ |
H A D | tree_connect.c | 117 write_lock(&sess->tree_conns_lock); in ksmbd_tree_conn_disconnect() 160 write_lock(&sess->tree_conns_lock); in ksmbd_tree_conn_session_logoff()
|
/linux/Documentation/RCU/ |
H A D | rcuref.rst | 27 write_lock(&list_lock); ... 36 ... write_lock(&list_lock); 48 write_lock() in add() and delete() to spin_lock() and changing read_lock()
|
/linux/drivers/parisc/ |
H A D | pdc_stable.c | 313 write_lock(&entry->rw_lock); in pdcspath_hwpath_write() 410 write_lock(&entry->rw_lock); in pdcspath_layer_write() 804 write_lock(&pathentry->rw_lock); in pdcs_auto_write() 1000 write_lock(&entry->rw_lock); in pdcs_register_pathentries() 1016 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
|
/linux/fs/ |
H A D | filesystems.c | 84 write_lock(&file_systems_lock); in register_filesystem() 112 write_lock(&file_systems_lock); in unregister_filesystem()
|
/linux/drivers/staging/gdm724x/ |
H A 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()
|
/linux/net/rxrpc/ |
H A D | conn_object.c | 320 write_lock(&rxnet->conn_lock); in rxrpc_clean_up_connection() 395 write_lock(&rxnet->conn_lock); in rxrpc_service_connection_reaper() 472 write_lock(&rxnet->conn_lock); in rxrpc_destroy_all_connections()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 194 write_lock(&ctx->queuelock); in msm_submitqueue_create() 292 write_lock(&ctx->queuelock); in msm_submitqueue_remove()
|
/linux/virt/kvm/ |
H A D | kvm_mm.h | 15 #define KVM_MMU_LOCK(kvm) write_lock(&(kvm)->mmu_lock)
|