Searched refs:pstEventCB (Results 1 – 1 of 1) sorted by relevance
839 PEVENT_CB_S pstEventCB; in osEventFlagsNew() local848 pstEventCB = (PEVENT_CB_S)LOS_MemAlloc(m_aucSysMem0, sizeof(EVENT_CB_S)); in osEventFlagsNew()849 if (pstEventCB == NULL) { in osEventFlagsNew()853 ret = LOS_EventInit(pstEventCB); in osEventFlagsNew()855 return (osEventFlagsId_t)pstEventCB; in osEventFlagsNew()857 if (LOS_MemFree(m_aucSysMem0, pstEventCB) != LOS_OK) { in osEventFlagsNew()875 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id; in osEventFlagsSet() local879 if (pstEventCB == NULL) { in osEventFlagsSet()883 ret = LOS_EventWrite(pstEventCB, (UINT32)flags); in osEventFlagsSet()885 rflags = pstEventCB->uwEventID; in osEventFlagsSet()[all …]