Home
last modified time | relevance | path

Searched refs:new_path_len (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c611 int new_path_len = strlen(new_path); in hmdfs_client_start_rename() local
616 new_path_len + 1 + old_name_len + 1 + new_name_len + in hmdfs_client_start_rename()
629 rename_req->new_path_len = cpu_to_le32(new_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()
Dhmdfs_server.c1310 int new_path_len; in hmdfs_server_rename() local
1321 new_path_len = le32_to_cpu(recv->new_path_len); 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()
1335 if (path_contain_dotdot(path_new, new_path_len)) { in hmdfs_server_rename()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dmessage_verify.c534 int str_len[] = { req->old_path_len, req->new_path_len, in verify_rename_req()
538 req->new_path_len < 0 || req->new_path_len >= PATH_MAX || in verify_rename_req()
544 req->new_path_len + 1 + req->old_name_len + 1 + in verify_rename_req()
Dprotocol.h322 __le32 new_path_len; member