TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseStatFs (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, OUT VIRTIO_FS_FUSE_STATFS_RESPONSE *FilesysAttr) |
FUSE_STATFS wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseStatFs.c.
EFI_STATUS VirtioFsFuseStatFs | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId, | ||
OUT VIRTIO_FS_FUSE_STATFS_RESPONSE * | FilesysAttr | ||
) |
Send the FUSE_STATFS request to the Virtio Filesysem device, for retrieving the attributes of the host-side filesystem that contains NodeId.
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_STATFS request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode whose containing filesystem is to be queried for its attributes. |
[out] | FilesysAttr | The VIRTIO_FS_FUSE_STATFS_RESPONSE object describing the filesystem that underlies NodeId. |
EFI_SUCCESS | FilesysAttr has been filled in. |
Definition at line 38 of file FuseStatFs.c.