TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseFlush (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 FuseHandle) |
FUSE_FLUSH wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseFlush.c.
EFI_STATUS VirtioFsFuseFlush | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId, | ||
IN UINT64 | FuseHandle | ||
) |
Flush changes queued on the local virtualization host to the remote storage server's memory (not storage device), over the network, by sending the FUSE_FLUSH 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_FLUSH request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode number of the regular file to flush. |
[in] | FuseHandle | The open handle to the regular file to flush. |
EFI_SUCCESS | The regular file has been flushed. |
Definition at line 37 of file FuseFlush.c.