Searched refs:maxsize (Results 1 – 4 of 4) sorted by relevance
151 size_t arch_user_string_nlen(const char *s, size_t maxsize, int *err_arg) in arch_user_string_nlen() argument173 if (!xtensa_mem_kernel_has_access((void *)s, maxsize, 0)) { in arch_user_string_nlen()186 return strnlen(s, maxsize); in arch_user_string_nlen()
27 @lru_cache(maxsize=None)
872 size_t arch_user_string_nlen(const char *s, size_t maxsize, int *err);
665 "UP033", # https://docs.astral.sh/ruff/rules/lru-cache-with-maxsize-none