Home
last modified time | relevance | path

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

/security/selinux/ss/
Dsidtab.c34 hash_init(s->context_to_sid); in sidtab_init()
40 static u32 context_to_sid(struct sidtab *s, struct context *context) in context_to_sid() function
46 hash_for_each_possible_rcu(s->context_to_sid, entry, list, in context_to_sid()
79 if (!context_to_sid(s, context)) { in sidtab_set_initial()
81 hash_add(s->context_to_sid, &entry->leaf.list, context->hash); in sidtab_set_initial()
98 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats()
246 *sid = context_to_sid(s, context); in sidtab_context_to_sid()
254 *sid = context_to_sid(s, context); in sidtab_context_to_sid()
300 hash_add_rcu(convert->target->context_to_sid, in sidtab_context_to_sid()
312 hash_add_rcu(s->context_to_sid, &dst->list, dst->context.hash); in sidtab_context_to_sid()
[all …]
Dsidtab.h94 DECLARE_HASHTABLE(context_to_sid, SIDTAB_HASH_BITS);