TianoCore EDK2 master
Loading...
Searching...
No Matches
NvmExpressMediaSanitize.h
Go to the documentation of this file.
1
9#ifndef NVME_MEDIA_SANITIZE_H_
10#define NVME_MEDIA_SANITIZE_H_
11
12#define NVME_NO_DEALLOCATE_AFTER_SANITZE 0x1
13
50 IN UINT32 NamespaceId,
51 IN UINT32 Ses,
52 IN UINT32 Flbas
53 );
54
84 IN UINT32 NamespaceId,
85 IN UINT32 SanitizeAction,
86 IN UINT32 NoDeallocAfterSanitize,
87 IN UINT32 OverwritePattern
88 );
89
117EFIAPI
120 IN UINT32 MediaId,
121 IN UINT32 PassCount,
122 IN VOID *SectorOwBuffer
123 );
124
151EFIAPI
154 IN UINT32 MediaId,
155 IN UINT32 PurgeAction,
156 IN UINT32 OverwritePattern
157 );
158
183EFIAPI
186 IN UINT32 MediaId,
187 IN UINT32 LbaSize,
188 IN UINT32 SecureEraseAction
189 );
190
191#endif
#define IN
Definition: Base.h:279
EFI_STATUS EFIAPI NvmExpressMediaPurge(IN MEDIA_SANITIZE_PROTOCOL *This, IN UINT32 MediaId, IN UINT32 PurgeAction, IN UINT32 OverwritePattern)
EFI_STATUS EFIAPI NvmExpressMediaFormat(IN MEDIA_SANITIZE_PROTOCOL *This, IN UINT32 MediaId, IN UINT32 LbaSize, IN UINT32 SecureEraseAction)
EFI_STATUS EFIAPI NvmExpressMediaClear(IN MEDIA_SANITIZE_PROTOCOL *This, IN UINT32 MediaId, IN UINT32 PassCount, IN VOID *SectorOwBuffer)
EFI_STATUS NvmExpressFormatNvm(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 NamespaceId, IN UINT32 Ses, IN UINT32 Flbas)
EFI_STATUS NvmExpressSanitize(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 NamespaceId, IN UINT32 SanitizeAction, IN UINT32 NoDeallocAfterSanitize, IN UINT32 OverwritePattern)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29