Searched refs:old_path_len (Results 1 – 4 of 4) sorted by relevance
610 int old_path_len = strlen(old_path); in hmdfs_client_start_rename() local615 size_t send_len = sizeof(struct rename_request) + old_path_len + 1 + in hmdfs_client_start_rename()628 rename_req->old_path_len = cpu_to_le32(old_path_len); in hmdfs_client_start_rename()634 strncpy(rename_req->path, old_path, old_path_len); in hmdfs_client_start_rename()635 strncpy(rename_req->path + old_path_len + 1, new_path, new_path_len); in hmdfs_client_start_rename()637 strncpy(rename_req->path + old_path_len + 1 + new_path_len + 1, in hmdfs_client_start_rename()639 strncpy(rename_req->path + old_path_len + 1 + new_path_len + 1 + in hmdfs_client_start_rename()
1309 int old_path_len; in hmdfs_server_rename() local1320 old_path_len = le32_to_cpu(recv->old_path_len); in hmdfs_server_rename()1327 path_new = recv->path + old_path_len + 1; in hmdfs_server_rename()1328 name_old = recv->path + old_path_len + 1 + new_path_len + 1; in hmdfs_server_rename()1329 name_new = recv->path + old_path_len + 1 + new_path_len + 1 + in hmdfs_server_rename()1331 if (path_contain_dotdot(path_old, old_path_len)) { in hmdfs_server_rename()
534 int str_len[] = { req->old_path_len, req->new_path_len, in verify_rename_req()537 if (req->old_path_len < 0 || req->old_path_len >= PATH_MAX || in verify_rename_req()543 if (msg_len != sizeof(*req) + req->old_path_len + 1 + in verify_rename_req()
321 __le32 old_path_len; member