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

Function Ext2IsBlockEmpty

Ext4Fsd/ext3/indirect.c:610–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610BOOLEAN
611Ext2IsBlockEmpty(PULONG BlockArray, ULONG SizeArray)
612{
613 ULONG i = 0;
614 for (i=0; i < SizeArray; i++) {
615 if (BlockArray[i]) {
616 break;
617 }
618 }
619 return (i == SizeArray);
620}
621
622
623NTSTATUS

Callers 1

Ext2TruncateBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected