Home
last modified time | relevance | path

Searched refs:req (Results 1 – 5 of 5) sorted by relevance

/kernel/power/
Dqos.c155 struct pm_qos_flags_request *req) in pm_qos_flags_remove_req() argument
159 list_del(&req->node); in pm_qos_flags_remove_req()
160 list_for_each_entry(req, &pqf->list, node) in pm_qos_flags_remove_req()
161 val |= req->flags; in pm_qos_flags_remove_req()
176 struct pm_qos_flags_request *req, in pm_qos_update_flags() argument
188 pm_qos_flags_remove_req(pqf, req); in pm_qos_update_flags()
191 pm_qos_flags_remove_req(pqf, req); in pm_qos_update_flags()
194 req->flags = val; in pm_qos_update_flags()
195 INIT_LIST_HEAD(&req->node); in pm_qos_update_flags()
196 list_add_tail(&req->node, &pqf->list); in pm_qos_update_flags()
[all …]
/kernel/locking/
Dlockdep.c3416 static int alloc_chain_hlocks(int req) in alloc_chain_hlocks() argument
3428 if (nr_free_chain_hlocks < req) in alloc_chain_hlocks()
3435 req = max(req, 2); in alloc_chain_hlocks()
3436 bucket = size_to_bucket(req); in alloc_chain_hlocks()
3441 del_chain_block(bucket, req, chain_block_next(curr)); in alloc_chain_hlocks()
3454 if (likely(size >= req)) { in alloc_chain_hlocks()
3456 if (size > req) in alloc_chain_hlocks()
3457 add_chain_block(curr + req, size - req); in alloc_chain_hlocks()
3465 for (size = MAX_CHAIN_BUCKETS; size > req; size--) { in alloc_chain_hlocks()
3472 add_chain_block(curr + req, size - req); in alloc_chain_hlocks()
/kernel/sched/
Dcore.c10659 struct uclamp_request req = { in capacity_from_percent() local
10667 req.ret = cgroup_parse_float(buf, UCLAMP_PERCENT_SHIFT, in capacity_from_percent()
10668 &req.percent); in capacity_from_percent()
10669 if (req.ret) in capacity_from_percent()
10670 return req; in capacity_from_percent()
10671 if ((u64)req.percent > UCLAMP_PERCENT_SCALE) { in capacity_from_percent()
10672 req.ret = -ERANGE; in capacity_from_percent()
10673 return req; in capacity_from_percent()
10676 req.util = req.percent << SCHED_CAPACITY_SHIFT; in capacity_from_percent()
10677 req.util = DIV_ROUND_CLOSEST_ULL(req.util, UCLAMP_PERCENT_SCALE); in capacity_from_percent()
[all …]
Ddeadline.c3048 static int dl_bw_manage(enum dl_bw_request req, int cpu, u64 dl_bw) in dl_bw_manage() argument
3058 if (req == dl_bw_req_free) { in dl_bw_manage()
3065 if (req == dl_bw_req_alloc && !overflow) { in dl_bw_manage()
/kernel/
Dptrace.c907 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset() argument
921 if (req == PTRACE_GETREGSET) in ptrace_regset()