Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\jump_label.c Create Date:2022-07-28 13:48:35
Last Modify:2020-03-17 20:59:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:static_key_disable_cpuslocked

Proto:void static_key_disable_cpuslocked(struct static_key *key)

Type:void

Parameter:

TypeParameterName
struct static_key *key
197  STATIC_KEY_CHECK_USE(key)
198  lockdep_assert_cpus_held()
200  If atomic_read( & enabled) != 1 Then
201  WARN_ON_ONCE(atomic_read( & enabled) != 0)
202  Return
205  jump_label_lock()
206  If atomic_cmpxchg( & enabled, 1, 0) Then jump_label_update(key)
208  jump_label_unlock()