Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/
Davc.c89 struct selinux_avc { struct
94 static struct selinux_avc selinux_avc; variable
100 selinux_avc.avc_cache_threshold = AVC_DEF_CACHE_THRESHOLD; in selinux_avc_init()
102 INIT_HLIST_HEAD(&selinux_avc.avc_cache.slots[i]); in selinux_avc_init()
103 spin_lock_init(&selinux_avc.avc_cache.slots_lock[i]); in selinux_avc_init()
105 atomic_set(&selinux_avc.avc_cache.active_nodes, 0); in selinux_avc_init()
106 atomic_set(&selinux_avc.avc_cache.lru_hint, 0); in selinux_avc_init()
111 return selinux_avc.avc_cache_threshold; in avc_get_cache_threshold()
116 selinux_avc.avc_cache_threshold = cache_threshold; in avc_set_cache_threshold()
154 head = &selinux_avc.avc_cache.slots[i]; in avc_get_hash_stats()
[all …]