Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/
Davc.c89 struct selinux_avc { struct
94 static struct selinux_avc selinux_avc; argument
96 void selinux_avc_init(struct selinux_avc **avc) in selinux_avc_init()
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()
107 *avc = &selinux_avc; in selinux_avc_init()
110 unsigned int avc_get_cache_threshold(struct selinux_avc *avc) in avc_get_cache_threshold()
[all …]
/linux-6.1.9/security/selinux/include/
Davc.h174 struct selinux_avc;
175 int avc_get_hash_stats(struct selinux_avc *avc, char *page);
176 unsigned int avc_get_cache_threshold(struct selinux_avc *avc);
177 void avc_set_cache_threshold(struct selinux_avc *avc,
Davc_ss.h12 struct selinux_avc;
13 int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
Dsecurity.h89 struct selinux_avc;
106 struct selinux_avc *avc;
111 void selinux_avc_init(struct selinux_avc **avc);