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

/linux-4.1.27/drivers/infiniband/core/
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,
H A Diwpm_util.c462 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, iwpm_parse_nlmsg() argument
470 ret = nlmsg_validate(cb->nlh, nlh_len, policy_max-1, nlmsg_policy); iwpm_parse_nlmsg()
475 ret = nlmsg_parse(cb->nlh, nlh_len, nltb, policy_max-1, nlmsg_policy); iwpm_parse_nlmsg()
480 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); iwpm_parse_nlmsg()

Completed in 79 milliseconds