Home
last modified time | relevance | path

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

/lib/
Dstrnlen_user.c94 unsigned long max_addr, src_addr; in strnlen_user() local
99 max_addr = user_addr_max(); 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.c115 unsigned long max_addr, src_addr; in strncpy_from_user() local
123 max_addr = user_addr_max(); in strncpy_from_user()
125 if (likely(src_addr < max_addr)) { in strncpy_from_user()
126 unsigned long max = max_addr - src_addr; in strncpy_from_user()