16VirtioFsSimpleFileClose (
23 VirtioFsFile = VIRTIO_FS_FILE_FROM_SIMPLE_FILE (This);
24 VirtioFs = VirtioFsFile->OwnerFs;
35 if (VirtioFsFile->IsOpenForWriting) {
36 if (!VirtioFsFile->IsDirectory) {
40 VirtioFsFile->FuseHandle
47 VirtioFsFile->FuseHandle,
48 VirtioFsFile->IsDirectory
55 VirtioFsFile->FuseHandle,
56 VirtioFsFile->IsDirectory
64 if (VirtioFsFile->NodeId != VIRTIO_FS_FUSE_ROOT_DIR_NODE_ID) {
73 FreePool (VirtioFsFile->CanonicalPathname);
74 if (VirtioFsFile->FileInfoArray !=
NULL) {
75 FreePool (VirtioFsFile->FileInfoArray);
LIST_ENTRY *EFIAPI RemoveEntryList(IN CONST LIST_ENTRY *Entry)
VOID EFIAPI FreePool(IN VOID *Buffer)
EFI_STATUS VirtioFsFuseFlush(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 FuseHandle)
EFI_STATUS VirtioFsFuseForget(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId)
EFI_STATUS VirtioFsFuseFsyncFileOrDir(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 FuseHandle, IN BOOLEAN IsDir)
EFI_STATUS VirtioFsFuseReleaseFileOrDir(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN UINT64 FuseHandle, IN BOOLEAN IsDir)