Home
last modified time | relevance | path

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

/security/selinux/
Davc.c100 struct avc_cache { struct
127 static struct avc_cache avc_cache; variable
237 INIT_LIST_HEAD(&avc_cache.slots[i]); in avc_init()
238 spin_lock_init(&avc_cache.slots_lock[i]); in avc_init()
240 atomic_set(&avc_cache.active_nodes, 0); in avc_init()
241 atomic_set(&avc_cache.lru_hint, 0); in avc_init()
259 if (!list_empty(&avc_cache.slots[i])) { in avc_get_hash_stats()
262 list_for_each_entry_rcu(node, &avc_cache.slots[i], list) in avc_get_hash_stats()
273 atomic_read(&avc_cache.active_nodes), in avc_get_hash_stats()
288 atomic_dec(&avc_cache.active_nodes); in avc_node_delete()
[all …]