TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseMkDir (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 ParentNodeId, IN CHAR8 *Name, OUT UINT64 *NodeId) |
FUSE_MKDIR wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseMkDir.c.
EFI_STATUS VirtioFsFuseMkDir | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | ParentNodeId, | ||
IN CHAR8 * | Name, | ||
OUT UINT64 * | NodeId | ||
) |
Send a FUSE_MKDIR request to the Virtio Filesystem device, for creating a directory.
The function may only be called after VirtioFsFuseInitSession() returns successfully and before VirtioFsUninit() is called.
[in,out] | VirtioFs | The Virtio Filesystem device to send the FUSE_MKDIR request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | ParentNodeId | The inode number of the direct parent directory of the directory to create. |
[in] | Name | The single-component filename of the directory to create, under the parent directory identified by ParentNodeId. |
[out] | NodeId | The inode number of the new directory. |
EFI_SUCCESS | The directory has been created. |
Definition at line 43 of file FuseMkDir.c.