Lines Matching refs:maxtype
529 int __nla_validate(const struct nlattr *head, int len, int maxtype,
532 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head,
678 static inline int nla_parse(struct nlattr **tb, int maxtype, in nla_parse() argument
683 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse()
703 static inline int nla_parse_deprecated(struct nlattr **tb, int maxtype, in nla_parse_deprecated() argument
708 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated()
728 static inline int nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, in nla_parse_deprecated_strict() argument
734 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated_strict()
751 struct nlattr *tb[], int maxtype, in __nlmsg_parse() argument
761 return __nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), in __nlmsg_parse()
778 struct nlattr *tb[], int maxtype, in nlmsg_parse() argument
782 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse()
798 struct nlattr *tb[], int maxtype, in nlmsg_parse_deprecated() argument
802 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse_deprecated()
819 struct nlattr *tb[], int maxtype, in nlmsg_parse_deprecated_strict() argument
823 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse_deprecated_strict()
857 int maxtype, in nla_validate_deprecated() argument
861 return __nla_validate(head, len, maxtype, policy, NL_VALIDATE_LIBERAL, in nla_validate_deprecated()
879 static inline int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate() argument
883 return __nla_validate(head, len, maxtype, policy, NL_VALIDATE_STRICT, in nla_validate()
896 int hdrlen, int maxtype, in nlmsg_validate_deprecated() argument
904 nlmsg_attrlen(nlh, hdrlen), maxtype, in nlmsg_validate_deprecated()
1310 static inline int nla_parse_nested(struct nlattr *tb[], int maxtype, in nla_parse_nested() argument
1320 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested()
1334 static inline int nla_parse_nested_deprecated(struct nlattr *tb[], int maxtype, in nla_parse_nested_deprecated() argument
1339 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested_deprecated()
1994 static inline int __nla_validate_nested(const struct nlattr *start, int maxtype, in __nla_validate_nested() argument
1999 return __nla_validate(nla_data(start), nla_len(start), maxtype, policy, in __nla_validate_nested()
2004 nla_validate_nested(const struct nlattr *start, int maxtype, in nla_validate_nested() argument
2008 return __nla_validate_nested(start, maxtype, policy, in nla_validate_nested()
2013 nla_validate_nested_deprecated(const struct nlattr *start, int maxtype, in nla_validate_nested_deprecated() argument
2017 return __nla_validate_nested(start, maxtype, policy, in nla_validate_nested_deprecated()
2139 unsigned int maxtype);
2142 unsigned int maxtype);