Home
last modified time | relevance | path

Searched refs:AVC_CACHE_SLOTS (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/selinux/
H A Davc.c37 #define AVC_CACHE_SLOTS 512 macro
72 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */
73 spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */
101 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in selinux_avc_init()
127 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); in avc_hash()
161 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in avc_get_hash_stats()
178 slots_used, AVC_CACHE_SLOTS, max_chain_len); in avc_get_hash_stats()
469 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) { in avc_reclaim_node()
471 (AVC_CACHE_SLOTS - 1); in avc_reclaim_node()
935 for (i = 0; i < AVC_CACHE_SLOTS; i++) { in avc_flush()