Home
last modified time | relevance | path

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

/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp905 int eventsInCache = 0; variable
911 if (eventsInCache + 1 < MAX_EVENTS_IN_CACHE) { in putEventInCache()
912 eventCache[eventsInCache].type = type; in putEventInCache()
913 strncpy(eventCache[eventsInCache].buf, msg, (MAX_EVENT_MSG_LEN - 1)); in putEventInCache()
914 eventCache[eventsInCache].buf[MAX_EVENT_MSG_LEN - 1] = '\0'; in putEventInCache()
915 eventsInCache++; in putEventInCache()
926 if (eventsInCache > 0) { in getEventFromCache()
930 eventsInCache--; in getEventFromCache()
931 memmove(&eventCache[0], &eventCache[1], sizeof(EventInfo) * eventsInCache); in getEventFromCache()