ExpPartitionStart
INT64 __fastcall ExpPartitionStart(INT64 a1){
unsigned __int16 v2;
__int64 v3;
INT64 v4;
INT64 v5;
INT64 v6;
INT64 result;
struct _GROUP_AFFINITY Affinity;
v2 = 0;
if( !KeNumberNodes )
return 0i64;
while( 1 )
{
Affinity = 0i64;
v3 = 0i64;
if( *((__int64 **)&KeNodeBlock + v2) != &KiNodeInit[48 * v2] )
v3 = *((_QWORD *)&KeNodeBlock + v2);
KeQueryNodeActiveAffinity(*(_WORD *)(v3 + 146), &Affinity, 0i64);
if( Affinity.Mask )
{
result = ExpWorkQueueManagerStart(*(_QWORD *)(*(_QWORD *)(a1 + 16) + 8i64 * v2), v4, v5, v6);
if( (int)result < 0 )
break;
}
if( ++v2 >= (unsigned __int16)KeNumberNodes )
return 0i64;
}
return result;
}Referenced by:
PspAllocatePartition