函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rwsem.c Create Date:2022-07-27 10:48:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:down_write_nested

函数原型:void down_write_nested(struct rw_semaphore *sem, int subclass)

返回类型:void

参数:

类型参数名称
struct rw_semaphore *sem
intsubclass
1629  might_sleep()
1630  rwsem_acquire( & dep_map, subclass, 0, _RET_IP_)
1631  LOCK_CONTENDED(sem, __down_write_trylock, lock for writing)
调用者
名称描述
key_invalidatekey_invalidate - Invalidate a key.*@key: The key to be invalidated.* Mark a key as being invalidated and have it cleaned up immediately. The key* is ignored by all searches and other operations from this point.
__key_move_lockLock keyrings for move (link/unlink combination).
dup_mmap
key_revokekey_revoke - Revoke a key
alloc_superalloc_super - create new superblock*@type: filesystem type superblock should belong to*@flags: the mount flags*@user_ns: User namespace for the super_block* Allocates and initializes a new &struct super_block. alloc_super()