Searched refs:context_to_sid (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/security/selinux/ss/ |
H A D | sidtab.c | 46 hash_init(s->context_to_sid); in sidtab_init() 59 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid() function 65 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) { in context_to_sid() 105 if (!context_to_sid(s, context, hash)) { in sidtab_set_initial() 108 hash_add(s->context_to_sid, &isid->entry.list, hash); in sidtab_set_initial() 125 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats() 274 *sid = context_to_sid(s, context, hash); in sidtab_context_to_sid() 282 *sid = context_to_sid(s, context, hash); in sidtab_context_to_sid() 341 hash_add_rcu(target->context_to_sid, in sidtab_context_to_sid() 353 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash); in sidtab_context_to_sid() [all …]
|
H A D | sidtab.h | 102 DECLARE_HASHTABLE(context_to_sid, SIDTAB_HASH_BITS);
|