Function report |
Source Code:kernel\power\qos.c |
Create Date:2022-07-28 09:56:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_qos_add_request - Insert new frequency QoS request into a given list.*@qos: Constraints to update.*@req: Preallocated request object.*@type: Request type.*@value: Request value.* Insert a new entry into the @qos list of requests, recompute the effective
Proto:int freq_qos_add_request(struct freq_constraints *qos, struct freq_qos_request *req, enum freq_qos_req_type type, s32 value)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct freq_constraints * | qos | |
| struct freq_qos_request * | req | |
| enum freq_qos_req_type | type | |
| s32 | value |
| 761 | If IS_ERR_OR_NULL(qos) || Not req Then Return -EINVAL |
| 764 | If WARN(freq_qos_request_active(req), "%s() called for active request\n", __func__) Then Return -EINVAL |
| 771 | If ret < 0 Then |
| 776 | Return ret |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |