Home
last modified time | relevance | path

Searched refs:OsalAtomicRead (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/utils/src/
H A Dhdf_sref.c22 lockRef = OsalAtomicRead(&sref->refs); in HdfSRefAcquire()
38 return OsalAtomicRead(&sref->refs); in HdfSRefCount()
49 lockRef = OsalAtomicRead(&sref->refs); in HdfSRefRelease()
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/include/message/
H A Dshared_obj.h36 …if (obj->status <= ME_STATUS_RUNNING && OsalAtomicRead(&obj->refCount) < MAX_OBJ_REF_COUNT) { …
48 if (OsalAtomicRead(&obj->refCount) <= 0) { \
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/
H A Dbuffer_queue.c24 if (OsalAtomicRead(&queue->driverOwnCount) != 0) { in BufferQueueStop()
30 …HDF_LOGI("%s: Expect zero, driverOwnCount = %{public}d", __func__, OsalAtomicRead(&queue->driverOw… in BufferQueueStop()
258 if (OsalAtomicRead(&queue->driverOwnCount) != 0) { in BufferQueueStart()
265 …HDF_LOGW("%s: driver count must be zero: %{public}d", __func__, OsalAtomicRead(&queue->driverOwnCo… in BufferQueueStart()
/ohos5.0/drivers/hdf_core/framework/test/unittest/osal/
H A Dosal_work_test.c111 value = OsalAtomicRead(&atomic); in OsalTestAtomic()
117 value = OsalAtomicRead(&atomic); in OsalTestAtomic()
123 value = OsalAtomicRead(&atomic); in OsalTestAtomic()
/ohos5.0/drivers/hdf_core/interfaces/inner_api/osal/shared/
H A Dosal_atomic.h68 #define OsalAtomicRead(v) OsalAtomicReadWrapper(v) macro
/ohos5.0/drivers/hdf_core/framework/support/platform/src/can/
H A Dcan_msg.c39 if (OsalAtomicRead(&holder->available) < 1) { in CanMsgPoolAcquireHolder()
/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dusb_interface_pool.c233 if (OsalAtomicRead((OsalAtomic *)&interfaceObj->refCount) == 0) { in IfInterfaceRefCount()
765 if (OsalAtomicRead((OsalAtomic *)&interfacePool->refCount) > 0) { in IfDestoryDevice()
1135 if (OsalAtomicRead((OsalAtomic *)&interfaceSdk->refCount) > INTERFACE_REFCOUNT_UNFORCE) { in UsbClaimInterfaceUnforce()
1287 if (OsalAtomicRead(&interfacePool->ioRefCount) == 0) { in UsbOpenInterface()
1364 int32_t refCnt = OsalAtomicRead(&interfacePool->ioRefCount); in UsbCloseCtlProcess()