Lines Matching refs:policy
331 #define _NLA_POLICY_NESTED(maxattr, policy) \ argument
332 { .type = NLA_NESTED, .validation_data = policy, .len = maxattr }
333 #define _NLA_POLICY_NESTED_ARRAY(maxattr, policy) \ argument
334 { .type = NLA_NESTED_ARRAY, .validation_data = policy, .len = maxattr }
335 #define NLA_POLICY_NESTED(policy) \ argument
336 _NLA_POLICY_NESTED(ARRAY_SIZE(policy) - 1, policy)
337 #define NLA_POLICY_NESTED_ARRAY(policy) \ argument
338 _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy)
435 const struct nla_policy *policy, unsigned int validate,
438 int len, const struct nla_policy *policy, unsigned int validate,
585 const struct nla_policy *policy, in nla_parse() argument
588 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse()
610 const struct nla_policy *policy, in nla_parse_deprecated() argument
613 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated()
636 const struct nla_policy *policy, in nla_parse_deprecated_strict() argument
639 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated_strict()
657 const struct nla_policy *policy, in __nlmsg_parse() argument
667 nlmsg_attrlen(nlh, hdrlen), policy, validate, in __nlmsg_parse()
684 const struct nla_policy *policy, in nlmsg_parse() argument
687 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse()
703 const struct nla_policy *policy, in nlmsg_parse_deprecated() argument
706 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse_deprecated()
723 const struct nla_policy *policy, in nlmsg_parse_deprecated_strict() argument
726 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse_deprecated_strict()
762 const struct nla_policy *policy, in nla_validate_deprecated() argument
765 return __nla_validate(head, len, maxtype, policy, NL_VALIDATE_LIBERAL, in nla_validate_deprecated()
785 const struct nla_policy *policy, in nla_validate() argument
788 return __nla_validate(head, len, maxtype, policy, NL_VALIDATE_STRICT, in nla_validate()
802 const struct nla_policy *policy, in nlmsg_validate_deprecated() argument
810 policy, NL_VALIDATE_LIBERAL, extack); in nlmsg_validate_deprecated()
1139 const struct nla_policy *policy, in nla_parse_nested() argument
1147 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested()
1163 const struct nla_policy *policy, in nla_parse_nested_deprecated() argument
1166 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested_deprecated()
1752 const struct nla_policy *policy, in __nla_validate_nested() argument
1756 return __nla_validate(nla_data(start), nla_len(start), maxtype, policy, in __nla_validate_nested()
1762 const struct nla_policy *policy, in nl80211_validate_nested() argument
1765 return __nla_validate_nested(start, maxtype, policy, in nl80211_validate_nested()
1771 const struct nla_policy *policy, in nla_validate_nested_deprecated() argument
1774 return __nla_validate_nested(start, maxtype, policy, in nla_validate_nested_deprecated()