TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseReleaseFileOrDir (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 FuseHandle, IN BOOLEAN IsDir) |
FUSE_RELEASE / FUSE_RELEASEDIR wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseRelease.c.
EFI_STATUS VirtioFsFuseReleaseFileOrDir | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId, | ||
IN UINT64 | FuseHandle, | ||
IN BOOLEAN | IsDir | ||
) |
Close a regular file or a directory that is open, by sending the FUSE_RELEASE or FUSE_RELEASEDIR request to the Virtio Filesystem device.
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_RELEASE / FUSE_RELEASEDIR request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode number of the file or directory to close. |
[in] | FuseHandle | The open handle to the file or directory to close. |
[in] | IsDir | TRUE if NodeId and FuseHandle refer to a directory, FALSE if NodeId and FuseHandle refer to a regular file. |
EFI_SUCCESS | The file or directory has been closed. |
Definition at line 41 of file FuseRelease.c.