Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\notifier.c Create Date:2022-07-28 09:31:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:locking_notifier_chain_register - Add notifier to a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: New entry in notifier chain* Adds a notifier to a blocking notifier chain.* Must be called in process context.

Proto:int blocking_notifier_chain_register(struct blocking_notifier_head *nh, struct notifier_block *n)

Type:int

Parameter:

TypeParameterName
struct blocking_notifier_head *nh
struct notifier_block *n
213  If Value for the false possibility is greater at compile time(Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE. == SYSTEM_BOOTING) Then Return Notifier chain core routines. The exported routines below* are layered on top of these, with appropriate locking added.
216  lock for writing
217  ret = Notifier chain core routines. The exported routines below* are layered on top of these, with appropriate locking added.
218  lease a write lock
219  Return ret
Caller
NameDescribe
register_reboot_notifiergister_reboot_notifier - Register function to be called at reboot time*@nb: Info about notifier function to be called* Registers a function with the list of functions* to be called at reboot time
pm_qos_add_notifierpm_qos_add_notifier - sets notification entry for changes to target value*@pm_qos_class: identifies which qos target changes should be notified
freq_qos_add_notifierq_qos_add_notifier - Add frequency QoS change notifier.*@qos: List of requests to add the notifier to.*@type: Request type.*@notifier: Notifier block to add.
profile_event_register
register_module_notifier
register_tracepoint_module_notifiergister_tracepoint_notifier - register tracepoint coming/going notifier*@nb: notifier block* Notifiers registered with this function are called on module* coming/going with the tracepoint_module_list_mutex held
padata_register_cpumask_notifierpadata_register_cpumask_notifier - Registers a notifier that will be called* if either pcpu or cbcpu or both cpumasks change.*@pinst: A poineter to padata instance*@nblock: A pointer to notifier block.
register_vmap_purge_notifier