Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:19
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lock_pin_lock

Proto:struct pin_cookie lock_pin_lock(struct lockdep_map *lock)

Type:struct pin_cookie

Parameter:

TypeParameterName
struct lockdep_map *lock
4532  cookie = NIL_COOKIE
4535  If Value for the false possibility is greater at compile time(lockdep_recursion) Then Return cookie
4538  raw_local_irq_save(flags)
4539  Check whether we follow the irq-flags state precisely:
4541  lockdep_recursion = 1
4542  cookie = __lock_pin_lock(lock)
4543  lockdep_recursion = 0
4544  raw_local_irq_restore(flags)
4546  Return cookie