Home
last modified time | relevance | path

Searched refs:policy_max (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Diwpm_util.c501 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, in iwpm_parse_nlmsg() argument
509 ret = nlmsg_validate_deprecated(cb->nlh, nlh_len, policy_max - 1, in iwpm_parse_nlmsg()
515 ret = nlmsg_parse_deprecated(cb->nlh, nlh_len, nltb, policy_max - 1, in iwpm_parse_nlmsg()
521 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); in iwpm_parse_nlmsg()
H A Diwpm_util.h255 * @policy_max: Maximum attribute type to be expected
257 * @nltb: Array to store policy_max parsed elements
262 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max,
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Diwpm_util.c457 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, in iwpm_parse_nlmsg() argument
465 ret = nlmsg_validate_deprecated(cb->nlh, nlh_len, policy_max - 1, in iwpm_parse_nlmsg()
471 ret = nlmsg_parse_deprecated(cb->nlh, nlh_len, nltb, policy_max - 1, in iwpm_parse_nlmsg()
477 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); in iwpm_parse_nlmsg()
H A Diwpm_util.h236 * @policy_max: Maximum attribute type to be expected
238 * @nltb: Array to store policy_max parsed elements
243 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max,
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dintel_pstate.c2197 unsigned int policy_max) in intel_pstate_update_perf_limits()
2217 max_policy_perf = max_state * policy_max / max_freq; in intel_pstate_update_perf_limits()
2218 if (policy_max == policy_min) { in intel_pstate_update_perf_limits()
2195 intel_pstate_update_perf_limits(struct cpudata *cpu, unsigned int policy_min, unsigned int policy_max) intel_pstate_update_perf_limits() argument
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dintel_pstate.c2537 unsigned int policy_max) in intel_pstate_update_perf_limits()
2542 max_policy_perf = policy_max / perf_ctl_scaling; in intel_pstate_update_perf_limits()
2543 if (policy_max == policy_min) { in intel_pstate_update_perf_limits()
2535 intel_pstate_update_perf_limits(struct cpudata *cpu, unsigned int policy_min, unsigned int policy_max) intel_pstate_update_perf_limits() argument

Completed in 12 milliseconds