Searched refs:src_addr (Results 1 – 2 of 2) sorted by relevance
97 unsigned long max_addr, src_addr; in strnlen_user() local103 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() local136 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()
101 unsigned long max_addr, src_addr; in strncpy_from_user() local107 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()