Lines Matching defs:pOnce
137 * @param pOnce Pointer to the execute once variable.
143 RTDECL(int) RTOnceSlow(PRTONCE pOnce, PFNRTONCE pfnOnce, FNRTONCECLEANUP pfnCleanUp, void *pvUser);
152 * @param pOnce Pointer to the execute once variable.
156 DECLINLINE(int) RTOnce(PRTONCE pOnce, PFNRTONCE pfnOnce, void *pvUser)
158 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState);
162 return ASMAtomicUoReadS32(&pOnce->rc);
163 return RTOnceSlow(pOnce, pfnOnce, NULL, pvUser);
175 * @param pOnce Pointer to the execute once variable.
180 DECLINLINE(int) RTOnceEx(PRTONCE pOnce, PFNRTONCE pfnOnce, PFNRTONCECLEANUP pfnCleanUp, void *pvUser)
182 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState);
186 return ASMAtomicUoReadS32(&pOnce->rc);
187 return RTOnceSlow(pOnce, pfnOnce, pfnCleanUp, pvUser);
197 * @param pOnce Pointer to the execute once variable.
199 RTDECL(void) RTOnceReset(PRTONCE pOnce);