Searched refs:rwsem_is_locked (Results 1 – 25 of 27) sorted by relevance
12
81 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()
57 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() function
94 return rwsem_is_locked(&dmar_global_lock) || in dmar_rcu_check()
472 rwsem_is_locked(&((struct key *)(KEY))->sem)))
805 return rwsem_is_locked(&inode->i_rwsem); in inode_is_locked()
212 WARN_ON(!rwsem_is_locked(&comp->sem)); in mlx5_devcom_set_paired()
37 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
2359 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()
287 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in get_peb_for_wl()
1310 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
137 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()
358 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()
356 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()
406 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_iget_cache_hit()
638 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_fs_destroy_inode()
128 if (rwsem_is_locked(&anon_vma->root->rwsem)) { in anon_vma_free()
598 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()
1195 WARN_ON(!rwsem_is_locked(&ei->dax_sem)); in __ext2_truncate_blocks()
374 WARN_ON(!rwsem_is_locked(&fc->killsb)); in fuse_ilookup()
171 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()
744 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
848 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()
669 !rwsem_is_locked(&master->bus.lock))) in i3c_master_send_ccc_cmd_locked()
71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked()82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked()
1728 WARN_ON_ONCE(!rwsem_is_locked(&mdsc->snap_rwsem)); in __ceph_mark_dirty_caps()