Lines Matching refs:selinux_avc

86 struct selinux_avc {  struct
91 static struct selinux_avc selinux_avc; argument
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()
112 void avc_set_cache_threshold(struct selinux_avc *avc, in avc_set_cache_threshold()
150 int avc_get_hash_stats(struct selinux_avc *avc, char *page) in avc_get_hash_stats()
438 static void avc_node_delete(struct selinux_avc *avc, struct avc_node *node) in avc_node_delete()
445 static void avc_node_kill(struct selinux_avc *avc, struct avc_node *node) in avc_node_kill()
453 static void avc_node_replace(struct selinux_avc *avc, in avc_node_replace()
461 static inline int avc_reclaim_node(struct selinux_avc *avc) in avc_reclaim_node()
496 static struct avc_node *avc_alloc_node(struct selinux_avc *avc) in avc_alloc_node()
523 static inline struct avc_node *avc_search_node(struct selinux_avc *avc, in avc_search_node()
556 static struct avc_node *avc_lookup(struct selinux_avc *avc, in avc_lookup()
571 static int avc_latest_notif_update(struct selinux_avc *avc, in avc_latest_notif_update()
612 static struct avc_node *avc_insert(struct selinux_avc *avc, in avc_insert()
843 static int avc_update_node(struct selinux_avc *avc, in avc_update_node()
951 static void avc_flush(struct selinux_avc *avc) in avc_flush()
980 int avc_ss_reset(struct selinux_avc *avc, u32 seqno) in avc_ss_reset()