Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c610 int old_path_len = strlen(old_path); in hmdfs_client_start_rename() local
615 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()
Dhmdfs_server.c1273 int old_path_len; in hmdfs_server_rename() local
1284 old_path_len = le32_to_cpu(recv->old_path_len); in hmdfs_server_rename()
1291 path_new = recv->path + old_path_len + 1; in hmdfs_server_rename()
1292 name_old = recv->path + old_path_len + 1 + new_path_len + 1; in hmdfs_server_rename()
1293 name_new = recv->path + old_path_len + 1 + new_path_len + 1 + in hmdfs_server_rename()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dprotocol.h357 __le32 old_path_len; member
Dmessage_verify.c602 le32_to_cpu(tmp_request->old_path_len); in hmdfs_rename_verify()