Lines Matching refs:rename_req
618 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()
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()
645 kfree(rename_req); in hmdfs_client_start_rename()