Searched defs:AVC_CACHE_SLOTS (Results 1 - 1 of 1) sorted by last modified time

/security/selinux/
H A Davc.c37 #define AVC_CACHE_SLOTS 512 macro
62 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */
63 spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */
101 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1);
180 for (i = 0; i < AVC_CACHE_SLOTS; i++) {
213 for (i = 0; i < AVC_CACHE_SLOTS; i++) {
230 slots_used, AVC_CACHE_SLOTS, max_chain_len);
532 for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) {
533 hvalue = atomic_inc_return(&avc_cache.lru_hint) & (AVC_CACHE_SLOTS - 1);
933 for (i = 0; i < AVC_CACHE_SLOTS;
[all...]

Completed in 4 milliseconds