Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This sets key->next and preserves the type bits.* See additional comments above static_key_set_entries().

Proto:static void static_key_set_mod(struct static_key *key, struct static_key_mod *mod)

Type:void

Parameter:

TypeParameterName
struct static_key *key>type and key->next are the same via union.
struct static_key_mod *mod
533  WARN_ON_ONCE((unsignedlong)mod & JUMP_TYPE_MASK)
534  type = type & JUMP_TYPE_MASK
535  next = mod
536  type |= type
Caller
NameDescribe
jump_label_add_module
jump_label_del_module