Lines Matching defs:pstEventCB
839 PEVENT_CB_S pstEventCB;
848 pstEventCB = (PEVENT_CB_S)LOS_MemAlloc(m_aucSysMem0, sizeof(EVENT_CB_S));
849 if (pstEventCB == NULL) {
853 ret = LOS_EventInit(pstEventCB);
855 return (osEventFlagsId_t)pstEventCB;
857 if (LOS_MemFree(m_aucSysMem0, pstEventCB) != LOS_OK) {
875 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id;
879 if (pstEventCB == NULL) {
883 ret = LOS_EventWrite(pstEventCB, (UINT32)flags);
885 rflags = pstEventCB->uwEventID;
894 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id;
899 if (pstEventCB == NULL) {
904 rflags = pstEventCB->uwEventID;
906 ret = LOS_EventClear(pstEventCB, ~flags);
917 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id;
921 if (pstEventCB == NULL) {
926 rflags = pstEventCB->uwEventID;
934 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id;
959 ret = LOS_EventRead(pstEventCB, (UINT32)flags, mode, (UINT32)timeout);
982 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id;
989 if (LOS_EventDestroy(pstEventCB) != LOS_OK) {
994 if (LOS_MemFree(m_aucSysMem0, (void *)pstEventCB) != LOS_OK) {