Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c618 struct rename_request *rename_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_rename() local
620 .data = rename_req, in hmdfs_client_start_rename()
625 if (!rename_req) in hmdfs_client_start_rename()
628 rename_req->old_path_len = cpu_to_le32(old_path_len); in hmdfs_client_start_rename()
629 rename_req->new_path_len = cpu_to_le32(new_path_len); in hmdfs_client_start_rename()
630 rename_req->old_name_len = cpu_to_le32(old_name_len); in hmdfs_client_start_rename()
631 rename_req->new_name_len = cpu_to_le32(new_name_len); in hmdfs_client_start_rename()
632 rename_req->flags = cpu_to_le32(flags); 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()
[all …]