Searched refs:dest_path_len (Results 1 – 1 of 1) sorted by relevance
376 int dest_path_len; in sys_chdir() local379 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir()382 dest_path_len = strnlen(dest_path, PAGE_4K_SIZE); in sys_chdir()385 if (dest_path_len <= 0) in sys_chdir()387 else if (dest_path_len >= PAGE_4K_SIZE) in sys_chdir()391 char *path = kmalloc(dest_path_len + 1, 0); in sys_chdir()396 memset(path, 0, dest_path_len + 1); in sys_chdir()400 strncpy_from_user(path, dest_path, dest_path_len + 1); in sys_chdir()403 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()