/reactos/ntoskrnl/io/iomgr/ |
H A D | irq.c | 40 KAFFINITY Affinity; in IoConnectInterrupt() local 48 Affinity = ProcessorEnableMask & KeActiveProcessors; in IoConnectInterrupt() 49 while (Affinity) in IoConnectInterrupt() 52 if (Affinity & 1) Count++; in IoConnectInterrupt() 53 Affinity >>= 1; in IoConnectInterrupt() 78 Affinity = ProcessorEnableMask & KeActiveProcessors; in IoConnectInterrupt() 79 for (Count = 0; Affinity; Count++, Affinity >>= 1) in IoConnectInterrupt() 82 if (!(Affinity & 1)) in IoConnectInterrupt()
|
/reactos/ntoskrnl/fstub/ |
H A D | translate.c | 44 KAFFINITY Affinity; in FstubTranslateResource() local 63 &Irql, &Affinity); in FstubTranslateResource() 65 Target->u.Interrupt.Affinity = Affinity; in FstubTranslateResource() 87 &Irql, &Affinity); in FstubTranslateResource() 93 Target->u.Interrupt.Affinity = -1; in FstubTranslateResource() 120 KAFFINITY Affinity; in FstubTranslateRequirement() local 140 &Irql, &Affinity); in FstubTranslateRequirement() 146 &Irql, &Affinity); in FstubTranslateRequirement()
|
/reactos/ntoskrnl/ke/ |
H A D | ipi.c | 204 KAFFINITY Affinity; in KeIpiGenericCall() local 216 Affinity = KeActiveProcessors; in KeIpiGenericCall() 219 Affinity &= ~Prcb->SetMember; in KeIpiGenericCall() 227 if (Affinity) in KeIpiGenericCall() 230 KiIpiSendPacket(Affinity, in KeIpiGenericCall() 258 if (Affinity) in KeIpiGenericCall()
|
H A D | procobj.c | 117 IN KAFFINITY Affinity, in KeInitializeProcess() argument 134 Process->Affinity = Affinity; in KeInitializeProcess() 164 if (KeNodeBlock[IdealNode]->ProcessorMask != Affinity) break; in KeInitializeProcess() 182 ASSERT(Node->ProcessorMask & Affinity); in KeInitializeProcess() 185 Affinity &= Node->ProcessorMask; in KeInitializeProcess() 187 (ULONG)Affinity); in KeInitializeProcess() 266 IN KAFFINITY Affinity) in KeSetAffinityProcess() argument 275 ASSERT((Affinity & KeActiveProcessors) != 0); in KeSetAffinityProcess() 284 OldAffinity = Process->Affinity; in KeSetAffinityProcess() 285 Process->Affinity = Affinity; in KeSetAffinityProcess() [all …]
|
H A D | thrdobj.c | 515 Thread->Affinity = Process->Affinity; in KeStartThread() 516 Thread->UserAffinity = Process->Affinity; in KeStartThread() 530 Mask = Node->ProcessorMask & Process->Affinity; in KeStartThread() 1039 if (!(Prcb->SetMember & CurrentThread->Affinity)) in KeRevertToUserAffinityThread() 1083 if (Thread->Affinity & AFFINITY_MASK(Processor)) in KeSetIdealProcessorThread() 1107 KeSetSystemAffinityThread(IN KAFFINITY Affinity) in KeSetSystemAffinityThread() argument 1113 ASSERT((Affinity & KeActiveProcessors) != 0); in KeSetSystemAffinityThread() 1119 CurrentThread->Affinity = Affinity; in KeSetSystemAffinityThread() 1133 AffinitySet = KeActiveProcessors & Affinity; in KeSetSystemAffinityThread() 1149 if (!(Prcb->SetMember & CurrentThread->Affinity)) in KeSetSystemAffinityThread() [all …]
|
H A D | thrdschd.c | 686 IN KAFFINITY Affinity) in KiSetAffinityThread() argument 694 if (((Affinity & Thread->ApcState.Process->Affinity) != (Affinity)) || in KiSetAffinityThread() 695 (!Affinity)) in KiSetAffinityThread() 702 Thread->UserAffinity = Affinity; in KiSetAffinityThread()
|
H A D | profobj.c | 34 KAFFINITY Affinity) in KeInitializeProfile() argument 47 Profile->Affinity = Affinity; in KeInitializeProfile()
|
/reactos/sdk/lib/drivers/sound/legacy/ |
H A D | hardware.c | 34 KAFFINITY Affinity; in LegacyAttachInterrupt() local 43 &Affinity); in LegacyAttachInterrupt() 57 Affinity, in LegacyAttachInterrupt()
|
/reactos/win32ss/drivers/videoprt/ |
H A D | interrupt.c | 69 KAFFINITY Affinity; in IntVideoPortSetupInterrupt() local 77 &Affinity); in IntVideoPortSetupInterrupt() 96 Affinity, in IntVideoPortSetupInterrupt()
|
/reactos/drivers/multimedia/audio/sound/ |
H A D | wave.c | 43 KAFFINITY Affinity; in sb16_play() local 71 MappedIrq = HalGetInterruptVector(Internal,0,0,8+sb16.irq,&Dirql,&Affinity); in sb16_play() 75 IoConnectInterrupt(&IrqObject,DMAOutputISR,0,NULL,MappedIrq,Dirql,Dirql,0,FALSE,Affinity,FALSE); in sb16_play()
|
/reactos/sdk/include/ndk/ |
H A D | kefuncs.h | 63 FORCEINLINE BOOLEAN InterlockedBitTestAndSetAffinity(volatile KAFFINITY *Affinity, ULONG Index) in InterlockedBitTestAndSetAffinity() argument 67 return InterlockedBitTestAndSet64((PLONG64)Affinity, Index); in InterlockedBitTestAndSetAffinity() 69 return InterlockedBitTestAndSet((PLONG)Affinity, Index); in InterlockedBitTestAndSetAffinity() 73 FORCEINLINE BOOLEAN InterlockedBitTestAndResetAffinity(volatile KAFFINITY *Affinity, ULONG Index) in InterlockedBitTestAndResetAffinity() argument 77 return InterlockedBitTestAndReset64((PLONG64)Affinity, Index); in InterlockedBitTestAndResetAffinity() 79 return InterlockedBitTestAndReset((PLONG)Affinity, Index); in InterlockedBitTestAndResetAffinity() 146 _In_ KAFFINITY Affinity 445 _In_reads_(GroupCount) PGROUP_AFFINITY Affinity
|
H A D | cmtypes.h | 604 KAFFINITY Affinity; member 616 KAFFINITY Affinity; member 622 KAFFINITY Affinity; member
|
/reactos/drivers/multimedia/audio/sndblst.old/ |
H A D | irq.c | 67 KAFFINITY Affinity; 75 &Affinity);
|
/reactos/ntoskrnl/ke/i386/ |
H A D | kiinit.c | 43 ULONG i, Affinity, Sample = 0; in KiInitMachineDependent() local 122 for (Affinity = 1; i; Affinity <<= 1) in KiInitMachineDependent() 125 if (i & Affinity) in KiInitMachineDependent() 128 i &= ~Affinity; in KiInitMachineDependent() 129 KeSetSystemAffinityThread(Affinity); in KiInitMachineDependent() 553 InitThread->Affinity = 1 << Number; in KiInitializeKernel()
|
/reactos/ntoskrnl/ex/ |
H A D | profile.c | 97 IN KAFFINITY Affinity) in NtCreateProfile() argument 235 Profile->Affinity = Affinity; in NtCreateProfile() 398 Profile->Affinity); in NtStartProfile()
|
/reactos/hal/halx86/legacy/bus/ |
H A D | sysbus.c | 120 OUT PKAFFINITY Affinity) in HalpGetSystemInterruptVector() argument 128 Affinity); in HalpGetSystemInterruptVector()
|
/reactos/ntoskrnl/ps/ |
H A D | query.c | 147 ProcessBasicInfo->AffinityMask = Process->Pcb.Affinity; in NtQueryInformationProcess() 1122 KAFFINITY ValidAffinity, Affinity = 0; in NtSetInformationProcess() local 1694 Affinity = *(PKAFFINITY)ProcessInformation; in NtSetInformationProcess() 1706 ValidAffinity = Affinity & KeActiveProcessors; in NtSetInformationProcess() 1707 if (!Affinity || (ValidAffinity != Affinity)) in NtSetInformationProcess() 2028 KAFFINITY Affinity = 0, CombinedAffinity; in NtSetInformationThread() local 2193 Affinity = *(PULONG_PTR)ThreadInformation; in NtSetInformationThread() 2204 if (!Affinity) in NtSetInformationThread() 2232 CombinedAffinity = Affinity & Process->Pcb.Affinity; in NtSetInformationThread() 2233 if (CombinedAffinity != Affinity) in NtSetInformationThread() [all …]
|
/reactos/drivers/input/i8042prt/ |
H A D | pnp.c | 296 PortDeviceExtension->KeyboardInterrupt.Affinity); in i8042ConnectKeyboardInterrupt() 303 PortDeviceExtension->KeyboardInterrupt.Affinity, FALSE); in i8042ConnectKeyboardInterrupt() 346 PortDeviceExtension->MouseInterrupt.Affinity); in i8042ConnectMouseInterrupt() 353 PortDeviceExtension->MouseInterrupt.Affinity, FALSE); in i8042ConnectMouseInterrupt() 587 InterruptData.Affinity = ResourceDescriptorTranslated->u.Interrupt.Affinity; in i8042PnpStartDevice()
|
/reactos/drivers/serial/serial/ |
H A D | pnp.c | 152 KAFFINITY Affinity = 0; in SerialPnpStartDevice() local 207 Affinity = PartialDescriptorTranslated->u.Interrupt.Affinity; in SerialPnpStartDevice() 287 Affinity, FALSE); in SerialPnpStartDevice()
|
/reactos/drivers/wdm/audio/legacy/stream/ |
H A D | pnp.c | 130 KAFFINITY Affinity = 0; in StreamClassStartDevice() local 218 Affinity = Descriptor->u.Interrupt.Affinity; in StreamClassStartDevice() 287 Affinity, in StreamClassStartDevice()
|
/reactos/drivers/storage/port/storport/ |
H A D | misc.c | 247 PKAFFINITY Affinity) in GetResourceListInterrupt() argument 274 *Affinity = PartialDescriptor->u.Interrupt.Affinity; in GetResourceListInterrupt()
|
H A D | fdo.c | 45 KAFFINITY Affinity; in PortFdoConnectInterrupt() local 65 &Affinity); in PortFdoConnectInterrupt() 75 DPRINT1("Affinity: 0x%08lx\n", Affinity); in PortFdoConnectInterrupt() 87 Affinity, in PortFdoConnectInterrupt()
|
/reactos/boot/freeldr/freeldr/arch/ |
H A D | archwsup.c | 204 _In_ ULONG Affinity, in FldrCreateComponentKey() argument 231 Component->AffinityMask = Affinity; in FldrCreateComponentKey()
|
/reactos/dll/win32/devmgr/properties/ |
H A D | hwresource.cpp | 48 KAFFINITY Affinity; member 61 KAFFINITY Affinity; member 71 KAFFINITY Affinity; member
|
/reactos/hal/halx86/acpi/ |
H A D | busemul.c | 240 OUT PKAFFINITY Affinity) in HalGetInterruptVector() argument 246 Affinity); in HalGetInterruptVector()
|