Lines Matching refs:err
164 int err = -ERANGE; in validate_nla() local
214 err = -EINVAL; in validate_nla()
226 err = validate_nla_bitfield32(nla, pt->validation_data); in validate_nla()
227 if (err) in validate_nla()
238 err = -EINVAL; in validate_nla()
272 err = __nla_validate(nla_data(nla), nla_len(nla), pt->len, in validate_nla()
275 if (err < 0) { in validate_nla()
280 return err; in validate_nla()
293 int err; in validate_nla() local
295 err = nla_validate_array(nla_data(nla), nla_len(nla), in validate_nla()
298 if (err < 0) { in validate_nla()
303 return err; in validate_nla()
338 err = nla_validate_int_range(pt, nla, extack); in validate_nla()
339 if (err) in validate_nla()
340 return err; in validate_nla()
344 err = pt->validate(nla, extack); in validate_nla()
345 if (err) in validate_nla()
346 return err; in validate_nla()
354 return err; in validate_nla()
381 int err = validate_nla(nla, maxtype, policy, in __nla_validate_parse() local
384 if (err < 0) in __nla_validate_parse()
385 return err; in __nla_validate_parse()