Searched refs:context_to_sid (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/security/selinux/ss/ |
| D | sidtab.c | 45 hash_init(s->context_to_sid); in sidtab_init() 58 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid() function 64 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) { in context_to_sid() 104 if (!context_to_sid(s, context, hash)) { in sidtab_set_initial() 107 hash_add(s->context_to_sid, &isid->entry.list, hash); in sidtab_set_initial() 124 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats() 273 *sid = context_to_sid(s, context, hash); in sidtab_context_to_sid() 281 *sid = context_to_sid(s, context, hash); in sidtab_context_to_sid() 337 hash_add_rcu(convert->target->context_to_sid, in sidtab_context_to_sid() 349 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash); in sidtab_context_to_sid() [all …]
|
| D | sidtab.h | 103 DECLARE_HASHTABLE(context_to_sid, SIDTAB_HASH_BITS);
|