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

Function Ext2Log2

Ext4Fsd/misc.c:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#endif
23
24ULONG
25Ext2Log2(ULONG Value)
26{
27 ULONG Order = 0;
28
29 ASSERT(Value > 0);
30
31 while (Value) {
32 Order++;
33 Value >>= 1;
34 }
35
36 return (Order - 1);
37}
38
39LARGE_INTEGER
40Ext2NtTime (IN ULONG i_time)

Callers 1

Ext2InitializeVcbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected