Searched refs:selinux_avc (Results 1 – 4 of 4) sorted by relevance
86 struct selinux_avc { struct91 static struct selinux_avc selinux_avc; variable93 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 …]
177 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,
12 struct selinux_avc;13 int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
97 struct selinux_avc;108 struct selinux_avc *avc;113 void selinux_avc_init(struct selinux_avc **avc);