Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:jump_label_del_module

Proto:static void jump_label_del_module(struct module *mod)

Type:void

Parameter:

TypeParameterName
struct module *mod
670  iter_start = jump_entries
671  iter_stop = iter_start + num_jump_entries
673  struct static_key * key = NULL
676  When iter < iter_stop cycle
677  If jump_entry_key(iter) == key Then Continue
680  key = jump_entry_key(iter)
682  If within_module((unsignedlong)key, mod) Then Continue
686  If WARN_ON(!static_key_linked(key)) Then Continue
689  prev = next
690  jlm = static_key_mod(key)
692  When jlm && mod != mod cycle
693  prev = next
694  jlm = next
698  If WARN_ON(!jlm) Then Continue
701  If prev == next Then This sets key->next and preserves the type bits.* See additional comments above static_key_set_entries().
703  Else prev = next
706  kfree(jlm)
708  jlm = static_key_mod(key)
710  If (next == NULL) Then
713  kfree(jlm)
Caller
NameDescribe
jump_label_module_notify