函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-27 10:50:36
Last Modify:2020-03-17 14:16:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lock_pin_lock

函数原型:struct pin_cookie lock_pin_lock(struct lockdep_map *lock)

返回类型:struct pin_cookie

参数:

类型参数名称
struct lockdep_map *lock
4532  cookie等于NIL_COOKIE
4535  如果此条件成立可能性小(为编译器优化)(lockdep_recursion)则返回: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  返回:cookie