Searched refs:AVC_CACHE_SLOTS (Results 1 – 1 of 1) sorted by relevance
37 #define AVC_CACHE_SLOTS 512 macro75 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */76 spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */104 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in selinux_avc_init()132 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); in avc_hash()166 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in avc_get_hash_stats()183 slots_used, AVC_CACHE_SLOTS, max_chain_len); in avc_get_hash_stats()478 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) { in avc_reclaim_node()480 (AVC_CACHE_SLOTS - 1); in avc_reclaim_node()956 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in avc_flush()