Lines Matching refs:avc_cache
33 struct avc_cache { struct
57 static struct avc_cache avc_cache; variable
186 avc_cache.slots[i] = 0; in avc_init()
187 avc_cache.lru_hint = 0; in avc_init()
188 avc_cache.active_nodes = 0; in avc_init()
189 avc_cache.latest_notif = 0; in avc_init()
276 node = avc_cache.slots[i]; in avc_av_stats()
293 avc_cache.active_nodes, in avc_av_stats()
305 hvalue = avc_cache.lru_hint; in hidden_def()
309 cur = avc_cache.slots[hvalue]; in hidden_def()
320 } while (hvalue != avc_cache.lru_hint); in hidden_def()
327 avc_cache.lru_hint = hvalue; in hidden_def()
330 avc_cache.slots[hvalue] = cur->next; in hidden_def()
355 avc_cache.active_nodes++; in avc_claim_node()
368 new->next = avc_cache.slots[hvalue]; in avc_claim_node()
369 avc_cache.slots[hvalue] = new; in avc_claim_node()
385 cur = avc_cache.slots[hvalue]; in avc_search_node()
472 if (ae->avd.seqno < avc_cache.latest_notif) { in avc_insert()
475 ae->avd.seqno, avc_cache.latest_notif); in avc_insert()
512 node = avc_cache.slots[i]; in hidden_def()
519 avc_cache.active_nodes--; in hidden_def()
521 avc_cache.slots[i] = 0; in hidden_def()
523 avc_cache.lru_hint = 0; in hidden_def()
559 node = avc_cache.slots[i]; in hidden_def()
744 avd->seqno = avc_cache.latest_notif; in hidden_def()
987 for (node = avc_cache.slots[i]; node; node = node->next) { in avc_update_cache()
1057 if (seqno > avc_cache.latest_notif) in avc_control()
1058 avc_cache.latest_notif = seqno; in avc_control()
1133 if (seqno > avc_cache.latest_notif) in avc_ss_reset()
1134 avc_cache.latest_notif = seqno; in avc_ss_reset()