Home
last modified time | relevance | path

Searched refs:maxtype (Results 1 – 1 of 1) sorted by relevance

/lib/
Dnlattr.c70 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array() argument
91 maxtype, policy, validate, extack); in nla_validate_array()
157 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() argument
169 if (type <= 0 || type > maxtype) in validate_nla()
357 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse() argument
367 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in __nla_validate_parse()
372 if (type == 0 || type > maxtype) { in __nla_validate_parse()
381 int err = validate_nla(nla, maxtype, policy, in __nla_validate_parse()
419 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate() argument
423 return __nla_validate_parse(head, len, maxtype, policy, validate, in __nla_validate()
[all …]