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

/linux-4.4.14/drivers/infiniband/core/
H A Diwpm_util.h252 * @policy_max: Maximum attribute type to be expected
254 * @nltb: Array to store policy_max parsed elements
259 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max,
H A Diwpm_util.c470 int iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, iwpm_parse_nlmsg() argument
478 ret = nlmsg_validate(cb->nlh, nlh_len, policy_max-1, nlmsg_policy); iwpm_parse_nlmsg()
483 ret = nlmsg_parse(cb->nlh, nlh_len, nltb, policy_max-1, nlmsg_policy); iwpm_parse_nlmsg()
488 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); iwpm_parse_nlmsg()

Completed in 48 milliseconds