Searched refs:CAS (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | lf_ring.c | 126 } while (unlikely(!CAS(&ring->prod.head, *prodHead, *prodNext))); in FillpLfRingMpEnqueueWait() 209 } while (unlikely(!CAS(&ring->cons.head, *consHead, *consNext))); in FillpLfRingMcDequeueWait()
|
H A D | callbacks.c | 810 #define CAS(sem, oldValue, newValue) FillpSysArchCompAndWwap((sem), (oldValue), (newValue)) macro 829 } while (!CAS(&sem->sem, oldValue, nextValue)); in FillpAdaptSysArchRwsemTryrdwait() 845 } while (!CAS(&sem->sem, oldValue, nextValue)); in FillpAdaptSysArchRwsemTrywrwait() 858 } while (!CAS(&sem->sem, oldValue, nextValue)); in FillpAdaptSysArchRwsemRdPost() 871 } while (!CAS(&sem->sem, oldValue, nextValue)); in FillpAdaptSysArchRwsemWrPost()
|
H A D | socket_common.c | 240 if (CAS((volatile FILLP_ULONG *)&table->sockPool[tableIndex], (volatile FILLP_ULONG)FILLP_NULL_PTR, in SpungeAllocFtSock()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | fillp_function.h | 58 #define CAS (g_fillpOsBasicLibFun.sysArchCompAndSwap) macro
|
Completed in 4 milliseconds