Home
last modified time | relevance | path

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

/lib/
Dstrnlen_user.c94 unsigned long max_addr, src_addr; in strnlen_user() local
100 src_addr = (unsigned long)untagged_addr(str); in strnlen_user()
101 if (likely(src_addr < max_addr)) { in strnlen_user()
102 unsigned long max = max_addr - src_addr; in strnlen_user()
Dstrncpy_from_user.c99 unsigned long max_addr, src_addr; in strncpy_from_user() local
105 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user()
106 if (likely(src_addr < max_addr)) { in strncpy_from_user()
107 unsigned long max = max_addr - src_addr; in strncpy_from_user()