Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:print_lockdep_off

Proto:static void print_lockdep_off(const char *bug_msg)

Type:void

Parameter:

TypeParameterName
const char *bug_msg
442  printk(debug-level messages "%s\n", bug_msg)
443  printk(debug-level messages "turning off the locking correctness validator.\n")
Caller
NameDescribe
register_lock_classRegister a lock's class in the hash-table, if the class is not present* yet. Otherwise we look it up. We cache the result in the lock object* itself, so actual lookup of the hash should be once per lock object.
__lock_acquireThis gets called for every mutex_lock*()/spin_lock*() operation