Lines Matching refs:context_to_sid
45 hash_init(s->context_to_sid);
58 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash)
64 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) {
100 * context is not already represented in the context_to_sid hashtable
104 if (!context_to_sid(s, context, hash)) {
107 hash_add(s->context_to_sid, &isid->entry.list, hash);
124 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) {
273 *sid = context_to_sid(s, context, hash);
281 *sid = context_to_sid(s, context, hash);
337 hash_add_rcu(convert->target->context_to_sid,
349 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash);
367 hash_add_rcu(s->context_to_sid, &entry->list, entry->hash);
545 * The context_to_sid hashtable's objects are all shared