Home
last modified time | relevance | path

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

/lib/
Dstrnlen_user.c97 unsigned long max_addr, src_addr; in strnlen_user() local
103 src_addr = (unsigned long)str; in strnlen_user()
104 if (likely(src_addr < max_addr)) { in strnlen_user()
105 unsigned long max = max_addr - src_addr; in strnlen_user()
133 unsigned long max_addr, src_addr; in strlen_user() local
136 src_addr = (unsigned long)str; in strlen_user()
137 if (likely(src_addr < max_addr)) { in strlen_user()
138 unsigned long max = max_addr - src_addr; in strlen_user()
Dstrncpy_from_user.c101 unsigned long max_addr, src_addr; in strncpy_from_user() local
107 src_addr = (unsigned long)src; in strncpy_from_user()
108 if (likely(src_addr < max_addr)) { in strncpy_from_user()
109 unsigned long max = max_addr - src_addr; in strncpy_from_user()