Lines Matching refs:nla_len
95 if (nla_len(entry) == 0) in nla_validate_array()
98 if (nla_len(entry) < NLA_HDRLEN) { in nla_validate_array()
104 ret = __nla_validate_parse(nla_data(entry), nla_len(entry), in nla_validate_array()
185 value = nla_len(nla); in nla_validate_range_unsigned()
363 int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); in validate_nla()
466 err = __nla_validate_parse(nla_data(nla), nla_len(nla), in validate_nla()
490 err = nla_validate_array(nla_data(nla), nla_len(nla), in validate_nla()
727 size_t srclen = nla_len(nla); in nla_strscpy()
763 size_t srclen = nla_len(nla); in nla_strdup()
791 int minlen = min_t(int, count, nla_len(src)); in nla_memcpy()
810 int d = nla_len(nla) - size; in nla_memcmp()
828 int attrlen = nla_len(nla); in nla_strcmp()
861 nla->nla_len = nla_attr_size(attrlen); in __nla_reserve()
863 memset((unsigned char *) nla + nla->nla_len, 0, nla_padlen(attrlen)); in __nla_reserve()