Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Davc.c86 struct selinux_avc { struct
91 static struct selinux_avc selinux_avc; variable
93 void selinux_avc_init(struct selinux_avc **avc) in selinux_avc_init()
97 selinux_avc.avc_cache_threshold = AVC_DEF_CACHE_THRESHOLD; in selinux_avc_init()
99 INIT_HLIST_HEAD(&selinux_avc.avc_cache.slots[i]); in selinux_avc_init()
100 spin_lock_init(&selinux_avc.avc_cache.slots_lock[i]); in selinux_avc_init()
102 atomic_set(&selinux_avc.avc_cache.active_nodes, 0); in selinux_avc_init()
103 atomic_set(&selinux_avc.avc_cache.lru_hint, 0); in selinux_avc_init()
104 *avc = &selinux_avc; in selinux_avc_init()
107 unsigned int avc_get_cache_threshold(struct selinux_avc *avc) in avc_get_cache_threshold()
[all …]
/Linux-v5.4/security/selinux/include/
Davc.h177 struct selinux_avc;
178 int avc_get_hash_stats(struct selinux_avc *avc, char *page);
179 unsigned int avc_get_cache_threshold(struct selinux_avc *avc);
180 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.h97 struct selinux_avc;
108 struct selinux_avc *avc;
113 void selinux_avc_init(struct selinux_avc **avc);