Lines Matching full:validate

62 				unsigned int validate,
92 unsigned int validate, unsigned int depth) in nla_validate_array() argument
110 maxtype, policy, validate, extack, in nla_validate_array()
173 unsigned int validate) in nla_validate_range_unsigned() argument
216 if (validate & NL_VALIDATE_STRICT_ATTRS) { in nla_validate_range_unsigned()
222 /* this assumes min <= max (don't validate against min) */ in nla_validate_range_unsigned()
328 unsigned int validate) in nla_validate_int_range() argument
340 return nla_validate_range_unsigned(pt, nla, extack, validate); in nla_validate_int_range()
394 const struct nla_policy *policy, unsigned int validate, in validate_nla() argument
403 validate |= NL_VALIDATE_STRICT; in validate_nla()
416 if (validate & NL_VALIDATE_STRICT_ATTRS) { in validate_nla()
423 if (validate & NL_VALIDATE_NESTED) { in validate_nla()
514 validate, extack, NULL, in validate_nla()
538 extack, validate, depth); in validate_nla()
550 if (validate & NL_VALIDATE_UNSPEC) { in validate_nla()
579 err = nla_validate_int_range(pt, nla, extack, validate); in validate_nla()
589 if (pt->validate) { in validate_nla()
590 err = pt->validate(nla, extack); in validate_nla()
606 unsigned int validate, in __nla_validate_parse() argument
626 if (validate & NL_VALIDATE_MAXTYPE) { in __nla_validate_parse()
636 validate, extack, depth); in __nla_validate_parse()
650 if (validate & NL_VALIDATE_TRAILING) in __nla_validate_parse()
658 * __nla_validate - Validate a stream of attributes
663 * @validate: validation strictness
667 * specified policy. Validation depends on the validate flags passed, see
674 const struct nla_policy *policy, unsigned int validate, in __nla_validate() argument
677 return __nla_validate_parse(head, len, maxtype, policy, validate, in __nla_validate()
718 * @validate: validation strictness
723 * Validation is controlled by the @validate parameter.
729 const struct nla_policy *policy, unsigned int validate, in __nla_parse() argument
732 return __nla_validate_parse(head, len, maxtype, policy, validate, in __nla_parse()