Home
last modified time | relevance | path

Searched refs:cb_lock (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/fs/afs/
Dinode.c86 write_seqlock(&vnode->cb_lock); in afs_inode_init_from_status()
136 write_sequnlock(&vnode->cb_lock); in afs_inode_init_from_status()
156 write_sequnlock(&vnode->cb_lock); in afs_inode_init_from_status()
286 write_seqlock(&vnode->cb_lock); in afs_vnode_commit_status()
319 write_sequnlock(&vnode->cb_lock); in afs_vnode_commit_status()
634 read_seqbegin_or_lock(&vnode->cb_lock, &seq); in afs_check_validity()
652 } while (need_seqretry(&vnode->cb_lock, seq)); in afs_check_validity()
654 done_seqretry(&vnode->cb_lock, seq); in afs_check_validity()
659 write_seqlock(&vnode->cb_lock); in afs_check_validity()
666 write_sequnlock(&vnode->cb_lock); in afs_check_validity()
[all …]
Dcallback.c100 write_seqlock(&vnode->cb_lock); in afs_break_callback()
102 write_sequnlock(&vnode->cb_lock); in afs_break_callback()
Drotate.c58 write_seqlock(&vnode->cb_lock); in afs_start_fs_iteration()
63 write_sequnlock(&vnode->cb_lock); in afs_start_fs_iteration()
Dwrite.c151 write_seqlock(&vnode->cb_lock); in afs_write_end()
155 write_sequnlock(&vnode->cb_lock); in afs_write_end()
Dsuper.c672 seqlock_init(&vnode->cb_lock); in afs_i_init_once()
Ddir.c1486 write_seqlock(&vnode->cb_lock); in afs_dir_remove_link()
1492 write_sequnlock(&vnode->cb_lock); in afs_dir_remove_link()
Dinternal.h664 seqlock_t cb_lock; /* Lock for ->cb_server, ->status, ->cb_*break */ member
/linux-6.1.9/net/sched/
Dcls_api.c675 down_write(&block->cb_lock); in tc_block_indr_cleanup()
679 up_write(&block->cb_lock); in tc_block_indr_cleanup()
727 down_write(&block->cb_lock); in tcf_block_offload_bind()
746 up_write(&block->cb_lock); in tcf_block_offload_bind()
756 up_write(&block->cb_lock); in tcf_block_offload_bind()
766 down_write(&block->cb_lock); in tcf_block_offload_unbind()
770 up_write(&block->cb_lock); in tcf_block_offload_unbind()
775 up_write(&block->cb_lock); in tcf_block_offload_unbind()
891 init_rwsem(&block->cb_lock); in tcf_block_create()
1426 lockdep_assert_held(&block->cb_lock); in tcf_block_playback_offloads()
[all …]
/linux-6.1.9/net/netlink/
Dgenetlink.c26 static DECLARE_RWSEM(cb_lock);
45 down_write(&cb_lock); in genl_lock_all()
52 up_write(&cb_lock); in genl_unlock_all()
491 up_write(&cb_lock); in genl_unregister_family()
860 down_read(&cb_lock); in genl_rcv()
862 up_read(&cb_lock); in genl_rcv()
1095 up_read(&cb_lock); in ctrl_getfamily()
1098 down_read(&cb_lock); in ctrl_getfamily()
1424 down_read(&cb_lock); in genl_bind()
1445 up_read(&cb_lock); in genl_bind()
/linux-6.1.9/drivers/rpmsg/
Dvirtio_rpmsg_bus.c223 mutex_init(&ept->cb_lock); in __rpmsg_create_ept()
306 mutex_lock(&ept->cb_lock); in __rpmsg_destroy_ept()
308 mutex_unlock(&ept->cb_lock); in __rpmsg_destroy_ept()
750 mutex_lock(&ept->cb_lock); in rpmsg_recv_single()
756 mutex_unlock(&ept->cb_lock); in rpmsg_recv_single()
/linux-6.1.9/include/linux/
Drpmsg.h95 struct mutex cb_lock; member
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Darm-smmu.c232 spin_lock_irqsave(&smmu_domain->cb_lock, flags); in arm_smmu_tlb_sync_context()
235 spin_unlock_irqrestore(&smmu_domain->cb_lock, flags); in arm_smmu_tlb_sync_context()
873 spin_lock_init(&smmu_domain->cb_lock); in arm_smmu_domain_alloc()
1267 spin_lock_irqsave(&smmu_domain->cb_lock, flags); in arm_smmu_iova_to_phys_hard()
1277 spin_unlock_irqrestore(&smmu_domain->cb_lock, flags); in arm_smmu_iova_to_phys_hard()
1286 spin_unlock_irqrestore(&smmu_domain->cb_lock, flags); in arm_smmu_iova_to_phys_hard()
Darm-smmu.h375 spinlock_t cb_lock; /* Serialises ATS1* ops and TLB syncs */ member
/linux-6.1.9/drivers/net/ethernet/intel/
De100.c550 spinlock_t cb_lock ____cacheline_aligned;
851 spin_lock_irqsave(&nic->cb_lock, flags); in e100_exec_cb()
897 spin_unlock_irqrestore(&nic->cb_lock, flags); in e100_exec_cb()
1811 spin_lock(&nic->cb_lock); in e100_tx_clean()
1839 spin_unlock(&nic->cb_lock); in e100_tx_clean()
2899 spin_lock_init(&nic->cb_lock); in e100_probe()
/linux-6.1.9/include/net/
Dsch_generic.h462 struct rw_semaphore cb_lock; /* protects cb_list and offload counters */ member