函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\qos.c Create Date:2022-07-27 10:56:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_qos_remove_notifier - Remove frequency QoS change notifier.*@qos: List of requests to remove the notifier from.*@type: Request type.*@notifier: Notifier block to remove.

函数原型:int freq_qos_remove_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier)

返回类型:int

参数:

类型参数名称
struct freq_constraints *qos
enum freq_qos_req_typetype
struct notifier_block *notifier
881  如果是错误或空或非notifier则返回:负EINVAL
885  :type恒等于FREQ_QOS_MIN
886  ret等于locking_notifier_chain_unregister - Remove notifier from a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from a blocking notifier chain.
888  退出
889  :type恒等于FREQ_QOS_MAX
890  ret等于locking_notifier_chain_unregister - Remove notifier from a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from a blocking notifier chain.
892  退出
893  默认
894  WARN_ON(1)
895  ret等于负EINVAL
898  返回:ret