TianoCore EDK2 master
|
#include "Fat.h"
Go to the source code of this file.
Functions | |
STATIC VOID | FatFreeODir (IN FAT_ODIR *ODir) |
STATIC FAT_ODIR * | FatAllocateODir (IN FAT_OFILE *OFile) |
VOID | FatDiscardODir (IN FAT_OFILE *OFile) |
VOID | FatRequestODir (IN FAT_OFILE *OFile) |
VOID | FatCleanupODirCache (IN FAT_VOLUME *Volume) |
Functions for directory cache operation.
Copyright (c) 2005, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DirectoryCache.c.
Allocate the directory structure.
OFile | - The corresponding OFile. |
Definition at line 52 of file DirectoryCache.c.
VOID FatCleanupODirCache | ( | IN FAT_VOLUME * | Volume | ) |
Clean up all the cached directory structures when the volume is going to be abandoned.
Volume | - FAT file system volume. |
Definition at line 175 of file DirectoryCache.c.
Discard the directory structure when an OFile will be freed. Volume will cache this directory if the OFile does not represent a deleted file.
OFile | - The OFile whose directory structure is to be discarded. |
Definition at line 80 of file DirectoryCache.c.
Free the directory structure and release the memory.
ODir | - The directory to be freed. |
Definition at line 21 of file DirectoryCache.c.
Request the directory structure when an OFile is newly generated. If the directory structure is cached by volume, then just return this directory; Otherwise, allocate a new one for OFile.
OFile | - The OFile which requests directory structure. |
Definition at line 130 of file DirectoryCache.c.