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

/linux-master/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++) {
127 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1);
161 for (i = 0; i < AVC_CACHE_SLOTS; i++) {
178 slots_used, AVC_CACHE_SLOTS, max_chain_len);
469 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) {
471 (AVC_CACHE_SLOTS - 1);
931 for (i = 0; i < AVC_CACHE_SLOTS;
[all...]

Completed in 121 milliseconds