Home
last modified time | relevance | path

Searched refs:Addend (Results 1 – 16 of 16) sorted by relevance

/reactos/ntoskrnl/ex/
H A Dinterlocked.c89 IN OUT PULONG Addend, in ExInterlockedAddUlong() argument
100 OldValue = *Addend; in ExInterlockedAddUlong()
103 *Addend += Increment; in ExInterlockedAddUlong()
254 IN PLONG Addend, in ExInterlockedIncrementLong() argument
268 IN PLONG Addend, in ExInterlockedDecrementLong() argument
294 IN OUT PULONG Addend, in ExfInterlockedAddUlong() argument
305 OldValue = *Addend; in ExfInterlockedAddUlong()
308 *Addend += Increment; in ExfInterlockedAddUlong()
460 IN PLONG Addend) in Exi386InterlockedIncrementLong() argument
486 IN PLONG Addend) in Exi386InterlockedDecrementLong() argument
[all …]
H A Dexintrin.c33 InterlockedIncrement(IN LONG volatile *Addend) in InterlockedIncrement() argument
38 return _InterlockedIncrement(Addend); in InterlockedIncrement()
46 InterlockedDecrement(IN LONG volatile *Addend) in InterlockedDecrement() argument
51 return _InterlockedDecrement(Addend); in InterlockedDecrement()
88 InterlockedExchangeAdd(IN OUT LONG volatile *Addend, in InterlockedExchangeAdd() argument
94 return _InterlockedExchangeAdd(Addend, Increment); in InterlockedExchangeAdd()
/reactos/drivers/filesystems/udfs/Include/CrossNt/
H A Dilock.h7 IN OUT PLONG Addend
13 IN OUT PLONG Addend
21 IN OUT PLONG Addend
27 IN OUT PLONG Addend
35 IN OUT PLONG Addend,
42 IN OUT PLONG Addend,
H A DCrNtStubs.h24 IN OUT PLONG Addend
27 IN OUT PLONG Addend
34 IN OUT PLONG Addend
37 IN OUT PLONG Addend
44 IN OUT PLONG Addend,
48 IN OUT PLONG Addend,
/reactos/drivers/storage/ide/uniata/inc/
H A DCrNtStubs.h26 IN OUT PLONG Addend
29 IN OUT PLONG Addend
36 IN OUT PLONG Addend
39 IN OUT PLONG Addend
46 IN OUT PLONG Addend,
50 IN OUT PLONG Addend,
/reactos/drivers/network/ndis/ndis/
H A Dmisc.c18 IN PULONG Addend, in NdisInterlockedAddUlong() argument
22 ExInterlockedAddUlong ( Addend, Increment, &SpinLock->SpinLock ); in NdisInterlockedAddUlong()
31 IN PLARGE_INTEGER Addend, in NdisInterlockedAddLargeInteger() argument
41 ExInterlockedAddLargeInteger(Addend, Increment, &SpinLock->SpinLock); in NdisInterlockedAddLargeInteger()
382 IN PLONG Addend) in NdisInterlockedDecrement() argument
390 return InterlockedDecrement ( Addend ); in NdisInterlockedDecrement()
401 IN PLONG Addend) in NdisInterlockedIncrement() argument
409 return InterlockedIncrement ( Addend ); in NdisInterlockedIncrement()
/reactos/sdk/include/vcruntime/mingw32/
H A Dintrin_x86.h201 __INTRIN_INLINE char _InterlockedExchangeAdd8(char volatile * Addend, char Value) in _InterlockedExchangeAdd8() argument
203 return __sync_fetch_and_add(Addend, Value); in _InterlockedExchangeAdd8()
210 return __sync_fetch_and_add(Addend, Value); in _InterlockedExchangeAdd16()
217 return __sync_fetch_and_add(Addend, Value); in _InterlockedExchangeAdd()
224 return __sync_fetch_and_add(Addend, Value); in _InterlockedExchangeAdd64()
431 __INTRIN_INLINE char _InterlockedExchangeAdd8(char volatile * Addend, char Value) in _InterlockedExchangeAdd8() argument
434 …__asm__("lock; xaddb %[retval], %[Addend]" : [retval] "+r" (retval) : [Addend] "m" (*Addend) : "me… in _InterlockedExchangeAdd8()
443 …__asm__("lock; xaddw %[retval], %[Addend]" : [retval] "+r" (retval) : [Addend] "m" (*Addend) : "me… in _InterlockedExchangeAdd16()
449 __INTRIN_INLINE long _InterlockedExchangeAdd(volatile long * Addend, long Value) in _InterlockedExchangeAdd() argument
452 …__asm__("lock; xaddl %[retval], %[Addend]" : [retval] "+r" (retval) : [Addend] "m" (*Addend) : "me… in _InterlockedExchangeAdd()
[all …]
H A Dintrin_arm.h88 __INTRIN_INLINE short _InterlockedExchangeAdd16(volatile short * const Addend, const short Value) in _InterlockedExchangeAdd16() argument
100 : "r" (Value), "r" (Addend) in _InterlockedExchangeAdd16()
359 __INTRIN_INLINE long _InterlockedAddLargeStatistic(volatile long long * const Addend, const long Va… in _InterlockedAddLargeStatistic() argument
361 *Addend += Value; in _InterlockedAddLargeStatistic()
H A Dintrin_ppc.h95 PPC_QUAL long _InterlockedExchangeAdd(volatile long * const Addend, const long Value) in _InterlockedExchangeAdd() argument
97 return __sync_fetch_and_add(Addend, Value); in _InterlockedExchangeAdd()
768 PPC_QUAL long _InterlockedAddLargeStatistic(volatile long long * const Addend, const long Value) in _InterlockedAddLargeStatistic() argument
777 [Lo32] "=m" (*((volatile long *)(Addend) + 0)), [Hi32] "=m" (*((volatile long *)(Addend) + 1)) : in _InterlockedAddLargeStatistic()
/reactos/win32ss/drivers/videoprt/
H A Dstubs.c101 IN PLONG Addend) in VideoPortInterlockedDecrement() argument
103 return _InterlockedDecrement(Addend); in VideoPortInterlockedDecrement()
109 IN PLONG Addend) in VideoPortInterlockedIncrement() argument
111 return _InterlockedIncrement(Addend); in VideoPortInterlockedIncrement()
/reactos/sdk/include/psdk/
H A Dintsafe.h529 _In_ _Type Addend, \
530 _Out_ _Deref_out_range_(==, Augend + Addend) _Type *pOutput) \
532 if ((_Type)(Augend + Addend) >= Augend) \
534 *pOutput = Augend + Addend; \
594 _In_ LONGLONG Addend,
595 _Out_ _Deref_out_range_(==, Augend + Addend) LONGLONG* pResult)
597 LONGLONG Result = Augend + Addend;
603 if ( ((Augend ^ Addend) >= 0) && ((Augend ^ Result) < 0) )
623 _In_ _Type1 Addend, \
624 _Out_ _Deref_out_range_(==, Augend + Addend) _Type1* pOutput) \
[all …]
/reactos/sdk/include/xdk/
H A Dexfuncs.h6 #define ExInterlockedIncrementLong(Addend,Lock) Exfi386InterlockedIncrementLong(Addend) argument
7 #define ExInterlockedDecrementLong(Addend,Lock) Exfi386InterlockedDecrementLong(Addend) argument
370 _Inout_ _Interlocked_operand_ LONG volatile *Addend);
376 _Inout_ _Interlocked_operand_ PLONG Addend);
845 _Inout_ PLARGE_INTEGER Addend,
850 #define ExInterlockedAddLargeStatistic(Addend, Increment) \ argument
851 (VOID)InterlockedAdd64(&(Addend)->QuadPart, Increment)
853 #define ExInterlockedAddLargeStatistic(Addend, Increment) \ argument
854 (VOID)_InterlockedAddLargeStatistic((PLONGLONG)&(Addend)->QuadPart, Increment)
861 _Inout_ PULONG Addend,
/reactos/ntoskrnl/include/internal/
H A Dex.h1524 #define InterlockedDecrementUL(Addend) \ argument
1525 (ULONG)InterlockedDecrement((PLONG)(Addend))
1527 #define InterlockedIncrementUL(Addend) \ argument
1528 (ULONG)InterlockedIncrement((PLONG)(Addend))
1533 #define InterlockedExchangeAddUL(Addend, Value) \ argument
1534 (ULONG)InterlockedExchangeAdd((PLONG)(Addend), (LONG)(Value))
/reactos/dll/win32/kernel32/client/
H A Dsynch.c59 InterlockedExchangeAdd(IN OUT LONG volatile *Addend, in InterlockedExchangeAdd() argument
62 return _InterlockedExchangeAdd(Addend, Value); in InterlockedExchangeAdd()
/reactos/sdk/include/ddk/
H A Dvideo.h987 IN PLONG Addend);
1000 IN PLONG Addend);
H A Dndis.h4379 #define NdisInterlockedDecrement(Addend) InterlockedDecrement(Addend) argument
4386 #define NdisInterlockedIncrement(Addend) InterlockedIncrement(Addend) argument