Lines Matching refs:AVC_CACHE_SLOTS
36 #define AVC_CACHE_SLOTS 512
64 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */
65 spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */
96 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1);
175 for (i = 0; i < AVC_CACHE_SLOTS; i++) {
198 for (i = 0; i < AVC_CACHE_SLOTS; i++) {
217 slots_used, AVC_CACHE_SLOTS, max_chain_len);
257 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) {
258 hvalue = atomic_inc_return(&avc_cache.lru_hint) & (AVC_CACHE_SLOTS - 1);
678 for (i = 0; i < AVC_CACHE_SLOTS; i++) {