62 references to UnsafeNativeMethods
System.IO.Log (62)
System\IO\Log\LogArchiveSnapshot.cs (3)
36
while (!
UnsafeNativeMethods
.PrepareLogArchive(
65
UnsafeNativeMethods
.ReadLogArchiveMetadata(
94
if (!
UnsafeNativeMethods
.GetNextLogArchiveExtentSingle(
System\IO\Log\LogExtentCollection.cs (6)
74
UnsafeNativeMethods
.AddLogContainerNoSizeSync(
100
UnsafeNativeMethods
.AddLogContainerSync(
125
UnsafeNativeMethods
.RemoveLogContainerSync(
140
UnsafeNativeMethods
.RemoveLogContainerSync(
170
UnsafeNativeMethods
.CreateLogContainerScanContextSync(
206
UnsafeNativeMethods
.ScanLogContainersSyncClose(
System\IO\Log\LogFlushAsyncResult.cs (3)
61
errorCode =
UnsafeNativeMethods
.FlushLogToLsnAsync(
84
UnsafeNativeMethods
.FlushLogToLsnFilter(errorCode));
110
UnsafeNativeMethods
.FlushLogToLsnFilter(errorCode));
System\IO\Log\LogLogRecordEnumerator.cs (2)
152
if (!
UnsafeNativeMethods
.ReadLogRecordSync(
204
if (!
UnsafeNativeMethods
.ReadNextLogRecordSync(
System\IO\Log\LogManagementAsyncResult.cs (6)
86
errorCode =
UnsafeNativeMethods
.HandleLogFull(
144
UnsafeNativeMethods
.ReadLogNotification(
169
UnsafeNativeMethods
.RegisterManageableLogClient(
184
UnsafeNativeMethods
.ReadLogNotification(
279
UnsafeNativeMethods
.LogTailAdvanceFailure(this.logStore.Handle, errorCode);
304
UnsafeNativeMethods
.LogTailAdvanceFailure(this.logStore.Handle, 0);
System\IO\Log\LogPolicy.cs (16)
172
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
187
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
202
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
227
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
252
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
267
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
287
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
302
UnsafeNativeMethods
.InstallLogPolicy(this.store.Handle,
311
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
320
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
329
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
338
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
356
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
374
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
384
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
393
UnsafeNativeMethods
.QueryLogPolicy(this.store.Handle, out policy);
System\IO\Log\LogRecordSequence.cs (5)
272
UnsafeNativeMethods
.AdvanceLogBaseSync(this.marshalContext,
725
UnsafeNativeMethods
.FlushLogToLsnSync(this.marshalContext,
847
UnsafeNativeMethods
.TruncateLogSync(this.marshalContext,
859
UnsafeNativeMethods
.SetEndOfLogSync(this.store.Handle,
949
UnsafeNativeMethods
.CreateLogMarshallingArea(
System\IO\Log\LogReservationCollection.cs (4)
76
UnsafeNativeMethods
.AlignReservedLogSingle(
81
UnsafeNativeMethods
.AllocReservedLog(
107
UnsafeNativeMethods
.AlignReservedLogSingle(
116
UnsafeNativeMethods
.FreeReservedLog(
System\IO\Log\LogReserveAndAppendState.cs (4)
297
UnsafeNativeMethods
.ReserveAndAppendLogFilter(errorCode));
319
UnsafeNativeMethods
.HandleLogFullFilter(errorCode));
334
UnsafeNativeMethods
.ReserveAndAppendLogFilter(errorCode));
613
errorCode =
UnsafeNativeMethods
.ReserveAndAppendLog(
System\IO\Log\LogRestartAreaEnumerator.cs (2)
130
if (!
UnsafeNativeMethods
.ReadLogRestartAreaSync(
168
if (!
UnsafeNativeMethods
.ReadPreviousLogRestartAreaSync(
System\IO\Log\LogStore.cs (5)
126
this.logFile =
UnsafeNativeMethods
.CreateLogFile(
211
UnsafeNativeMethods
.SetLogArchiveMode(this.logFile,
264
UnsafeNativeMethods
.DeleteLogFile(path, null);
441
UnsafeNativeMethods
.SetLogArchiveTailSync(
451
UnsafeNativeMethods
.GetLogFileInformation(
System\IO\Log\LogWriteRestartAreaState.cs (5)
262
Complete(
UnsafeNativeMethods
.WriteLogRestartAreaFilter(errorCode));
283
Complete(
UnsafeNativeMethods
.WriteLogRestartAreaFilter(errorCode));
297
Complete(
UnsafeNativeMethods
.WriteLogRestartAreaFilter(errorCode));
494
errorCode =
UnsafeNativeMethods
.WriteLogRestartArea(
506
errorCode =
UnsafeNativeMethods
.WriteLogRestartAreaNoBase(
System\IO\Log\UnsafeNativeMethods.cs (1)
105
UnsafeNativeMethods
.GetLogContainerName(