/linux-6.6.21/fs/btrfs/tests/ |
D | extent-map-tests.c | 19 write_lock(&em_tree->lock); in free_extent_map_tree() 75 write_lock(&em_tree->lock); in test_case_1() 96 write_lock(&em_tree->lock); in test_case_1() 117 write_lock(&em_tree->lock); in test_case_1() 163 write_lock(&em_tree->lock); in test_case_2() 184 write_lock(&em_tree->lock); in test_case_2() 205 write_lock(&em_tree->lock); in test_case_2() 246 write_lock(&em_tree->lock); in __test_case_3() 267 write_lock(&em_tree->lock); in __test_case_3() 345 write_lock(&em_tree->lock); in __test_case_4() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/char/hw_random/ |
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-6.6.21/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()
|
/linux-6.6.21/fs/smb/server/ |
D | vfs_cache.c | 154 write_lock(&inode_hash_lock); in ksmbd_inode_unhash() 195 write_lock(&inode_hash_lock); in ksmbd_inode_get() 264 write_lock(&ci->m_lock); in __ksmbd_inode_close() 269 write_lock(&ci->m_lock); in __ksmbd_inode_close() 282 write_lock(&global_ft.lock); in __ksmbd_remove_durable_fd() 292 write_lock(&fp->f_ci->m_lock); in __ksmbd_remove_fd() 296 write_lock(&ft->lock); in __ksmbd_remove_fd() 389 write_lock(&ft->lock); in ksmbd_close_fd() 541 write_lock(&ft->lock); in __open_id() 613 write_lock(&ft->lock); in ksmbd_update_fstate()
|
/linux-6.6.21/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() 257 write_lock(&node->vm_lock); in vma_node_allow() 363 write_lock(&node->vm_lock); in drm_vma_node_revoke()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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-6.6.21/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() 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 …]
|
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-6.6.21/drivers/mmc/host/ |
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-6.6.21/arch/ia64/include/asm/ |
D | spinlock.h | 248 x->write_lock = 0; in arch_write_unlock() 260 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-6.6.21/arch/x86/kvm/mmu/ |
D | page_track.c | 172 write_lock(&kvm->mmu_lock); in kvm_page_track_register_notifier() 190 write_lock(&kvm->mmu_lock); in kvm_page_track_unregister_notifier() 268 write_lock(&kvm->mmu_lock); in kvm_write_track_add_gfn() 298 write_lock(&kvm->mmu_lock); in kvm_write_track_remove_gfn()
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_rd.c | 89 struct mutex read_lock, write_lock; member 241 mutex_destroy(&rd->write_lock); in rd_cleanup() 257 mutex_init(&rd->write_lock); in rd_init() 360 mutex_lock(&rd->write_lock); in msm_rd_dump_submit() 418 mutex_unlock(&rd->write_lock); in msm_rd_dump_submit()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
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-6.6.21/net/nfc/ |
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-6.6.21/kernel/ |
D | resource.c | 253 write_lock(&resource_lock); in release_child_resources() 269 write_lock(&resource_lock); in request_resource_conflict() 300 write_lock(&resource_lock); in release_resource() 663 write_lock(&resource_lock); in reallocate_resource() 733 write_lock(&resource_lock); in allocate_resource() 837 write_lock(&resource_lock); in insert_resource_conflict() 875 write_lock(&resource_lock); in insert_resource_expand_to_fit() 922 write_lock(&resource_lock); in remove_resource() 981 write_lock(&resource_lock); in adjust_resource() 1055 write_lock(&resource_lock); in reserve_region_with_split() [all …]
|
/linux-6.6.21/drivers/usb/class/ |
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-6.6.21/fs/jbd2/ |
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() 763 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 876 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1058 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction() 1136 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
|
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() 238 write_lock(&journal->j_state_lock); in kjournald2() 279 write_lock(&journal->j_state_lock); in journal_kill_thread() 286 write_lock(&journal->j_state_lock); in journal_kill_thread() 510 write_lock(&journal->j_state_lock); in jbd2_log_start_commit() 598 write_lock(&journal->j_state_lock); in jbd2_journal_start_commit() 726 write_lock(&journal->j_state_lock); in jbd2_fc_begin_commit() 760 write_lock(&journal->j_state_lock); in __jbd2_fc_end_commit() [all …]
|
/linux-6.6.21/fs/smb/server/mgmt/ |
D | tree_connect.c | 116 write_lock(&sess->tree_conns_lock); in ksmbd_tree_conn_disconnect() 159 write_lock(&sess->tree_conns_lock); in ksmbd_tree_conn_session_logoff()
|
/linux-6.6.21/security/integrity/ |
D | iint.c | 140 write_lock(&integrity_iint_lock); in integrity_inode_get() 181 write_lock(&integrity_iint_lock); in integrity_inode_free()
|
/linux-6.6.21/Documentation/RCU/ |
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()
|