MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2LinuxTime

Function Ext2LinuxTime

Ext4Fsd/misc.c:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50ULONG
51Ext2LinuxTime (IN LARGE_INTEGER SysTime)
52{
53 ULONG Ext2Time = 0;
54
55 if (!RtlTimeToSecondsSince1970(&SysTime, &Ext2Time)) {
56 LARGE_INTEGER NtTime;
57 KeQuerySystemTime(&NtTime);
58 RtlTimeToSecondsSince1970(&NtTime, &Ext2Time);
59 }
60
61 return Ext2Time;
62}
63
64
65ULONG

Callers 7

Ext2CleanupFunction · 0.85
Ext2FlushFileFunction · 0.85
Ext2SetFileInformationFunction · 0.85
Ext2DeleteFileFunction · 0.85
Ext2CreateInodeFunction · 0.85
ext3_current_timeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected