函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rwsem.h Create Date:2022-07-27 06:39:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:In all implementations count != 0 means locked

函数原型:static inline int rwsem_is_locked(struct rw_semaphore *sem)

返回类型:int

参数:

类型参数名称
struct rw_semaphore *sem
65  返回:atomic_long_read( & count)不等于0
调用者
名称描述
populate_vma_page_rangepopulate_vma_page_range() - populate a range of pages in the vma
zap_pud_range
anon_vma_free
wait_sb_inodesThe @s_sync_lock is used to serialise concurrent sync operations* to avoid lock contention problems with concurrent wait_sb_inodes() calls.* Concurrent callers will block on the s_sync_lock rather than doing contending* walks
__writeback_inodes_sb_nr
sync_inodes_sbsync_inodes_sb - sync sb inode pages*@sb: the superblock* This function writes and waits on any dirty inode belonging to this* super_block.
sync_filesystemWrite out and wait upon all dirty data associated with this* superblock. Filesystem data as well as the underlying block* device. Takes the superblock lock.
userfaultfd_huge_must_waitSame functionality as userfaultfd_must_wait below with modifications for* hugepmd ranges.
userfaultfd_must_waitVerify the pagetables are still not ok after having reigstered into* the fault_pending_wqh to avoid userland having to UFFDIO_WAKE any* userfault that has already been resolved, if userfaultfd_read and* UFFDIO_COPY|ZEROPAGE are being run simultaneously on
handle_userfaultThe locking rules involved in returning VM_FAULT_RETRY depending on* FAULT_FLAG_ALLOW_RETRY, FAULT_FLAG_RETRY_NOWAIT and* FAULT_FLAG_KILLABLE are not straightforward
dquot_scan_activeCall callback for every active dquot on given filesystem
dquot_writeback_dquotsWrite all dquot structures to quota files
inode_is_locked