Searched refs:dest_path_len (Results 1 – 1 of 1) sorted by relevance
403 int dest_path_len; in sys_chdir() local406 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir()409 dest_path_len = strnlen(dest_path, PAGE_4K_SIZE); in sys_chdir()412 if (dest_path_len <= 0) in sys_chdir()414 else if (dest_path_len >= PAGE_4K_SIZE) in sys_chdir()418 char *path = kmalloc(dest_path_len + 1, 0); in sys_chdir()423 memset(path, 0, dest_path_len + 1); in sys_chdir()427 strncpy_from_user(path, dest_path, dest_path_len + 1); in sys_chdir()430 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()