Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c462 struct mkdir_request *mkdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_mkdir() local
465 .data = mkdir_req, in hmdfs_client_start_mkdir()
470 if (!mkdir_req) in hmdfs_client_start_mkdir()
473 mkdir_req->path_len = cpu_to_le32(path_len); in hmdfs_client_start_mkdir()
474 mkdir_req->name_len = cpu_to_le32(name_len); in hmdfs_client_start_mkdir()
475 mkdir_req->mode = cpu_to_le16(mode); in hmdfs_client_start_mkdir()
476 strncpy(mkdir_req->path, path, path_len); in hmdfs_client_start_mkdir()
477 strncpy(mkdir_req->path + path_len + 1, name, name_len); in hmdfs_client_start_mkdir()
495 kfree(mkdir_req); in hmdfs_client_start_mkdir()