AVC_CACHE_SLOTS
for (i = 0; i < AVC_CACHE_SLOTS; i++) {
return av_hash(ssid, tsid, (u32)tclass, (u32)(AVC_CACHE_SLOTS - 1));
for (i = 0; i < AVC_CACHE_SLOTS; i++) {
slots_used, AVC_CACHE_SLOTS, max_chain_len);
#define AVC_DEF_CACHE_THRESHOLD AVC_CACHE_SLOTS
for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) {
(AVC_CACHE_SLOTS - 1);
struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */
spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */
for (i = 0; i < AVC_CACHE_SLOTS; i++) {