Home
last modified time | relevance | path

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

/include/linux/
Dfortify-string.h222 const size_t p_len = __compiletime_strlen(p); in strnlen() local
226 if (__builtin_constant_p(maxlen) && p_len != SIZE_MAX) { in strnlen()
229 return p_len; in strnlen()
363 size_t p_len, copy_len; in strlcat() local
370 p_len = strnlen(p, avail); in strlcat()
372 wanted = actual = p_len + copy_len; in strlcat()
375 if (avail <= p_len) in strlcat()
379 if (p_size <= p_len) in strlcat()
380 fortify_panic(FORTIFY_FUNC_strlcat, FORTIFY_READ, p_size, p_len + 1, wanted); in strlcat()
383 copy_len = avail - p_len - 1; in strlcat()
[all …]
Dskbuff.h438 #define skb_frag_foreach_page(f, f_off, f_len, p, p_off, p_len, copied) \ argument
441 p_len = skb_frag_must_loop(p) ? \
445 copied += p_len, p++, p_off = 0, \
446 p_len = min_t(u32, f_len - copied, PAGE_SIZE)) \