Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dnetlink.h317 u8 validation_type; member
394 .validation_type = NLA_VALIDATE_RANGE, \
401 .validation_type = NLA_VALIDATE_RANGE_PTR, \
407 .validation_type = NLA_VALIDATE_RANGE_PTR, \
413 .validation_type = NLA_VALIDATE_MIN, \
419 .validation_type = NLA_VALIDATE_MAX, \
425 .validation_type = NLA_VALIDATE_MASK, \
431 .validation_type = NLA_VALIDATE_FUNCTION, \
439 .validation_type = NLA_VALIDATE_RANGE_WARN_TOO_LONG, \
/kernel/linux/linux-5.10/net/netlink/
Dpolicy.c302 if (pt->validation_type == NLA_VALIDATE_MASK) { in __netlink_policy_dump_write_attr()
359 if (pt->validation_type == NLA_VALIDATE_RANGE || in __netlink_policy_dump_write_attr()
360 pt->validation_type == NLA_VALIDATE_RANGE_WARN_TOO_LONG) { in __netlink_policy_dump_write_attr()
/kernel/linux/linux-5.10/lib/
Dnlattr.c118 WARN_ON_ONCE(pt->validation_type != NLA_VALIDATE_RANGE_PTR && in nla_get_range_unsigned()
143 switch (pt->validation_type) { in nla_get_range_unsigned()
194 if (pt->validation_type == NLA_VALIDATE_RANGE_WARN_TOO_LONG && in nla_validate_range_unsigned()
249 switch (pt->validation_type) { in nla_get_range_signed()
526 switch (pt->validation_type) { in validate_nla()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Daddr.c80 .validation_type = NLA_VALIDATE_MIN,