Home
last modified time | relevance | path

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

/lib/
Dnlattr.c163 int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); in validate_nla() local
233 minlen = min_t(int, attrlen, pt->len + 1); in validate_nla()
235 minlen = attrlen; in validate_nla()
237 if (!minlen || memchr(nla_data(nla), '\0', minlen) == NULL) { in validate_nla()
322 minlen = pt->len; in validate_nla()
324 minlen = nla_attr_minlen[pt->type]; in validate_nla()
326 if (attrlen < minlen) in validate_nla()
572 int minlen = min_t(int, count, nla_len(src)); in nla_memcpy() local
574 memcpy(dest, nla_data(src), minlen); in nla_memcpy()
575 if (count > minlen) in nla_memcpy()
[all …]