Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/fs/btrfs/tests/
Dextent-map-tests.c18 write_lock(&em_tree->lock); in free_extent_map_tree()
74 write_lock(&em_tree->lock); in test_case_1()
95 write_lock(&em_tree->lock); in test_case_1()
116 write_lock(&em_tree->lock); in test_case_1()
162 write_lock(&em_tree->lock); in test_case_2()
183 write_lock(&em_tree->lock); in test_case_2()
204 write_lock(&em_tree->lock); in test_case_2()
245 write_lock(&em_tree->lock); in __test_case_3()
266 write_lock(&em_tree->lock); in __test_case_3()
344 write_lock(&em_tree->lock); in __test_case_4()
[all …]
/linux-6.1.9/drivers/staging/greybus/
Duart.c54 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.1.9/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c62 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.1.9/drivers/gpu/drm/
Ddrm_vma_manager.c206 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.1.9/drivers/platform/surface/
Dsurface_dtx.c155 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 …]
Dsurface_aggregator_cdev.c64 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.1.9/drivers/mmc/host/
Dsdhci-bcm-kona.c44 struct mutex write_lock; /* protect back to back writes */ member
126 mutex_lock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate()
144 mutex_unlock(&kona_dev->write_lock); in sdhci_bcm_kona_sd_card_emulate()
224 mutex_init(&kona_dev->write_lock); in sdhci_bcm_kona_probe()
/linux-6.1.9/net/ax25/
Dax25_uid.c111 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.1.9/drivers/md/bcache/
Dbtree.c407 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 …]
Djournal.c481 mutex_lock(&b->write_lock); in btree_flush_write()
484 mutex_unlock(&b->write_lock); in btree_flush_write()
489 mutex_unlock(&b->write_lock); in btree_flush_write()
508 mutex_unlock(&b->write_lock); in btree_flush_write()
514 mutex_unlock(&b->write_lock); in btree_flush_write()
542 mutex_lock(&b->write_lock); in btree_flush_write()
545 mutex_unlock(&b->write_lock); in btree_flush_write()
552 mutex_unlock(&b->write_lock); in btree_flush_write()
559 mutex_unlock(&b->write_lock); in btree_flush_write()
/linux-6.1.9/arch/ia64/include/asm/
Dspinlock.h248 x->write_lock = 0; in arch_write_unlock()
260 old.lock.write_lock = new.lock.write_lock = 0; in arch_read_trylock()
Dspinlock_types.h17 volatile unsigned int write_lock : 1; member
/linux-6.1.9/fs/ksmbd/
Dvfs_cache.c152 write_lock(&inode_hash_lock); in ksmbd_inode_unhash()
193 write_lock(&inode_hash_lock); in ksmbd_inode_get()
263 write_lock(&ci->m_lock); in __ksmbd_inode_close()
270 write_lock(&ci->m_lock); in __ksmbd_inode_close()
283 write_lock(&global_ft.lock); in __ksmbd_remove_durable_fd()
293 write_lock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()
297 write_lock(&ft->lock); in __ksmbd_remove_fd()
532 write_lock(&ft->lock); in __open_id()
/linux-6.1.9/net/nfc/
Daf_nfc.c56 write_lock(&proto_tab_lock); in nfc_proto_register()
72 write_lock(&proto_tab_lock); in nfc_proto_unregister()
/linux-6.1.9/kernel/
Dresource.c253 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.1.9/drivers/usb/class/
Dcdc-acm.c204 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()
751 spin_lock_irq(&acm->write_lock); in acm_port_shutdown()
752 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown()
806 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write()
809 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
816 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
828 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
[all …]
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_vmid.c198 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()
/linux-6.1.9/fs/jbd2/
Djournal.c197 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()
610 write_lock(&journal->j_state_lock); in jbd2_journal_start_commit()
738 write_lock(&journal->j_state_lock); in jbd2_fc_begin_commit()
772 write_lock(&journal->j_state_lock); in __jbd2_fc_end_commit()
[all …]
Dcommit.c442 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
451 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
471 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
554 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
594 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
795 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
908 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
1090 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
1168 write_lock(&journal->j_state_lock); in jbd2_journal_commit_transaction()
/linux-6.1.9/security/integrity/
Diint.c117 write_lock(&integrity_iint_lock); in integrity_inode_get()
153 write_lock(&integrity_iint_lock); in integrity_inode_free()
/linux-6.1.9/Documentation/RCU/
Drcuref.rst27 write_lock(&list_lock); ...
36 ... write_lock(&list_lock);
48 write_lock() in add() and delete() to spin_lock() and changing read_lock()
/linux-6.1.9/drivers/parisc/
Dpdc_stable.c314 write_lock(&entry->rw_lock); in pdcspath_hwpath_write()
412 write_lock(&entry->rw_lock); in pdcspath_layer_write()
785 write_lock(&pathentry->rw_lock); in pdcs_auto_write()
973 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
989 write_lock(&entry->rw_lock); in pdcs_register_pathentries()
/linux-6.1.9/drivers/staging/axis-fifo/
Daxis-fifo.c136 struct mutex write_lock; /* lock for writing */ member
513 if (!mutex_trylock(&fifo->write_lock)) in axis_fifo_write()
527 mutex_lock(&fifo->write_lock); in axis_fifo_write()
575 mutex_unlock(&fifo->write_lock); in axis_fifo_write()
839 mutex_init(&fifo->write_lock); in axis_fifo_probe()
/linux-6.1.9/fs/
Dfilesystems.c84 write_lock(&file_systems_lock); in register_filesystem()
112 write_lock(&file_systems_lock); in unregister_filesystem()
/linux-6.1.9/arch/arm64/kvm/
Dmmu.c251 write_lock(&kvm->mmu_lock); in stage2_flush_vm()
779 write_lock(&kvm->mmu_lock); in stage2_unmap_vm()
795 write_lock(&kvm->mmu_lock); in kvm_free_stage2_pgd()
842 write_lock(&kvm->mmu_lock); in kvm_phys_addr_ioremap()
893 write_lock(&kvm->mmu_lock); in kvm_mmu_wp_memory_region()
1282 write_lock(&kvm->mmu_lock); in user_mem_abort()
1361 write_lock(&vcpu->kvm->mmu_lock); in handle_access_fault()
1786 write_lock(&kvm->mmu_lock); in kvm_arch_flush_shadow_memslot()

1234567