Lines Matching refs:nla_len
1146 static inline int nla_len(const struct nlattr *nla) in nla_len() function
1148 return nla->nla_len - NLA_HDRLEN; in nla_len()
1159 nla->nla_len >= sizeof(*nla) && in nla_ok()
1160 nla->nla_len <= remaining; in nla_ok()
1173 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
1189 return nla_find(nla_data(nla), nla_len(nla), attrtype); in nla_find_nested()
1212 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested()
1231 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested_deprecated()
1748 return kmemdup(nla_data(src), nla_len(src), gfp); in nla_memdup()
1800 start->nla_len = skb_tail_pointer(skb) - (unsigned char *)start; in nla_nest_end()
1836 return __nla_validate(nla_data(start), nla_len(start), maxtype, policy, in __nla_validate_nested()
1932 nla_for_each_attr(pos, nla_data(nla), nla_len(nla), rem)
1941 return nla->nla_len == rem; in nla_is_last()