Home
last modified time | relevance | path

Searched refs:Timeout (Results 1 – 25 of 272) sorted by relevance

1234567891011

/reactos/sdk/lib/drivers/sound/soundblaster/
H A Ddsp_io.c21 IN ULONG Timeout) in SbDspReset() argument
33 Expiry = QuerySystemTimeMs() + Timeout; in SbDspReset()
36 while ( (QuerySystemTimeMs() < Expiry) || ( Timeout == 0) ) in SbDspReset()
65 IN ULONG Timeout) in SbDspWaitToWrite() argument
67 ULONG Expiry = QuerySystemTimeMs() + Timeout; in SbDspWaitToWrite()
83 IN ULONG Timeout) in SbDspWaitToRead() argument
85 ULONG Expiry = QuerySystemTimeMs() + Timeout; in SbDspWaitToRead()
102 IN ULONG Timeout) in SbDspWrite() argument
106 Status = SbDspWaitToWrite(BasePort, Timeout); in SbDspWrite()
123 IN ULONG Timeout) in SbDspRead() argument
[all …]
H A Dspeaker.c21 IN ULONG Timeout) in SbDspEnableSpeaker() argument
23 return SbDspWrite(BasePort, SB_DSP_SPEAKER_ON, Timeout); in SbDspEnableSpeaker()
29 IN ULONG Timeout) in SbDspDisableSpeaker() argument
31 return SbDspWrite(BasePort, SB_DSP_SPEAKER_OFF, Timeout); in SbDspDisableSpeaker()
41 IN ULONG Timeout) in SbDspIsSpeakerEnabled() argument
50 Status = SbDspWrite(BasePort, SB_DSP_SPEAKER_STATUS, Timeout); in SbDspIsSpeakerEnabled()
55 Status = SbDspRead(BasePort, &SpeakerStatus, Timeout); in SbDspIsSpeakerEnabled()
H A Drate.c97 IN ULONG Timeout) in SbDsp4WriteRate() argument
104 Status = SbDspWrite(BasePort, (Rate & 0xff00) >> 8, Timeout); in SbDsp4WriteRate()
109 Status = SbDspWrite(BasePort, Rate & 0xff, Timeout); in SbDsp4WriteRate()
120 IN ULONG Timeout) in SbDsp4SetOutputRate() argument
131 return SbDsp4WriteRate(BasePort, Rate, Timeout); in SbDsp4SetOutputRate()
138 IN ULONG Timeout) in SbDsp4SetInputRate() argument
149 return SbDsp4WriteRate(BasePort, Rate, Timeout); in SbDsp4SetInputRate()
H A Dversion.c23 IN ULONG Timeout) in SbDspGetVersion() argument
35 Status = SbDspWrite(BasePort, SB_DSP_VERSION, Timeout); in SbDspGetVersion()
40 Status = SbDspRead(BasePort, MajorVersion, Timeout); in SbDspGetVersion()
45 Status = SbDspRead(BasePort, MinorVersion, Timeout); in SbDspGetVersion()
/reactos/sdk/include/wdf/kmdf/1.17/
H A Dwdfsync.h147 _When_(Timeout == NULL, _IRQL_requires_max_(PASSIVE_LEVEL))
148 _When_(Timeout != NULL && *Timeout == 0, _IRQL_requires_max_(DISPATCH_LEVEL))
149 _When_(Timeout != NULL && *Timeout != 0, _IRQL_requires_max_(PASSIVE_LEVEL))
150 _Always_(_When_(Timeout == NULL, _Acquires_lock_(Lock)))
152 _When_(Timeout != NULL, _Must_inspect_result_)
162 PLONGLONG Timeout
166 _When_(Timeout != NULL && *Timeout == 0, _IRQL_requires_max_(DISPATCH_LEVEL))
167 _When_(Timeout != NULL && *Timeout != 0, _IRQL_requires_max_(PASSIVE_LEVEL))
168 _Always_(_When_(Timeout == NULL, _Acquires_lock_(Lock)))
170 _When_(Timeout != NULL, _Must_inspect_result_)
[all …]
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/
H A Dfxwaitlock.hpp99 __drv_when(Timeout == NULL, __drv_valueIs(==0))
100 __drv_when(Timeout != NULL, __drv_valueIs(==0;==258))
101 __drv_when(Timeout != NULL, _Must_inspect_result_)
105 __in PLONGLONG Timeout in _Acquires_lock_()
123 __in PLONGLONG Timeout in EnterCRAndWaitAndLeave()
128 status = EnterCRAndWait(Timeout); in EnterCRAndWaitAndLeave()
244 __drv_when(Timeout == NULL, __drv_valueIs(==0))
246 __drv_when(Timeout != NULL, _Must_inspect_result_)
251 __in_opt PLONGLONG Timeout = NULL in _Acquires_lock_()
261 if (Timeout != NULL) { in _Acquires_lock_()
[all …]
/reactos/sdk/lib/drivers/wdf/shared/support/
H A Dfxwaitlockapi.cpp95 __drv_when(Timeout != 0, _Must_inspect_result_)
96 __drv_when(Timeout == 0, __drv_maxIRQL(PASSIVE_LEVEL))
97 __drv_when(Timeout != 0 && *Timeout == 0, __drv_maxIRQL(DISPATCH_LEVEL))
98 __drv_when(Timeout != 0 && *Timeout != 0, __drv_maxIRQL(PASSIVE_LEVEL))
108 PLONGLONG Timeout in WDFEXPORT()
142 if (Timeout == NULL || *Timeout != 0) { in WDFEXPORT()
150 return pLock->AcquireLock(pFxDriverGlobals, Timeout); in WDFEXPORT()
/reactos/ntoskrnl/ex/
H A Dkeyedevt.c117 _In_opt_ PLARGE_INTEGER Timeout, in _IRQL_requires_max_()
245 _In_opt_ PLARGE_INTEGER Timeout) in _IRQL_requires_max_()
262 _In_ PLARGE_INTEGER Timeout) in _IRQL_requires_max_()
408 _In_opt_ PLARGE_INTEGER Timeout) in _IRQL_requires_max_()
426 ProbeForRead(Timeout, sizeof(*Timeout), 1); in _IRQL_requires_max_()
427 TimeoutCopy = *Timeout; in _IRQL_requires_max_()
428 Timeout = &TimeoutCopy; in _IRQL_requires_max_()
477 _In_opt_ PLARGE_INTEGER Timeout) in _IRQL_requires_max_()
495 ProbeForRead(Timeout, sizeof(*Timeout), 1); in _IRQL_requires_max_()
496 TimeoutCopy = *Timeout; in _IRQL_requires_max_()
[all …]
/reactos/sdk/lib/drivers/sound/uartmidi/
H A Dmidiuart.c22 IN ULONG Timeout) in WaitForMidiUartStatus() argument
24 ULONG RemainingTime = Timeout; in WaitForMidiUartStatus()
41 IN ULONG Timeout) in WriteMidiUartByte() argument
43 if ( ! WaitForMidiUartCTS(UartBasePort, Timeout) ) in WriteMidiUartByte()
58 IN ULONG Timeout) in WriteMidiUartMulti() argument
64 if ( ! WriteMidiUartByte(UartBasePort, Data[DataIndex], Timeout) ) in WriteMidiUartMulti()
78 IN ULONG Timeout) in ReadMidiUartByte() argument
85 if ( ! WaitForMidiUartDTR(UartBasePort, Timeout) ) in ReadMidiUartByte()
/reactos/sdk/include/reactos/libs/sound/
H A Dmidiuart.h50 IN ULONG Timeout);
53 #define WaitForMidiUartCTS(UartBasePort, Timeout) \ argument
54 WaitForMidiUartStatus(UartBasePort, MIDIUART_STATUS_CTS, Timeout)
57 #define WaitForMidiUartDTR(UartBasePort, Timeout) \ argument
58 WaitForMidiUartStatus(UartBasePort, MIDIUART_STATUS_DTR, Timeout)
72 IN ULONG Timeout);
91 IN ULONG Timeout);
109 IN ULONG Timeout);
H A Dsbdsp.h138 IN ULONG Timeout);
146 IN ULONG Timeout);
154 IN ULONG Timeout);
165 IN ULONG Timeout);
176 IN ULONG Timeout);
192 IN ULONG Timeout);
200 IN ULONG Timeout);
208 IN ULONG Timeout);
218 IN ULONG Timeout);
250 IN ULONG Timeout);
[all …]
/reactos/base/system/winlogon/
H A Dscreensaver.c46 OUT LPDWORD Timeout) in LoadScreenSaverParameters() argument
53 *Timeout = INFINITE; in LoadScreenSaverParameters()
58 *Timeout = INFINITE; in LoadScreenSaverParameters()
63 *Timeout = INFINITE; in LoadScreenSaverParameters()
68 *Timeout *= 1000; in LoadScreenSaverParameters()
114 LoadScreenSaverParameters(&Timeout); in ScreenSaverThreadMain()
137 if (TimeToWait > Timeout) in ScreenSaverThreadMain()
140 TimeToWait = Timeout; in ScreenSaverThreadMain()
148 LoadScreenSaverParameters(&Timeout); in ScreenSaverThreadMain()
153 if (LastActivity + Timeout > GetTickCount()) in ScreenSaverThreadMain()
[all …]
/reactos/dll/win32/kernel32/client/file/
H A Dmailslot.c125 LARGE_INTEGER Timeout; in GetMailslotInfo() local
151 Timeout.QuadPart = -Buffer.ReadTimeout.QuadPart; in GetMailslotInfo()
152 Timeout = RtlExtendedLargeIntegerDivide(Timeout, 10000, NULL); in GetMailslotInfo()
153 if (Timeout.HighPart == 0) in GetMailslotInfo()
155 *lpReadTimeout = Timeout.LowPart; in GetMailslotInfo()
176 LARGE_INTEGER Timeout; in SetMailslotInfo() local
183 Timeout.QuadPart = 0xFFFFFFFFFFFFFFFFLL; in SetMailslotInfo()
188 Timeout.QuadPart = lReadTimeout * -10000LL; in SetMailslotInfo()
191 Buffer.ReadTimeout = &Timeout; in SetMailslotInfo()
/reactos/dll/win32/kernel32/kernel32_vista/
H A Dsync.c50 GetNtTimeout(PLARGE_INTEGER Time, DWORD Timeout) in GetNtTimeout() argument
52 if (Timeout == INFINITE) return NULL; in GetNtTimeout()
53 Time->QuadPart = (ULONGLONG)Timeout * -10000; in GetNtTimeout()
59 …VariableCS(PCONDITION_VARIABLE ConditionVariable, PCRITICAL_SECTION CriticalSection, DWORD Timeout) in SleepConditionVariableCS() argument
64 …ariableCS(ConditionVariable, (PRTL_CRITICAL_SECTION)CriticalSection, GetNtTimeout(&Time, Timeout)); in SleepConditionVariableCS()
75 SleepConditionVariableSRW(PCONDITION_VARIABLE ConditionVariable, PSRWLOCK Lock, DWORD Timeout, ULON… in SleepConditionVariableSRW() argument
80 …Status = RtlSleepConditionVariableSRW(ConditionVariable, Lock, GetNtTimeout(&Time, Timeout), Flags… in SleepConditionVariableSRW()
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/um/
H A Dmxeventum.h145 __drv_when(Timeout != NULL, _Must_inspect_result_)
152 __in_opt PLARGE_INTEGER Timeout in WaitFor() argument
185 if (NULL != Timeout) in WaitFor()
190 if (Timeout->QuadPart > 0) in WaitFor()
203 if (Timeout->QuadPart < 0) in WaitFor()
205 relativeTimeOut = -1 * Timeout->QuadPart; in WaitFor()
227 (NULL == Timeout) ? INFINITE : dwTimeout, in WaitFor()
/reactos/drivers/network/ndis/ndis/
H A Dtime.c239 LARGE_INTEGER Timeout; in NdisMSetPeriodicTimer() local
246 Timeout.QuadPart = Int32x32To64(MillisecondsPeriod, -10000); in NdisMSetPeriodicTimer()
263 KeSetTimerEx(&Timer->Timer, Timeout, MillisecondsPeriod, &Timer->Dpc); in NdisMSetPeriodicTimer()
285 LARGE_INTEGER Timeout; in NdisMSetTimer() local
292 Timeout.QuadPart = Int32x32To64(MillisecondsToDelay, -10000); in NdisMSetTimer()
309 KeSetTimer(&Timer->Timer, Timeout, &Timer->Dpc); in NdisMSetTimer()
330 LARGE_INTEGER Timeout; in NdisSetTimer() local
338 Timeout.QuadPart = Int32x32To64(MillisecondsToDelay, -10000); in NdisSetTimer()
340 KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc); in NdisSetTimer()
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/km/
H A Dmxeventkm.h110 __drv_when(Timeout == NULL && Alertable == FALSE, __drv_valueIs(==0))
111 __drv_when(Timeout != NULL && Alertable == FALSE, __drv_valueIs(==0;==258))
112 __drv_when(Timeout != NULL || Alertable == TRUE, _Must_inspect_result_)
119 __in_opt PLARGE_INTEGER Timeout in WaitFor() argument
129 Timeout in WaitFor()
/reactos/ntoskrnl/ke/
H A Dwait.c420 IN PLARGE_INTEGER Timeout OPTIONAL) in KeWaitForSingleObject()
430 PLARGE_INTEGER OriginalDueTime = Timeout; in KeWaitForSingleObject()
438 Timeout && Timeout->QuadPart == 0)); in KeWaitForSingleObject()
501 if (Timeout) in KeWaitForSingleObject()
535 if (Timeout) in KeWaitForSingleObject()
553 if (Timeout) in KeWaitForSingleObject()
602 PLARGE_INTEGER OriginalDueTime = Timeout; in KeWaitForMultipleObjects()
608 else if (!Timeout || (Timeout->QuadPart != 0)) in KeWaitForMultipleObjects()
779 if (Timeout) in KeWaitForMultipleObjects()
827 if (Timeout) in KeWaitForMultipleObjects()
[all …]
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/common/
H A Dmxevent.h82 __drv_when(Timeout == NULL && Alertable == FALSE, __drv_valueIs(==0))
83 __drv_when(Timeout != NULL && Alertable == FALSE, __drv_valueIs(==0;==258))
84 __drv_when(Timeout != NULL || Alertable == TRUE, _Must_inspect_result_)
91 __in_opt PLARGE_INTEGER Timeout
/reactos/dll/win32/iphlpapi/
H A Dicmp.c89 _In_ DWORD Timeout) in Icmp6SendEcho2() argument
134 Request->Timeout = Timeout; in Icmp6SendEcho2()
296 _In_ DWORD Timeout) in IcmpSendEcho2() argument
331 Request->Timeout = Timeout; in IcmpSendEcho2()
431 _In_ DWORD Timeout) in IcmpSendEcho() argument
441 if (Timeout == 0 || Timeout == (DWORD)-1) in IcmpSendEcho()
475 Request->Timeout = Timeout; in IcmpSendEcho()
/reactos/sdk/lib/rtl/
H A Dworkitem.c130 LARGE_INTEGER Timeout; in RtlpInitializeThreadPool() local
136 Timeout.QuadPart = -10000000LL; /* Wait for a second */ in RtlpInitializeThreadPool()
138 &Timeout); in RtlpInitializeThreadPool()
168 LARGE_INTEGER Timeout; in RtlpStartWorkerThread() local
171 Timeout.QuadPart = -10000LL; /* Wait for 100ms */ in RtlpStartWorkerThread()
183 &Timeout); in RtlpStartWorkerThread()
564 LARGE_INTEGER Timeout; in RtlpIoWorkerThreadProc() local
616 &Timeout); in RtlpIoWorkerThreadProc()
632 Timeout.QuadPart = -0x7FFFFFFFFFFFFFFFLL; in RtlpIoWorkerThreadProc()
680 LARGE_INTEGER Timeout; in RtlpWorkerThreadProc() local
[all …]
/reactos/drivers/filesystems/msfs/
H A Drw.c32 LARGE_INTEGER Timeout; in MsfsRead() local
90 Timeout = Fcb->TimeOut; in MsfsRead()
91 if (Timeout.HighPart == 0 && Timeout.LowPart == 0) in MsfsRead()
118 if (Timeout.QuadPart != -1) in MsfsRead()
122 KeSetTimer(Timer, Timeout, Dpc); in MsfsRead()
/reactos/drivers/bus/acpi/acpica/executer/
H A Dexsystem.c70 UINT16 Timeout) in AcpiExSystemWaitSemaphore() argument
89 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout); in AcpiExSystemWaitSemaphore()
122 UINT16 Timeout) in AcpiExSystemWaitMutex() argument
141 Status = AcpiOsAcquireMutex (Mutex, Timeout); in AcpiExSystemWaitMutex()
/reactos/sdk/include/xdk/
H A Dkefuncs.h528 _When_((Timeout==NULL || Timeout->QuadPart!=0), _IRQL_requires_max_(APC_LEVEL))
529 _When_((Timeout!=NULL && Timeout->QuadPart==0), _IRQL_requires_max_(DISPATCH_LEVEL))
540 _In_opt_ PLARGE_INTEGER Timeout,
546 _When_((Timeout==NULL || Timeout->QuadPart!=0), _IRQL_requires_max_(APC_LEVEL))
547 _When_((Timeout!=NULL && Timeout->QuadPart==0), _IRQL_requires_max_(DISPATCH_LEVEL))
556 _In_opt_ PLARGE_INTEGER Timeout);
618 _When_((Timeout==NULL || Timeout->QuadPart!=0), _IRQL_requires_max_(APC_LEVEL))
619 _When_((Timeout!=NULL && Timeout->QuadPart==0), _IRQL_requires_max_(DISPATCH_LEVEL))
1154 _When_((Timeout==NULL || *Timeout!=0), _IRQL_requires_max_(APC_LEVEL))
1155 _When_((Timeout!=NULL && *Timeout==0), _IRQL_requires_max_(DISPATCH_LEVEL))
[all …]
/reactos/win32ss/user/winsrv/usersrv/
H A Dshutdown.c66 DWORD Timeout; member
243 SMTO_NORMAL, Context->Timeout, &Result)) in SendClientShutdown()
284 DWORD Timeout, WaitStatus; in NotifyTopLevelWindow() local
303 MessageContext.Timeout = NotifyContext->ShutdownSettings->HungAppTimeout; in NotifyTopLevelWindow()
306 MessageContext.Timeout += NotifyContext->ShutdownSettings->WaitToKillAppTimeout; in NotifyTopLevelWindow()
308 if (Passed < MessageContext.Timeout) in NotifyTopLevelWindow()
310 MessageContext.Timeout -= Passed; in NotifyTopLevelWindow()
318 Timeout = NotifyContext->ShutdownSettings->HungAppTimeout; in NotifyTopLevelWindow()
319 if (Passed < Timeout) in NotifyTopLevelWindow()
321 Timeout -= Passed; in NotifyTopLevelWindow()
[all …]

1234567891011