Home
last modified time | relevance | path

Searched refs:rwSpaceLock (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/services/param/base/
Dparam_comm.c57 uint32_t rwSpaceLock = ATOMIC_LOAD_EXPLICIT(&workSpace->rwSpaceLock, MEMORY_ORDER_ACQUIRE); in GetWorkSpace() local
58 if (rwSpaceLock & WORKSPACE_STATUS_IN_PROCESS) { in GetWorkSpace()
Dparam_base.c250 ATOMIC_INIT(&workSpace->rwSpaceLock, 0); in AddWorkSpace()
303 uint32_t rwSpaceLock = 0; in OpenWorkSpace() local
307 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_…
/base/startup/init/services/param/include/
Dparam_common.h108 ATOMIC_UINT32 rwSpaceLock; member