Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c584 struct unlink_request *unlink_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_unlink() local
586 .data = unlink_req, in hmdfs_client_start_unlink()
591 if (!unlink_req) in hmdfs_client_start_unlink()
594 unlink_req->path_len = cpu_to_le32(path_len); in hmdfs_client_start_unlink()
595 unlink_req->name_len = cpu_to_le32(name_len); in hmdfs_client_start_unlink()
596 strncpy(unlink_req->path, path, path_len); in hmdfs_client_start_unlink()
597 strncpy(unlink_req->path + path_len + 1, name, name_len); in hmdfs_client_start_unlink()
600 kfree(unlink_req); in hmdfs_client_start_unlink()