Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\jump_label.h Create Date:2022-07-28 05:35:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:static_key_enable

Proto:static inline void static_key_enable(struct static_key *key)

Type:void

Parameter:

TypeParameterName
struct static_key *key
306  STATIC_KEY_CHECK_USE(key)
308  If atomic_read( & enabled) != 0 Then
309  WARN_ON_ONCE(atomic_read( & enabled) != 1)
310  Return
312  atomic_set( & enabled, 1)
Caller
NameDescribe
invert_key
setup_cr_pinningOnce CPU feature detection is finished (and boot params have been* parsed), record any of the sensitive CR bits that are set, and* enable CR pinning.
proc_do_static_key