Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rwsem.c Create Date:2022-07-28 09:48:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:down_write_nested

Proto:void down_write_nested(struct rw_semaphore *sem, int subclass)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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).