Searched refs:MAX_EVENT_CACHE (Results 1 – 2 of 2) sorted by relevance
60 memset(event_cache, 0, MAX_EVENT_CACHE*sizeof(framework_event_cache)); in IPACM_OffloadManager()230 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in addDownstream()261 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()264 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()265 if(i == MAX_EVENT_CACHE - 1) in addDownstream()352 for (index = 0; index < MAX_EVENT_CACHE; index++) { in setUpstream()356 memset(event_cache, 0, MAX_EVENT_CACHE*sizeof(framework_event_cache)); in setUpstream()389 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in setUpstream()418 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()421 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()[all …]
46 #define MAX_EVENT_CACHE 10 macro116 framework_event_cache event_cache[MAX_EVENT_CACHE];