Home
last modified time | relevance | path

Searched refs:rwsem_is_locked (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dmmap_lock.h81 VM_BUG_ON_MM(!rwsem_is_locked(&mm->mmap_lock), mm); in mmap_assert_locked()
87 VM_BUG_ON_MM(!rwsem_is_locked(&mm->mmap_lock), mm); in mmap_assert_write_locked()
Drwsem.h57 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() function
Ddmar.h94 return rwsem_is_locked(&dmar_global_lock) || in dmar_rcu_check()
Dkey.h472 rwsem_is_locked(&((struct key *)(KEY))->sem)))
Dfs.h805 return rwsem_is_locked(&inode->i_rwsem); in inode_is_locked()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c212 WARN_ON(!rwsem_is_locked(&comp->sem)); in mlx5_devcom_set_paired()
/kernel/linux/linux-5.10/fs/
Dsync.c37 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
Dfs-writeback.c2359 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()
2452 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()
2536 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dfastmap-wl.c287 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in get_peb_for_wl()
Deba.c1310 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
/kernel/linux/linux-5.10/drivers/misc/mei/
Dclient.c137 WARN_ON(!rwsem_is_locked(&dev->me_clients_rwsem)); in __mei_me_cl_by_uuid()
217 WARN_ON(!rwsem_is_locked(&dev->me_clients_rwsem)); in __mei_me_cl_by_uuid_id()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi_filters.c358 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_insert_locked()
1381 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_table_restore()
1655 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_find_vlan()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.c356 return rwsem_is_locked(&ip->i_lock.mr_lock); in xfs_isilocked()
362 return rwsem_is_locked(&ip->i_mmaplock.mr_lock); in xfs_isilocked()
369 return rwsem_is_locked(&VFS_I(ip)->i_rwsem); in xfs_isilocked()
Dxfs_icache.c406 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_iget_cache_hit()
Dxfs_super.c638 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_fs_destroy_inode()
/kernel/linux/linux-5.10/mm/
Drmap.c128 if (rwsem_is_locked(&anon_vma->root->rwsem)) { in anon_vma_free()
/kernel/linux/linux-5.10/fs/quota/
Ddquot.c598 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()
642 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()
/kernel/linux/linux-5.10/fs/ext2/
Dinode.c1195 WARN_ON(!rwsem_is_locked(&ei->dax_sem)); in __ext2_truncate_blocks()
/kernel/linux/linux-5.10/fs/fuse/
Dinode.c374 WARN_ON(!rwsem_is_locked(&fc->killsb)); in fuse_ilookup()
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c171 WARN_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in __ext4_ext_dirty()
5630 BUG_ON(!rwsem_is_locked(&EXT4_I(inode1)->i_data_sem)); in ext4_swap_extents()
5631 BUG_ON(!rwsem_is_locked(&EXT4_I(inode2)->i_data_sem)); in ext4_swap_extents()
Dextents_status.c744 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.c848 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()
/kernel/linux/linux-5.10/drivers/i3c/
Dmaster.c669 !rwsem_is_locked(&master->bus.lock))) in i3c_master_send_ccc_cmd_locked()
/kernel/linux/linux-5.10/net/ceph/
Dosd_client.c71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked()
82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked()
/kernel/linux/linux-5.10/fs/ceph/
Dcaps.c1728 WARN_ON_ONCE(!rwsem_is_locked(&mdsc->snap_rwsem)); in __ceph_mark_dirty_caps()

12