Searched refs:MAX_STRING_SIZE (Results 1 – 3 of 3) sorted by relevance
17 return strnlen_user_nofault(uaddr, MAX_STRING_SIZE); in kern_fetch_store_strlen_user()35 } while (c && ret == 0 && len < MAX_STRING_SIZE); in kern_fetch_store_strlen()
35 #define MAX_STRING_SIZE PATH_MAX macro
195 len = strnlen_user(vaddr, MAX_STRING_SIZE); in fetch_store_strlen()197 return (len > MAX_STRING_SIZE) ? 0 : len; in fetch_store_strlen()