/openbmc/linux/include/linux/ |
H A D | mmap_lock.h | 66 VM_BUG_ON_MM(!rwsem_is_locked(&mm->mmap_lock), mm); in mmap_assert_locked() 72 VM_BUG_ON_MM(!rwsem_is_locked(&mm->mmap_lock), mm); in mmap_assert_write_locked()
|
H A D | rwsem.h | 70 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() function 155 static __always_inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() function
|
H A D | dmar.h | 91 return rwsem_is_locked(&dmar_global_lock) || in dmar_rcu_check()
|
H A D | key.h | 486 rwsem_is_locked(&((struct key *)(KEY))->sem)))
|
/openbmc/linux/fs/ |
H A D | sync.c | 38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
|
H A D | fs-writeback.c | 2579 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes() 2672 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr() 2756 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs_cache.c | 450 WARN_ON(!rwsem_is_locked(&htable_rw_lock)); in remove_oldest_entry_locked() 483 WARN_ON(!rwsem_is_locked(&htable_rw_lock)); in add_cache_entry_locked() 627 WARN_ON(!rwsem_is_locked(&htable_rw_lock)); in update_cache_entry_locked()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 299 WARN_ON(!rwsem_is_locked(&devcom->comp->sem)); in mlx5_devcom_comp_set_ready()
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 341 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in get_peb_for_wl()
|
H A D | eba.c | 1318 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_filters.c | 361 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_insert_locked() 1385 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_table_restore() 1659 WARN_ON(!rwsem_is_locked(&efx->filter_sem)); in efx_mcdi_filter_find_vlan()
|
/openbmc/linux/fs/gfs2/ |
H A D | sys.c | 126 rwsem_is_locked(&sdp->sd_log_flush_lock), in status_show()
|
/openbmc/linux/drivers/misc/mei/ |
H A D | client.c | 138 WARN_ON(!rwsem_is_locked(&dev->me_clients_rwsem)); in __mei_me_cl_by_uuid() 218 WARN_ON(!rwsem_is_locked(&dev->me_clients_rwsem)); in __mei_me_cl_by_uuid_id()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_inode.c | 343 return rwsem_is_locked(rwsem); in __xfs_rwsem_islocked() 365 return rwsem_is_locked(&ip->i_lock.mr_lock); in xfs_isilocked()
|
H A D | xfs_icache.c | 359 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_iget_recycle()
|
H A D | xfs_super.c | 664 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_fs_destroy_inode()
|
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 635 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active() 691 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()
|
/openbmc/linux/fs/ext2/ |
H A D | inode.c | 1179 WARN_ON(!rwsem_is_locked(&inode->i_mapping->invalidate_lock)); in __ext2_truncate_blocks()
|
/openbmc/linux/mm/ |
H A D | rmap.c | 132 if (rwsem_is_locked(&anon_vma->root->rwsem)) { in anon_vma_free()
|
/openbmc/linux/fs/ext4/ |
H A D | extents.c | 191 WARN_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in __ext4_ext_dirty() 5643 BUG_ON(!rwsem_is_locked(&EXT4_I(inode1)->i_data_sem)); in ext4_swap_extents() 5644 BUG_ON(!rwsem_is_locked(&EXT4_I(inode2)->i_data_sem)); in ext4_swap_extents()
|
H A D | extents_status.c | 774 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
|
/openbmc/linux/drivers/md/ |
H A D | dm-thin-metadata.c | 894 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 2719 WARN_ON(!rwsem_is_locked(&ndev->reslock)); in setup_driver() 2775 WARN_ON(!rwsem_is_locked(&ndev->reslock)); in teardown_driver()
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 497 WARN_ON(!rwsem_is_locked(&fc->killsb)); in fuse_ilookup()
|
/openbmc/linux/drivers/i3c/ |
H A D | master.c | 708 !rwsem_is_locked(&master->bus.lock))) in i3c_master_send_ccc_cmd_locked()
|