21#pragma alloc_text(PAGE, Ext2Sleep)
76 for (
i = 0;
i < Mbs->Length;
i +=
mbc) {
97 if (Unicode->MaximumLength <
Length) {
106 for (
i = 0;
i < Mbs->Length;
i +=
mbc) {
113 Unicode->Buffer[Unicode->Length/2] = uc;
114 Unicode->Length += 2;
132 for (
i = 0;
i < (Unicode->Length / 2);
i++) {
152 if (Mbs->MaximumLength <
Length) {
160 for (
i = 0;
i < (Unicode->Length / 2);
i++) {
169 (
PUCHAR)&(Mbs->Buffer[Mbs->Length]),
190 if (
Vcb->Codepage.PageTable) {
215 if (
Vcb->Codepage.PageTable) {
226 Unicode, Oem,
FALSE );
246 if (
Vcb->Codepage.PageTable) {
268 if (
Vcb->Codepage.PageTable) {
283 Oem, Unicode,
FALSE );
526 return (
name->Length == 2 &&
name->Buffer[0] ==
L'.');
531 return (
name->Length == 4 &&
name->Buffer[0] ==
L'.' &&
532 name->Buffer[1] ==
L'.');
#define NT_SUCCESS(StatCode)
NTSTATUS Ext2WinntError(int rc)
BOOLEAN Ext2IsDotDot(PUNICODE_STRING name)
ULONG Ext2MbsToUnicode(struct nls_table *PageTable, IN OUT PUNICODE_STRING Unicode, IN PANSI_STRING Mbs)
LARGE_INTEGER Ext2NtTime(IN ULONG i_time)
NTSTATUS Ext2OEMToUnicode(IN PEXT2_VCB Vcb, IN OUT PUNICODE_STRING Unicode, IN POEM_STRING Oem)
BOOLEAN Ext2IsDot(PUNICODE_STRING name)
ULONG Ext2Log2(ULONG Value)
ULONG Ext2UnicodeToOEMSize(IN PEXT2_VCB Vcb, IN PUNICODE_STRING Unicode)
ULONG Ext2LinuxTime(IN LARGE_INTEGER SysTime)
NTSTATUS Ext2UnicodeToOEM(IN PEXT2_VCB Vcb, IN OUT POEM_STRING Oem, IN PUNICODE_STRING Unicode)
ULONG Ext2OEMToUnicodeSize(IN PEXT2_VCB Vcb, IN PANSI_STRING Oem)
int Ext2LinuxError(NTSTATUS Status)
ULONG Ext2UnicodeToMbs(struct nls_table *PageTable, IN OUT PANSI_STRING Mbs, IN PUNICODE_STRING Unicode)
#define KeQuerySystemTime(t)
#define KeDelayExecutionThread(mode, foo, t)
_In_ PLARGE_INTEGER NtTime
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
BOOLEAN NTAPI RtlTimeToSecondsSince1970(PLARGE_INTEGER Time, PULONG ElapsedSeconds)
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToOemString(POEM_STRING DestinationString, PCUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI NTSTATUS NTAPI RtlOemStringToUnicodeString(PUNICODE_STRING DestinationString, PCOEM_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI ULONG NTAPI RtlxUnicodeStringToOemSize(IN PCUNICODE_STRING UnicodeString)
NTSYSAPI VOID NTAPI RtlSecondsSince1970ToTime(_In_ ULONG SecondsSince1970, _Out_ PLARGE_INTEGER Time)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define STATUS_PIPE_DISCONNECTED
#define STATUS_INVALID_ADDRESS
#define STATUS_QUOTA_EXCEEDED
#define STATUS_POSSIBLE_DEADLOCK
#define STATUS_NETWORK_UNREACHABLE
#define STATUS_PROTOCOL_UNREACHABLE
#define STATUS_ADDRESS_ALREADY_EXISTS
#define STATUS_INVALID_BUFFER_SIZE
#define STATUS_TRANSACTION_ABORTED
#define STATUS_HOST_UNREACHABLE
#define STATUS_WORKING_SET_QUOTA
#define STATUS_REMOTE_DISCONNECT
#define STATUS_INVALID_CONNECTION
#define STATUS_PORT_UNREACHABLE
#define STATUS_NETWORK_BUSY
#define STATUS_INVALID_NETWORK_RESPONSE
#define STATUS_CONNECTION_RESET
#define STATUS_CONNECTION_ABORTED
#define STATUS_NOT_SUPPORTED
#define STATUS_BAD_NETWORK_PATH
#define STATUS_CONNECTION_REFUSED
#define STATUS_INVALID_ADDRESS_COMPONENT
#define STATUS_ACCESS_VIOLATION
#define STATUS_NOT_IMPLEMENTED
#define STATUS_CONNECTION_DISCONNECTED
#define STATUS_LINK_TIMEOUT
#define STATUS_CONFLICTING_ADDRESSES
#define STATUS_REMOTE_NOT_LISTENING
#define STATUS_REMOTE_RESOURCES
#define STATUS_UNEXPECTED_IO_ERROR
#define STATUS_LINK_FAILED
#define STATUS_UNEXPECTED_NETWORK_ERROR
#define STATUS_LOCAL_DISCONNECT
#define STATUS_PAGEFILE_QUOTA
#define STATUS_TOO_MANY_ADDRESSES
#define STATUS_TOO_MANY_PAGING_FILES
#define STATUS_COMMITMENT_LIMIT
#define STATUS_DEVICE_NOT_READY
#define STATUS_BUFFER_TOO_SMALL
#define STATUS_BUFFER_OVERFLOW
static PMEM_HOOK PageTable[TOTAL_PAGES]
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
#define STATUS_DIRECTORY_NOT_EMPTY
#define STATUS_FILE_IS_A_DIRECTORY
#define STATUS_NOT_A_DIRECTORY
#define STATUS_ACCESS_DENIED
#define STATUS_OBJECT_PATH_NOT_FOUND
#define STATUS_INVALID_PARAMETER
#define STATUS_IO_TIMEOUT
#define STATUS_NO_SUCH_DEVICE
#define STATUS_REQUEST_ABORTED
#define STATUS_UNSUCCESSFUL
#define STATUS_NO_SUCH_FILE
#define STATUS_OBJECT_NAME_COLLISION
#define STATUS_DEVICE_BUSY
#define STATUS_INSUFFICIENT_RESOURCES
#define STATUS_OBJECT_NAME_NOT_FOUND
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
#define RtlOemStringToCountedUnicodeSize(STRING)