Searched refs:rwSpaceLock (Results 1 – 3 of 3) sorted by relevance
57 uint32_t rwSpaceLock = ATOMIC_LOAD_EXPLICIT(&workSpace->rwSpaceLock, MEMORY_ORDER_ACQUIRE); in GetWorkSpace() local58 if (rwSpaceLock & WORKSPACE_STATUS_IN_PROCESS) { in GetWorkSpace()
250 ATOMIC_INIT(&workSpace->rwSpaceLock, 0); in AddWorkSpace()303 uint32_t rwSpaceLock = 0; in OpenWorkSpace() local307 rwSpaceLock = ATOMIC_LOAD_EXPLICIT(&workSpace->rwSpaceLock, MEMORY_ORDER_ACQUIRE); in OpenWorkSpace()308 if (!(rwSpaceLock & WORKSPACE_STATUS_IN_PROCESS)) { in OpenWorkSpace()315 …ATOMIC_STORE_EXPLICIT(&workSpace->rwSpaceLock, rwSpaceLock | WORKSPACE_STATUS_IN_PROCESS, MEMORY_O… in OpenWorkSpace()323 …ATOMIC_STORE_EXPLICIT(&workSpace->rwSpaceLock, rwSpaceLock & ~WORKSPACE_STATUS_IN_PROCESS, MEMORY_… in OpenWorkSpace()326 if ((rwSpaceLock & WORKSPACE_STATUS_VALID) == WORKSPACE_STATUS_VALID) {333 rwSpaceLock |= WORKSPACE_STATUS_VALID;338 rwSpaceLock &= ~WORKSPACE_STATUS_VALID;342 …ATOMIC_STORE_EXPLICIT(&workSpace->rwSpaceLock, rwSpaceLock & ~WORKSPACE_STATUS_IN_PROCESS, MEMORY_…
108 ATOMIC_UINT32 rwSpaceLock; member