Home
last modified time | relevance | path

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

/linux-6.6.21/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()
287 write_seqlock(&vnode->cb_lock); in afs_vnode_commit_status()
320 write_sequnlock(&vnode->cb_lock); in afs_vnode_commit_status()
635 read_seqbegin_or_lock(&vnode->cb_lock, &seq); in afs_check_validity()
653 } while (need_seqretry(&vnode->cb_lock, seq)); in afs_check_validity()
655 done_seqretry(&vnode->cb_lock, seq); in afs_check_validity()
660 write_seqlock(&vnode->cb_lock); in afs_check_validity()
667 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.c183 write_seqlock(&vnode->cb_lock); in afs_write_end()
187 write_sequnlock(&vnode->cb_lock); in afs_write_end()
Dsuper.c674 seqlock_init(&vnode->cb_lock); in afs_i_init_once()
Ddir.c1502 write_seqlock(&vnode->cb_lock); in afs_dir_remove_link()
1508 write_sequnlock(&vnode->cb_lock); in afs_dir_remove_link()
Dinternal.h667 seqlock_t cb_lock; /* Lock for ->cb_server, ->status, ->cb_*break */ member
/linux-6.6.21/net/sched/
Dcls_api.c781 down_write(&block->cb_lock); in tc_block_indr_cleanup()
785 up_write(&block->cb_lock); in tc_block_indr_cleanup()
833 down_write(&block->cb_lock); in tcf_block_offload_bind()
852 up_write(&block->cb_lock); in tcf_block_offload_bind()
862 up_write(&block->cb_lock); in tcf_block_offload_bind()
872 down_write(&block->cb_lock); in tcf_block_offload_unbind()
876 up_write(&block->cb_lock); in tcf_block_offload_unbind()
881 up_write(&block->cb_lock); in tcf_block_offload_unbind()
997 init_rwsem(&block->cb_lock); in tcf_block_create()
1532 lockdep_assert_held(&block->cb_lock); in tcf_block_playback_offloads()
[all …]
/linux-6.6.21/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()
727 up_write(&cb_lock); in genl_unregister_family()
1074 down_read(&cb_lock); in genl_rcv()
1076 up_read(&cb_lock); in genl_rcv()
1303 up_read(&cb_lock); in ctrl_getfamily()
1306 down_read(&cb_lock); in ctrl_getfamily()
1676 down_read(&cb_lock); in genl_bind()
1700 up_read(&cb_lock); in genl_bind()
/linux-6.6.21/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()
751 mutex_lock(&ept->cb_lock); in rpmsg_recv_single()
757 mutex_unlock(&ept->cb_lock); in rpmsg_recv_single()
/linux-6.6.21/include/linux/
Drpmsg.h98 struct mutex cb_lock; member
/linux-6.6.21/drivers/iommu/arm/arm-smmu/
Darm-smmu.c231 spin_lock_irqsave(&smmu_domain->cb_lock, flags); in arm_smmu_tlb_sync_context()
234 spin_unlock_irqrestore(&smmu_domain->cb_lock, flags); in arm_smmu_tlb_sync_context()
871 spin_lock_init(&smmu_domain->cb_lock); in arm_smmu_domain_alloc()
1262 spin_lock_irqsave(&smmu_domain->cb_lock, flags); in arm_smmu_iova_to_phys_hard()
1272 spin_unlock_irqrestore(&smmu_domain->cb_lock, flags); in arm_smmu_iova_to_phys_hard()
1281 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.6.21/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.6.21/include/net/
Dsch_generic.h475 struct rw_semaphore cb_lock; /* protects cb_list and offload counters */ member