Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Dmmap_lock.h66 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 Drwsem.h70 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 Ddmar.h91 return rwsem_is_locked(&dmar_global_lock) || in dmar_rcu_check()
H A Dkey.h486 rwsem_is_locked(&((struct key *)(KEY))->sem)))
/openbmc/linux/fs/
H A Dsync.c38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
H A Dfs-writeback.c2579 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 Ddfs_cache.c450 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 Ddevcom.c299 WARN_ON(!rwsem_is_locked(&devcom->comp->sem)); in mlx5_devcom_comp_set_ready()
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c341 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in get_peb_for_wl()
H A Deba.c1318 ubi_assert(rwsem_is_locked(&ubi->fm_eba_sem)); in ubi_eba_copy_leb()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c361 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 Dsys.c126 rwsem_is_locked(&sdp->sd_log_flush_lock), in status_show()
/openbmc/linux/drivers/misc/mei/
H A Dclient.c138 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 Dxfs_inode.c343 return rwsem_is_locked(rwsem); in __xfs_rwsem_islocked()
365 return rwsem_is_locked(&ip->i_lock.mr_lock); in xfs_isilocked()
H A Dxfs_icache.c359 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_iget_recycle()
H A Dxfs_super.c664 ASSERT(!rwsem_is_locked(&inode->i_rwsem)); in xfs_fs_destroy_inode()
/openbmc/linux/fs/quota/
H A Ddquot.c635 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 Dinode.c1179 WARN_ON(!rwsem_is_locked(&inode->i_mapping->invalidate_lock)); in __ext2_truncate_blocks()
/openbmc/linux/mm/
H A Drmap.c132 if (rwsem_is_locked(&anon_vma->root->rwsem)) { in anon_vma_free()
/openbmc/linux/fs/ext4/
H A Dextents.c191 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 Dextents_status.c774 BUG_ON(!rwsem_is_locked(&EXT4_I(inode)->i_data_sem)); in ext4_es_insert_extent_check()
/openbmc/linux/drivers/md/
H A Ddm-thin-metadata.c894 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c2719 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 Dinode.c497 WARN_ON(!rwsem_is_locked(&fc->killsb)); in fuse_ilookup()
/openbmc/linux/drivers/i3c/
H A Dmaster.c708 !rwsem_is_locked(&master->bus.lock))) in i3c_master_send_ccc_cmd_locked()

12