TianoCore EDK2 master
|
#include "VirtioFsDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | VirtioFsFuseSetAttr (IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 *Size OPTIONAL, IN UINT64 *Atime OPTIONAL, IN UINT64 *Mtime OPTIONAL, IN UINT32 *Mode OPTIONAL) |
FUSE_SETATTR wrapper for the Virtio Filesystem device.
Copyright (C) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FuseSetAttr.c.
EFI_STATUS VirtioFsFuseSetAttr | ( | IN OUT VIRTIO_FS * | VirtioFs, |
IN UINT64 | NodeId, | ||
IN UINT64 *Size | OPTIONAL, | ||
IN UINT64 *Atime | OPTIONAL, | ||
IN UINT64 *Mtime | OPTIONAL, | ||
IN UINT32 *Mode | OPTIONAL | ||
) |
Send the FUSE_SETATTR request to the Virtio Filesystem device, for changing 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_SETATTR request to. On output, the FUSE request counter "VirtioFs->RequestId" will have been incremented. |
[in] | NodeId | The inode number representing the regular file or directory whose attributes should be changed. |
[in] | Size | The new size to set for the regular file. If NULL, then the file size will not be changed. If NodeId refers to a directory, then the caller is responsible for passing NULL as Size. |
[in] | Atime | The new last access time to set for the regular file or directory (seconds since the Epoch). If NULL, then the last access time is not changed. |
[in] | Mtime | The new last modification time to set for the regular file or directory (seconds since the Epoch). If NULL, then the last modification time is not changed. |
[in] | Mode | The new file mode bits to set for the regular file or directory. If NULL, then the file mode bits are not changed. |
EFI_SUCCESS | The attributes have been updated. |
Definition at line 54 of file FuseSetAttr.c.