TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseGetAttr (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, OUT VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE *FuseAttr) |
FUSE_GETATTR wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseGetAttr.c.
EFI_STATUS VirtioFsFuseGetAttr | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId, | ||
OUT VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE * | FuseAttr | ||
) |
Send a FUSE_GETATTR request to the Virtio Filesystem device, for fetching the attributes of an inode.
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_GETATTR request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode number for which the attributes should be retrieved. |
[out] | FuseAttr | The VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE object describing the properties of the inode. |
EFI_SUCCESS | FuseAttr has been filled in. |
Definition at line 39 of file FuseGetAttr.c.