6 references to FileAdvice
System.Private.CoreLib (6)
_generated\2\LibraryImports.g.cs (2)
3813
internal static partial int PosixFAdvise(global::Microsoft.Win32.SafeHandles.SafeFileHandle fd, long offset, long length, global::Interop.Sys.
FileAdvice
advice)
3840
static extern unsafe int __PInvoke(nint __fd_native, long __offset_native, long __length_native, global::Interop.Sys.
FileAdvice
__advice_native);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.PosixFAdvise.cs (1)
33
internal static partial int PosixFAdvise(SafeFileHandle fd, long offset, long length,
FileAdvice
advice);
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (3)
468
Interop.Sys.
FileAdvice
fadv =
469
(options & FileOptions.RandomAccess) != 0 ? Interop.Sys.
FileAdvice
.POSIX_FADV_RANDOM :
470
(options & FileOptions.SequentialScan) != 0 ? Interop.Sys.
FileAdvice
.POSIX_FADV_SEQUENTIAL :