Home
last modified time | relevance | path

Searched refs:Priority (Results 1 – 25 of 144) sorted by relevance

123456

/reactos/ntoskrnl/ke/
H A Dthrdschd.c89 ASSERT((Thread->Priority >= 0) && (Thread->Priority <= HIGH_PRIORITY)); in KiDeferredReadyThread()
126 ASSERT((Thread->Priority >= 0) && (Thread->Priority <= HIGH_PRIORITY)); in KiDeferredReadyThread()
219 ASSERT((Thread->Priority >= 0) && (Thread->Priority <= HIGH_PRIORITY)); in KiDeferredReadyThread()
228 OldPriority = Thread->Priority; in KiDeferredReadyThread()
519 ASSERT((Priority >= 0) && (Priority <= HIGH_PRIORITY)); in KiSetPriorityThread()
522 if (Thread->Priority != Priority) in KiSetPriorityThread()
555 Thread->Priority = (SCHAR)Priority; in KiSetPriorityThread()
573 Thread->Priority = (SCHAR)Priority; in KiSetPriorityThread()
588 Thread->Priority = (SCHAR)Priority; in KiSetPriorityThread()
628 Thread->Priority = (SCHAR)Priority; in KiSetPriorityThread()
[all …]
H A Dthrdobj.c224 KPRIORITY Priority; in KeBoostPriorityThread() local
242 if (Priority > Thread->Priority) in KeBoostPriorityThread()
1013 return Thread->Priority; in KeQueryPriorityThread()
1228 Priority = BasePriority; in KeSetBasePriorityThread()
1246 Priority = BasePriority; in KeSetBasePriorityThread()
1263 Priority = 1; in KeSetBasePriorityThread()
1275 if (Priority != Thread->Priority) in KeSetBasePriorityThread()
1326 ASSERT((Priority <= HIGH_PRIORITY) && (Priority >= LOW_PRIORITY)); in KeSetPriorityThread()
1336 OldPriority = Thread->Priority; in KeSetPriorityThread()
1340 if (Priority != Thread->Priority) in KeSetPriorityThread()
[all …]
H A Dbalmgr.c69 ASSERT(Thread->Priority == Index); in KiScanReadyQueues()
86 Thread->Priority)); in KiScanReadyQueues()
88 Thread->Priority); in KiScanReadyQueues()
94 Thread->Priority = THREAD_BOOST_PRIORITY; in KiScanReadyQueues()
H A Dprocobj.c116 IN KPRIORITY Priority, in KeInitializeProcess() argument
135 Process->BasePriority = (CHAR)Priority; in KeInitializeProcess()
350 IN KPRIORITY Priority, in KeSetPriorityAndQuantumProcess() argument
362 if (Process->BasePriority == Priority) return Process->BasePriority; in KeSetPriorityAndQuantumProcess()
365 if (!Priority) Priority = LOW_PRIORITY + 1; in KeSetPriorityAndQuantumProcess()
378 Process->BasePriority = (SCHAR)Priority; in KeSetPriorityAndQuantumProcess()
381 Delta = Priority - OldPriority; in KeSetPriorityAndQuantumProcess()
388 if (Priority >= LOW_REALTIME_PRIORITY) in KeSetPriorityAndQuantumProcess()
H A Deventobj.c273 Thread->Priority = KiComputeNewPriority(Thread, 0); in KeSetEventBoostPriority()
279 WaitThread->AdjustIncrement = Thread->Priority; in KeSetEventBoostPriority()
/reactos/modules/rostests/apitests/ntdll/
H A DNtSetInformationThread.c16 KPRIORITY *Priority; in Test_ThreadPriorityClass() local
18 Priority = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(KPRIORITY)); in Test_ThreadPriorityClass()
19 if (Priority == NULL) in Test_ThreadPriorityClass()
26 *Priority = 11; in Test_ThreadPriorityClass()
38 Priority, in Test_ThreadPriorityClass()
52 Priority, in Test_ThreadPriorityClass()
80 Priority, in Test_ThreadPriorityClass()
88 *Priority = LOW_REALTIME_PRIORITY; in Test_ThreadPriorityClass()
91 Priority, in Test_ThreadPriorityClass()
95 HeapFree(GetProcessHeap(), 0, Priority); in Test_ThreadPriorityClass()
/reactos/modules/rostests/kmtests/ntos_ke/
H A DKeEvent.c151 KPRIORITY Priority; in TestEventConcurrent() local
179 Priority = KeQueryPriorityThread(Threads[i].Thread); in TestEventConcurrent()
180 ok_eq_long(Priority, 8L); in TestEventConcurrent()
214 Priority = KeQueryPriorityThread(Threads[i].Thread); in TestEventConcurrent()
252 KPRIORITY Priority; in CountThread() local
254 Priority = KeQueryPriorityThread(KeGetCurrentThread()); in CountThread()
255 ok_eq_long(Priority, 8L); in CountThread()
264 Priority = KeQueryPriorityThread(KeGetCurrentThread()); in CountThread()
281 KPRIORITY Priority; in TestEventScheduling() local
303 ok(Priority == 8, "[%lu] Priority = %lu\n", PriorityIncrement, Priority); in TestEventScheduling()
[all …]
/reactos/ntoskrnl/include/internal/
H A Dke_x.h1358 KPRIORITY Priority; in KxQueueReadyThread() local
1379 Priority = Thread->Priority; in KxQueueReadyThread()
1387 ASSERT((Priority >= 0) && (Priority <= HIGH_PRIORITY)); in KxQueueReadyThread()
1399 ASSERT(Priority == Thread->Priority); in KxQueueReadyThread()
1437 HighPriority += Priority; in KiSelectReadyThread()
1462 (Thread->Priority != 0)); in KiSelectReadyThread()
1475 SCHAR Priority; in KiComputeNewPriority() local
1484 Priority = Thread->Priority; in KiComputeNewPriority()
1485 if (Priority < LOW_REALTIME_PRIORITY) in KiComputeNewPriority()
1491 if (Priority < Thread->BasePriority) Priority = Thread->BasePriority; in KiComputeNewPriority()
[all …]
/reactos/ntoskrnl/mm/
H A Dbalance.c59 NTSTATUS (*Trim)(ULONG Target, ULONG Priority, PULONG NrFreed)) in MmInitializeMemoryConsumer() argument
138 MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages) in MmTrimUserMemory() argument
145 DPRINT("MM BALANCER: %s\n", Priority ? "Paging out!" : "Removing access bit!"); in MmTrimUserMemory()
151 if (Priority) in MmTrimUserMemory()
422 KPRIORITY Priority; in MiInitBalancerThread() local
448 Priority = LOW_REALTIME_PRIORITY + 1; in MiInitBalancerThread()
451 &Priority, in MiInitBalancerThread()
452 sizeof(Priority)); in MiInitBalancerThread()
/reactos/win32ss/printing/include/marshalling/
H A Djobs.h28 …{ FIELD_OFFSET(JOB_INFO_1W, Priority), RTL_FIELD_SIZE(JOB_INFO_1W, Priority), RTL_FIELD_SIZE(JOB_I…
54 …{ FIELD_OFFSET(JOB_INFO_2W, Priority), RTL_FIELD_SIZE(JOB_INFO_2W, Priority), RTL_FIELD_SIZE(JOB_I…
/reactos/dll/win32/shell32/
H A Dfolders.cpp92 int Priority; in GetIconOverlay() local
111 hResult = Handlers[Index]->GetPriority(&Priority); in GetIconOverlay()
114 if (Priority < HighestPriority) in GetIconOverlay()
116 HighestPriority = Priority; in GetIconOverlay()
/reactos/modules/rosapps/applications/fraginator/
H A DMainDialog.cpp203 DWORD Priority; in UpdatePriority() local
208 Priority = HIGH_PRIORITY_CLASS; in UpdatePriority()
211 Priority = ABOVE_NORMAL_PRIORITY_CLASS; in UpdatePriority()
214 Priority = NORMAL_PRIORITY_CLASS; in UpdatePriority()
217 Priority = BELOW_NORMAL_PRIORITY_CLASS; in UpdatePriority()
220 Priority = IDLE_PRIORITY_CLASS; in UpdatePriority()
224 SetPriorityClass (GetCurrentProcess(), Priority); in UpdatePriority()
/reactos/sdk/lib/drivers/wdf/shared/inc/private/km/
H A Dfxinterruptkm.hpp90 __in WDF_INTERRUPT_PRIORITY Priority, in SetPolicyInternal() argument
95 UNREFERENCED_PARAMETER(Priority); in SetPolicyInternal()
/reactos/drivers/network/dd/netkvm/wxp/
H A Dnetkvm.inx64 HKR, Ndi\Params\Priority, ParamDesc, 0, %Priority%
65 HKR, Ndi\Params\Priority, Default, 0, "1"
66 HKR, Ndi\Params\Priority, type, 0, "enum"
67 HKR, Ndi\Params\Priority\enum, "1", 0, %Enable%
68 HKR, Ndi\Params\Priority\enum, "0", 0, %Disable%
279 Priority = "Init.Do802.1PQ"
317 PriorityVlanTag = "Priority and VLAN tagging"
318 PriorityOnly = "Priority"
/reactos/drivers/network/ndis/ndis/
H A Dbuffer.c924 IN MM_PAGE_PRIORITY Priority) in NdisGetFirstBufferFromPacketSafe() argument
933 *_FirstBufferVA = MmGetSystemAddressForMdlSafe(Buffer, Priority); in NdisGetFirstBufferFromPacketSafe()
985 IN UINT Priority) in NdisQueryBufferSafe() argument
994 *VirtualAddress = MmGetSystemAddressForMdlSafe(Buffer, Priority); in NdisQueryBufferSafe()
1209 IN MM_PAGE_PRIORITY Priority) in NdisCopyFromPacketToPacketSafe() argument
1220 …etFirstBufferFromPacketSafe(Destination, &DstBuffer, (PVOID*)&DstData, &DstSize, &Total, Priority); in NdisCopyFromPacketToPacketSafe()
1225 …NdisGetFirstBufferFromPacketSafe(Source, &SrcBuffer, (PVOID*)&SrcData, &SrcSize, &Total, Priority); in NdisCopyFromPacketToPacketSafe()
1254 NdisQueryBufferSafe(DstBuffer, (PVOID)&DstData, &DstSize, Priority); in NdisCopyFromPacketToPacketSafe()
1267 NdisQueryBufferSafe(SrcBuffer, (PVOID)&SrcData, &SrcSize, Priority); in NdisCopyFromPacketToPacketSafe()
/reactos/drivers/network/dd/netkvm/
H A Dnetkvm.inf64 HKR, Ndi\Params\Priority, ParamDesc, 0, %Priority%
65 HKR, Ndi\Params\Priority, Default, 0, "1"
66 HKR, Ndi\Params\Priority, type, 0, "enum"
67 HKR, Ndi\Params\Priority\enum, "1", 0, %Enable%
68 HKR, Ndi\Params\Priority\enum, "0", 0, %Disable%
279 Priority = "Init.Do802.1PQ"
317 PriorityVlanTag = "Priority and VLAN tagging"
318 PriorityOnly = "Priority"
/reactos/ntoskrnl/ex/
H A Dwork.c256 KPRIORITY Priority; in ExpCreateWorkerThread() local
291 Priority = EX_DELAYED_QUEUE_PRIORITY_INCREMENT; in ExpCreateWorkerThread()
296 Priority = EX_CRITICAL_QUEUE_PRIORITY_INCREMENT; in ExpCreateWorkerThread()
301 Priority = EX_HYPERCRITICAL_QUEUE_PRIORITY_INCREMENT; in ExpCreateWorkerThread()
313 KeSetBasePriorityThread(&Thread->Tcb, Priority); in ExpCreateWorkerThread()
/reactos/ntoskrnl/ps/
H A Dquery.c2027 KPRIORITY Priority = 0; in NtSetInformationThread() local
2071 Priority = *(PLONG)ThreadInformation; in NtSetInformationThread()
2082 if ((Priority > HIGH_PRIORITY) || in NtSetInformationThread()
2083 (Priority <= LOW_PRIORITY)) in NtSetInformationThread()
2091 if (Priority >= LOW_REALTIME_PRIORITY) in NtSetInformationThread()
2115 KeSetPriorityThread(&Thread->Tcb, Priority); in NtSetInformationThread()
2134 Priority = *(PLONG)ThreadInformation; in NtSetInformationThread()
2145 if ((Priority > THREAD_BASE_PRIORITY_MAX) || in NtSetInformationThread()
2146 (Priority < THREAD_BASE_PRIORITY_MIN)) in NtSetInformationThread()
2174 KeSetBasePriorityThread(&Thread->Tcb, Priority); in NtSetInformationThread()
[all …]
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/km/
H A Dmxeventkm.h81 __in KPRIORITY Priority in SetWithIncrement() argument
86 KeSetEvent(&m_Event, Priority, FALSE); in SetWithIncrement()
/reactos/sdk/include/wdf/kmdf/1.17/
H A Dwdfinterrupt.h342 WDF_INTERRUPT_PRIORITY Priority; member
356 ExtendedPolicy->Priority = WdfIrqPriorityUndefined; in WDF_INTERRUPT_EXTENDED_POLICY_INIT()
655 WDF_INTERRUPT_PRIORITY Priority,
669 WDF_INTERRUPT_PRIORITY Priority, in _IRQL_requires_max_()
674 …[WdfInterruptSetPolicyTableIndex])(WdfDriverGlobals, Interrupt, Policy, Priority, TargetProcessorS… in _IRQL_requires_max_()
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/
H A Dfxinterruptapi.cpp1098 WDF_INTERRUPT_PRIORITY Priority, in __drv_maxIRQL()
1143 if (Priority < WdfIrqPriorityLow || Priority > WdfIrqPriorityHigh) { in __drv_maxIRQL()
1146 "Priority %d is out of range", Priority); in __drv_maxIRQL()
1154 pFxInterrupt->SetPolicy(Policy, Priority, &processorSet); in __drv_maxIRQL()
1216 priority = PolicyAndGroup->Priority; in __drv_maxIRQL()
/reactos/drivers/network/dd/nvnet/
H A Dnetnv.inf203 HKR, Ndi\params\Priority, ParamDesc, 0, %PP%
204 HKR, Ndi\params\Priority, type, 0, "enum"
205 HKR, Ndi\params\Priority, default, 0, "1"
206 HKR, Ndi\params\Priority\enum, "0", 0, "%No%"
207 HKR, Ndi\params\Priority\enum, "1", 0, "%Yes%"
261 PP = "Packet Priority"
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/um/
H A Dmxeventum.h125 __in KPRIORITY Priority in SetWithIncrement() argument
128 UNREFERENCED_PARAMETER(Priority); in SetWithIncrement()
/reactos/ntoskrnl/kd/
H A Dkdio.c244 KPRIORITY Priority; in KdpDebugLogInit() local
341 Priority = HIGH_PRIORITY; in KdpDebugLogInit()
344 &Priority, in KdpDebugLogInit()
345 sizeof(Priority)); in KdpDebugLogInit()
/reactos/dll/win32/iprtprio/
H A Diprtprio.def1 ; IPRTPRIO.DLL - ReactOS IP Route Priority API DLL

123456